@arcgis/map-components 4.30.2 → 4.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/index.esm.js +1 -1
- package/dist/arcgis-map-components/{p-4dc87e34.entry.js → p-0439cb3c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ccc393f3.entry.js → p-05ec2ecf.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2aab6c35.entry.js → p-0b6d4fa3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0aad3529.entry.js → p-0d68f09e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b5ea8cc7.entry.js → p-12238d93.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0cb4c42c.entry.js → p-2022a70a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cafea141.entry.js → p-206f4bd8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1585b80a.entry.js → p-2182e611.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4894efb4.entry.js → p-25580af3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ba3c5aac.entry.js → p-316e6597.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cb33148f.entry.js → p-3588e28e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c7c1f396.entry.js → p-38151a25.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0236ca49.entry.js → p-393ad149.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a75102e5.entry.js → p-3f8efe36.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e02f14b1.entry.js → p-43491d6c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-25bba1db.entry.js → p-46941de2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-743d2394.entry.js → p-474e6fae.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-62c38995.entry.js → p-4b9ce77b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-54cd94fe.js → p-4cf9fbbd.js} +1 -1
- package/dist/arcgis-map-components/{p-772b1409.entry.js → p-54a84346.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bdf640a5.entry.js → p-55eaeeed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e8d4a000.js → p-5e462466.js} +2 -2
- package/dist/arcgis-map-components/{p-69dbb57a.entry.js → p-63b71d36.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dc64500a.entry.js → p-6ba677f9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6488c5fd.entry.js → p-6d690254.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-eb9497c2.js → p-6ebe96fc.js} +2 -2
- package/dist/arcgis-map-components/{p-29623d58.entry.js → p-70a64381.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b3f0b707.js → p-741b6ceb.js} +1 -1
- package/dist/arcgis-map-components/{p-911b437f.entry.js → p-764105d4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-192a9b35.entry.js → p-766358e2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-abcb06c7.entry.js → p-79299df5.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2e001e8e.entry.js → p-8a819136.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b4bbd1d0.entry.js → p-8c2c3eb8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-42b150a9.js → p-9099dcfa.js} +2 -2
- package/dist/arcgis-map-components/{p-449440dc.entry.js → p-91352558.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5b4fa6d6.entry.js → p-937d8570.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a9d89378.entry.js → p-93b6150a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2b2b406a.entry.js → p-992a0fbf.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b1b2e47b.entry.js → p-9a63c10d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b9c9510a.entry.js → p-9c092899.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1e0b5cbf.entry.js → p-9ecf6ff3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-635b934b.entry.js → p-a56c7ed6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0f7e4b54.entry.js → p-aa2f7ae0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bb61d30e.entry.js → p-aa93b9ad.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4cc28e91.entry.js → p-ab64d00f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8590bc1d.entry.js → p-ac191c82.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-15a5e108.entry.js → p-ae024b4e.entry.js} +2 -2
- package/dist/arcgis-map-components/p-ae113369.js +6 -0
- package/dist/arcgis-map-components/{p-ad765557.js → p-bb3f85d0.js} +1 -1
- package/dist/arcgis-map-components/{p-c7fa65c3.js → p-bd26f15f.js} +2 -2
- package/dist/arcgis-map-components/{p-f894d539.entry.js → p-c553491b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-37586b4e.entry.js → p-c7b1af12.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9aab1eae.entry.js → p-c94fcd0d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2b633f5e.entry.js → p-c9e441ab.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-06d803ff.js → p-ca53440b.js} +1 -1
- package/dist/arcgis-map-components/{p-d08168af.entry.js → p-cb081496.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-96dca2eb.entry.js → p-ccce3ec6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d923f91a.entry.js → p-ceeadbba.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b3b80e93.entry.js → p-d10657c6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-90a3e693.entry.js → p-d18cff2c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-eb9a8fed.entry.js → p-d62a22fc.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-99a30bb0.entry.js → p-d972b8c8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b218ecbc.entry.js → p-dad55fec.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1fd3b12e.entry.js → p-def48ddd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-90063d81.entry.js → p-e8d39512.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1ed86f6c.entry.js → p-f0524e69.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-492a6984.entry.js → p-fe47e5ed.entry.js} +2 -2
- package/dist/cjs/{app-globals-3477226a.js → app-globals-7daaa459.js} +1 -1
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-attachments.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-compass.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-daylight.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directions.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-expand.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-features_2.cjs.entry.js +9 -15
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-histogram.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-home.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-legend.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-locate.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-map-components.cjs.js +3 -3
- package/dist/cjs/arcgis-measurement.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-oriented-imagery-viewer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-placement.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-print.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-scene.cjs.entry.js +8 -14
- package/dist/cjs/arcgis-search.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-sketch.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slice.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-swipe.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-table-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-track.cjs.entry.js +7 -7
- 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 +7 -7
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-version-management.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-weather.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-zoom.cjs.entry.js +7 -7
- package/dist/cjs/{chunk-PVEVZB4O-c6c48029.js → chunk-PVEVZB4O-585e87e7.js} +3 -3
- package/dist/cjs/{component-utils-382c4098.js → component-utils-47018039.js} +1 -1
- package/dist/cjs/{disconnected-b85aa901.js → disconnected-bdc2d336.js} +2 -2
- package/dist/cjs/{index-294132c9.js → index-3d1f3970.js} +2 -2
- package/dist/cjs/{index-853cadb7.js → index-700c993e.js} +1 -1
- package/dist/cjs/{index-a6dece34.js → index-82f3b89f.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{useT9n-968089b8.js → useT9n-05993af8.js} +6 -6
- package/dist/cjs/{useWidget-68628b21.js → useWidget-0300c9d1.js} +4 -4
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.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 +3 -9
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer.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 +3 -9
- 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/chunk-PVEVZB4O.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/useWidget.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/{app-globals-f2293f0e.js → app-globals-82972a13.js} +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-area-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-attachments.entry.js +7 -7
- package/dist/esm/arcgis-basemap-gallery.entry.js +7 -7
- package/dist/esm/arcgis-basemap-layer-list.entry.js +7 -7
- package/dist/esm/arcgis-basemap-toggle.entry.js +7 -7
- package/dist/esm/arcgis-bookmarks.entry.js +7 -7
- package/dist/esm/arcgis-building-explorer.entry.js +7 -7
- package/dist/esm/arcgis-compass.entry.js +7 -7
- package/dist/esm/arcgis-coordinate-conversion.entry.js +7 -7
- package/dist/esm/arcgis-daylight.entry.js +6 -6
- package/dist/esm/arcgis-directional-pad.entry.js +7 -7
- package/dist/esm/arcgis-directions.entry.js +7 -7
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-editor.entry.js +7 -7
- package/dist/esm/arcgis-elevation-profile.entry.js +7 -7
- package/dist/esm/arcgis-expand.entry.js +6 -6
- package/dist/esm/arcgis-feature-form.entry.js +7 -7
- package/dist/esm/arcgis-feature-table.entry.js +7 -7
- package/dist/esm/arcgis-feature-templates.entry.js +7 -7
- package/dist/esm/arcgis-feature.entry.js +7 -7
- package/dist/esm/arcgis-features_2.entry.js +9 -15
- package/dist/esm/arcgis-floor-filter.entry.js +6 -6
- package/dist/esm/arcgis-fullscreen.entry.js +7 -7
- package/dist/esm/arcgis-histogram-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-histogram.entry.js +7 -7
- package/dist/esm/arcgis-home.entry.js +7 -7
- package/dist/esm/arcgis-layer-list.entry.js +7 -7
- package/dist/esm/arcgis-legend.entry.js +7 -7
- package/dist/esm/arcgis-line-of-sight.entry.js +7 -7
- package/dist/esm/arcgis-locate.entry.js +7 -7
- package/dist/esm/arcgis-map-components.js +4 -4
- package/dist/esm/arcgis-measurement.entry.js +7 -7
- package/dist/esm/arcgis-navigation-toggle.entry.js +7 -7
- package/dist/esm/arcgis-oriented-imagery-viewer.entry.js +7 -7
- package/dist/esm/arcgis-placement.entry.js +3 -3
- package/dist/esm/arcgis-print.entry.js +7 -7
- package/dist/esm/arcgis-scale-bar.entry.js +6 -6
- package/dist/esm/arcgis-scale-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-scene.entry.js +8 -14
- package/dist/esm/arcgis-search.entry.js +7 -7
- package/dist/esm/arcgis-shadow-cast.entry.js +7 -7
- package/dist/esm/arcgis-sketch.entry.js +7 -7
- package/dist/esm/arcgis-slice.entry.js +7 -7
- package/dist/esm/arcgis-slider.entry.js +7 -7
- package/dist/esm/arcgis-swipe.entry.js +7 -7
- package/dist/esm/arcgis-table-list.entry.js +7 -7
- package/dist/esm/arcgis-time-slider.entry.js +7 -7
- package/dist/esm/arcgis-track.entry.js +7 -7
- 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 +7 -7
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +2 -2
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +2 -2
- package/dist/esm/arcgis-version-management.entry.js +7 -7
- package/dist/esm/arcgis-weather.entry.js +7 -7
- package/dist/esm/arcgis-zoom.entry.js +7 -7
- package/dist/esm/{chunk-PVEVZB4O-e7e2fc72.js → chunk-PVEVZB4O-9d4e86dd.js} +3 -3
- package/dist/esm/{component-utils-8b7725f2.js → component-utils-44598a65.js} +1 -1
- package/dist/esm/{disconnected-58bce964.js → disconnected-f5465945.js} +2 -2
- package/dist/esm/{index-d4f17726.js → index-49ad235f.js} +2 -2
- package/dist/esm/{index-4ba7d469.js → index-7403ecd0.js} +1 -1
- package/dist/esm/{index-16bdf394.js → index-93834b37.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{useT9n-75f19c2a.js → useT9n-1e6656ce.js} +6 -6
- package/dist/esm/{useWidget-0be78ac3.js → useWidget-a0823635.js} +4 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +10 -10
- package/dist/arcgis-map-components/p-ba84becb.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{a8 as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import{m as o}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const p=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.leadingLayers=this.widget.leadingLayers,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.position="manual",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};e.style="arcgis-swipe{}";export{e as arcgis_swipe}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,h as i,g as e}from"./p-
|
|
6
|
+
import{r as s,c as t,h as i,g as e}from"./p-bb3f85d0.js";import{Q as a,R as o}from"./p-4cf9fbbd.js";import{u as h}from"./p-bd26f15f.js";import{u as r}from"./p-5e462466.js";import{u as c,m as n}from"./p-9099dcfa.js";import"./p-741b6ceb.js";const d=n(o),l=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.viewModelGo=t(this,"arcgisGo",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.messages=c(),this.viewModel=d(this),this.arcgisPropertyChange=h()("state"),this._go=()=>{const{viewModel:s}=this;"going-home"===s.state?s.cancelGo():s.go()},this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.label=void 0,this.position="top-left",this.referenceElement=void 0,this.viewpoint=this.viewModel.viewpoint,this.state=this.viewModel.state,this.autoDestroyDisabled=!1}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}render(){const{messages:s,icon:t}=this,e=this.viewModel?.state,o="going-home"===e;return i("div",{key:"1cad33e6ced15f9d1983419cfea451283142b84e",class:a("esri-home","esri-widget")},i("calcite-button",{key:"8667cb2f7e0204af1c28f9f4fcbaab4607ad5acd",class:"esri-widget--button",disabled:"disabled"===e,"icon-start":o?void 0:t,kind:"neutral",label:s.componentLabel,onClick:this._go,scale:o?"s":"m",title:"going-home"===e?s.cancel:s.title},o?i("calcite-loader",{inline:!0,label:""}):null))}static get assetsDirs(){return["assets"]}get el(){return e(this)}};export{l as arcgis_home}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{u as h}from"./p-4cf9fbbd.js";import{m as r}from"./p-6ebe96fc.js";import{u as o}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import"./p-741b6ceb.js";const e=r(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=o()("level","phase","state"),this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.headingLevel=this.widget.headingLevel,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.state=this.viewModel.state,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.hideDisciplines=this.widget.visibleElements.disciplines,this.position="bottom-left",this.referenceElement=void 0}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_building_explorer}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
6
|
function t(...t){const n=[];for(let i=0;i<t.length;i++){const r=t[i];if("string"==typeof r)n.push(r);else if(Array.isArray(r))n.push.apply(n,r);else if("object"==typeof r)for(const t in r)r[t]&&n.push(t)}const i=n.join(" ");return n.length=0,i}var n=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};var i={};function r(t,n,...i){try{return t?.call(n,...i)}catch(n){console.error(n,t)}}async function a(t,n,...i){try{const r=t?.call(n,...i);return r instanceof Promise?await r:r}catch(n){console.error(n,t)}}var e=t=>t.replace(s,((t,n)=>`${0===n?"":"-"}${t.toLowerCase()}`)),s=/[A-Z]+(?![a-z])|[A-Z]/gu,c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),o="en";async function w(t,n,i=""){const r=`${n}/${i}`,a=`${r}${t}.json`;return u[a]??(u[a]=f(t,r)),await u[a]}var u={};async function f(t,n){const i=`${n}${t}.json`;try{const t=await fetch(i);if(t.ok)return await t.json()}catch(t){return console.error(t),d}return t===o?d:await f(o,n)}var d=new Proxy({},{get:(t,n)=>{return(i=n.toString().replace(s,((t,n)=>`${0===n?"":" "}${t}`))).charAt(0).toUpperCase()+i.slice(1);var i}});function g(t){const n=function(t,n,i){const r=function(t,n){let i=t;for(;i;){const t=i.closest(n);if(t)return t;const r=i.getRootNode();if(r===document)return null;i=r.host}return null}(t,`[${n}]`);return r?.getAttribute(n)??i}(t,"lang",navigator.language||o);if(c.has(n))return{lang:n,t9nLocale:n};const i=n.slice(0,2);return{lang:n,t9nLocale:c.has(i)?i:o}}function y(t,n,r,a){let e;const s=()=>{(async function(t,n,i=t.tagName.toLowerCase().replace("arcgis-","")){const{lang:r,t9nLocale:a}=g(t),e=`${n}/${i}/t9n`,s=`${i}.t9n.`;return{lang:r,t9nLocale:a,t9nStrings:await w(a,e,s)}})(t,n,a).then((t=>{e?.lang===t.lang&&e.t9nLocale===t.t9nLocale&&e.t9nStrings===t.t9nStrings||r(t),e=t})).catch(console.error)};return s(),function(t,n,r){const{subscribe:a}=function(t){const n=t.join(","),r=i[n];if(void 0!==r)return r;const a=new Set,e=new MutationObserver((t=>a.forEach((n=>n(t)))));e.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const s={subscribe:t=>(a.add(t),{remove:()=>{a.delete(t),0===a.size&&(e.disconnect(),i[n]=void 0)}})};return i[n]=s,s}(n);return a((n=>{const i=n.some((n=>function(t,n){let i=t;for(;i;){if(i===n)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}(t,n.target)));i&&r()}))}(t,["lang"],s)}function m(t,n){const i=n>l?p:n/j;let r=0;const a=setInterval((()=>{r+=i,r>=n&&(clearInterval(a),t())}),i);return a}var l=4e3,p=2e3,j=4;function S(t){return void 0!==t}var v="undefined"!=typeof window&&"$arcgis"in window&&"object"==typeof window.$arcgis&&"import"in window.$arcgis;function h(t){return void 0!==t.default}async function L(){if(v)return await window.$arcgis.import("esri/core/Accessor");const t=await import("@arcgis/core/core/Accessor.js");return h(t)?t.default:t}async function M(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/layers/FeatureLayer");const t=await import("@arcgis/core/layers/FeatureLayer.js");return h(t)?t.default:t}())(t)}async function b(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/layers/GraphicsLayer");const t=await import("@arcgis/core/layers/GraphicsLayer.js");return h(t)?t.default:t}())(t)}async function F(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/layers/RouteLayer");const t=await import("@arcgis/core/layers/RouteLayer.js");return h(t)?t.default:t}())(t)}async function T(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/views/MapView");const t=await import("@arcgis/core/views/MapView.js");return h(t)?t.default:t}())(t)}async function k(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/views/SceneView");const t=await import("@arcgis/core/views/SceneView.js");return h(t)?t.default:t}())(t)}async function D(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/WebMap");const t=await import("@arcgis/core/WebMap.js");return h(t)?t.default:t}())(t)}async function V(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/WebScene");const t=await import("@arcgis/core/WebScene.js");return h(t)?t.default:t}())(t)}async function $(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");const t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return h(t)?t.default:t}())(t)}async function A(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");const t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return h(t)?t.default:t}())(t)}async function B(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Attachments");const t=await import("@arcgis/core/widgets/Attachments.js");return h(t)?t.default:t}())(t)}async function P(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/BasemapGallery");const t=await import("@arcgis/core/widgets/BasemapGallery.js");return h(t)?t.default:t}())(t)}async function C(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/BasemapLayerList");const t=await import("@arcgis/core/widgets/BasemapLayerList.js");return h(t)?t.default:t}())(t)}async function H(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/BasemapToggle");const t=await import("@arcgis/core/widgets/BasemapToggle.js");return h(t)?t.default:t}())(t)}async function N(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Bookmarks");const t=await import("@arcgis/core/widgets/Bookmarks.js");return h(t)?t.default:t}())(t)}async function E(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/BuildingExplorer");const t=await import("@arcgis/core/widgets/BuildingExplorer.js");return h(t)?t.default:t}())(t)}async function R(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Compass");const t=await import("@arcgis/core/widgets/Compass.js");return h(t)?t.default:t}())(t)}async function U(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/CoordinateConversion");const t=await import("@arcgis/core/widgets/CoordinateConversion.js");return h(t)?t.default:t}())(t)}async function W(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Daylight");const t=await import("@arcgis/core/widgets/Daylight.js");return h(t)?t.default:t}())(t)}async function x(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/DirectionalPad");const t=await import("@arcgis/core/widgets/DirectionalPad.js");return h(t)?t.default:t}())(t)}async function O(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Directions");const t=await import("@arcgis/core/widgets/Directions.js");return h(t)?t.default:t}())(t)}async function z(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");const t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return h(t)?t.default:t}())(t)}async function G(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");const t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return h(t)?t.default:t}())(t)}async function I(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Editor");const t=await import("@arcgis/core/widgets/Editor.js");return h(t)?t.default:t}())(t)}async function Z(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/ElevationProfile");const t=await import("@arcgis/core/widgets/ElevationProfile.js");return h(t)?t.default:t}())(t)}async function K(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Expand");const t=await import("@arcgis/core/widgets/Expand.js");return h(t)?t.default:t}())(t)}async function q(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Feature");const t=await import("@arcgis/core/widgets/Feature.js");return h(t)?t.default:t}())(t)}async function J(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/FeatureForm");const t=await import("@arcgis/core/widgets/FeatureForm.js");return h(t)?t.default:t}())(t)}async function Q(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Features");const t=await import("@arcgis/core/widgets/Features.js");return h(t)?t.default:t}())(t)}async function X(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/FeatureTable");const t=await import("@arcgis/core/widgets/FeatureTable.js");return h(t)?t.default:t}())(t)}async function Y(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/FeatureTemplates");const t=await import("@arcgis/core/widgets/FeatureTemplates.js");return h(t)?t.default:t}())(t)}async function _(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/FloorFilter");const t=await import("@arcgis/core/widgets/FloorFilter.js");return h(t)?t.default:t}())(t)}async function tt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Fullscreen");const t=await import("@arcgis/core/widgets/Fullscreen.js");return h(t)?t.default:t}())(t)}async function nt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Histogram");const t=await import("@arcgis/core/widgets/Histogram.js");return h(t)?t.default:t}())(t)}async function it(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");const t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return h(t)?t.default:t}())(t)}async function rt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");const t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return h(t)?t.default:t}())(t)}async function at(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/LayerList");const t=await import("@arcgis/core/widgets/LayerList.js");return h(t)?t.default:t}())(t)}async function et(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Legend");const t=await import("@arcgis/core/widgets/Legend.js");return h(t)?t.default:t}())(t)}async function st(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/LineOfSight");const t=await import("@arcgis/core/widgets/LineOfSight.js");return h(t)?t.default:t}())(t)}async function ct(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Locate");const t=await import("@arcgis/core/widgets/Locate.js");return h(t)?t.default:t}())(t)}async function ot(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Measurement");const t=await import("@arcgis/core/widgets/Measurement.js");return h(t)?t.default:t}())(t)}async function wt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/NavigationToggle");const t=await import("@arcgis/core/widgets/NavigationToggle.js");return h(t)?t.default:t}())(t)}async function ut(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");const t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return h(t)?t.default:t}())(t)}async function ft(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Print");const t=await import("@arcgis/core/widgets/Print.js");return h(t)?t.default:t}())(t)}async function dt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/ScaleBar");const t=await import("@arcgis/core/widgets/ScaleBar.js");return h(t)?t.default:t}())(t)}async function gt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");const t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return h(t)?t.default:t}())(t)}async function yt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Search");const t=await import("@arcgis/core/widgets/Search.js");return h(t)?t.default:t}())(t)}async function mt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/ShadowCast");const t=await import("@arcgis/core/widgets/ShadowCast.js");return h(t)?t.default:t}())(t)}async function lt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Sketch");const t=await import("@arcgis/core/widgets/Sketch.js");return h(t)?t.default:t}())(t)}async function pt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Slice");const t=await import("@arcgis/core/widgets/Slice.js");return h(t)?t.default:t}())(t)}async function jt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Slider");const t=await import("@arcgis/core/widgets/Slider.js");return h(t)?t.default:t}())(t)}async function St(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Swipe");const t=await import("@arcgis/core/widgets/Swipe.js");return h(t)?t.default:t}())(t)}async function vt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/TableList");const t=await import("@arcgis/core/widgets/TableList.js");return h(t)?t.default:t}())(t)}async function ht(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/TimeSlider");const t=await import("@arcgis/core/widgets/TimeSlider.js");return h(t)?t.default:t}())(t)}async function Lt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Track");const t=await import("@arcgis/core/widgets/Track.js");return h(t)?t.default:t}())(t)}async function Mt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");const t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return h(t)?t.default:t}())(t)}async function bt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");const t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return h(t)?t.default:t}())(t)}async function Ft(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");const t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return h(t)?t.default:t}())(t)}async function Tt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/ValuePicker");const t=await import("@arcgis/core/widgets/ValuePicker.js");return h(t)?t.default:t}())(t)}async function kt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");const t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return h(t)?t.default:t}())(t)}async function Dt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Weather");const t=await import("@arcgis/core/widgets/Weather.js");return h(t)?t.default:t}())(t)}async function Vt(t){return new(await async function(){if(v)return await window.$arcgis.import("esri/widgets/Zoom");const t=await import("@arcgis/core/widgets/Zoom.js");return h(t)?t.default:t}())(t)}async function $t(){if(v)return await window.$arcgis.import("esri/core/accessorSupport/decorators");const t=await import("@arcgis/core/core/accessorSupport/decorators.js");return h(t)?t.default:t}async function At(){if(v)return await window.$arcgis.import("esri/core/reactiveUtils");const t=await import("@arcgis/core/core/reactiveUtils.js");return h(t)?t.default:t}export{gt as $,O as A,z as B,G as C,n as D,I as E,Z as F,K as G,q as H,J as I,M as J,X as K,Y as L,_ as M,tt as N,nt as O,it as P,t as Q,rt as R,at as S,et as T,st as U,ct as V,ot as W,wt as X,ut as Y,ft as Z,dt as _,D as a,V as a0,k as a1,yt as a2,mt as a3,b as a4,lt as a5,pt as a6,jt as a7,St as a8,vt as a9,ht as aa,Lt as ab,Mt as ac,bt as ad,Ft as ae,Tt as af,kt as ag,Dt as ah,Vt as ai,T as b,e as c,r as d,a as e,m as f,g,L as h,At as i,$t as j,S as k,$ as l,A as m,Q as n,B as o,P as p,C as q,H as r,y as s,N as t,E as u,R as v,U as w,W as x,x as y,F as z}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{B as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import{m as e}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("analysis","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.analysis=this.widget.analysis,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}get el(){return i(this)}};c.style="";export{c 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-ad765557.js";import{ac as o}from"./p-54cd94fe.js";import{r as n,d as c,a}from"./p-b3f0b707.js";import{o as h}from"./p-ba84becb.js";const l=class{constructor(s){t(this,s),this.arcgisReady=i(this,"arcgisReady",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.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this._addContainer(),c(this),a(this)}disconnectedCallback(){h(this)}render(){return s("div",{key:"d35b3ef2d8333d766c7e284ce71e9fe9139ff1e7",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.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}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();const t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),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"]}}};l.style="arcgis-utility-network-associations{}";export{l as arcgis_utility_network_associations}
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-bb3f85d0.js";import{ac as o}from"./p-4cf9fbbd.js";import{r as n,d as c,a}from"./p-741b6ceb.js";import{o as h}from"./p-ae113369.js";const l=class{constructor(s){t(this,s),this.arcgisReady=i(this,"arcgisReady",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.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this._addContainer(),c(this),a(this)}disconnectedCallback(){h(this)}render(){return s("div",{key:"d35b3ef2d8333d766c7e284ce71e9fe9139ff1e7",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.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}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();const t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),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"]}}};l.style="arcgis-utility-network-associations{}";export{l 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{D as t,c as s,d as e,e as i,f as o,h as n,j as r,k as h,i as c}from"./p-54cd94fe.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>!!(63&s))).map((([t])=>t))),d=(t,s)=>t.manager.internals.members?.[s]?.[0];function u(t,s){const e=d(t,s);return void 0===e?void 0:32&e?"state":"prop"}var p,f=Symbol("controller"),y=["The value you passed is not a controller and not a controller exports. If ","your controller exports a literal value, try making your controller export ","an object instead"].join(""),v=class s{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new t,this._lifecycleDisconnected=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=w(this),this._exportWatchers=new Set;const i=function(t){if("addController"in t)return t;throw new Error("Component does not implement ControllerHost. This might be because you forgot to add 'manager: Controller<this> = useControllerManager(this);' in your component, or you tried to use some controller before that line")}(e??s.internals.retrieveComponent(new.target.name));Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:i}),this.component.addController(this),s.internals.setParentController(this),"hostDestroy"in this&&this.component.manager.ensureHasDestroy(),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){this._exports!==t&&(this._exports=t,this.connectedCalled&&this.component.requestUpdate(),this._exportWatchers.forEach(e)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=w(t),this._exportWatchers.forEach(e)}watchExports(t){const s=()=>t(this._exports);return this._exportWatchers.add(s),()=>{this._exportWatchers.delete(s)}}get use(){return s.internals.setAmbientComponent(this.component),s.internals.use}get useRef(){return s.internals.setAmbientComponent(this.component),s.internals.useRef}get useRefSync(){return s.internals.setAmbientComponent(this.component),s.internals.useRefSync}bypassSetter(t){s.internals.shouldBypassSetter=!0;try{return t()}finally{s.internals.shouldBypassSetter=!1}}bypassReadonly(t){s.internals.shouldBypassReadonly=!0;try{return t()}finally{s.internals.shouldBypassReadonly=!1}}bypassGetter(t){s.internals.shouldBypassGetter=!0;try{return t()}finally{s.internals.shouldBypassGetter=!1}}dynamicGetSet(t,s){this.genericGetSet(t,s)}genericGetSet(t,s){var e,i;const o=s,n=this.component.manager.internals;"function"==typeof o.get&&((e=n.getters)[t]??(e[t]=[]),n.getters[t].unshift(o.get));const r="ignore"===o.set?k:o.set;r&&((i=n.setters)[t]??(i[t]=[]),n.setters[t].unshift(r))}watch(t,s){var i;if(void 0===d(this.component,t))throw new Error(`Trying to watch a non-@property, non-@state property "${t}". Either convert it into a @state() or use get/set syntax`);const o=this.component.manager.internals;(i=o.allWatchers)[t]??(i[t]=[]);const n=o.allWatchers[t],r=s,h=(t,s,i)=>e(r,null,t,s,i);return n.push(h),()=>{const t=n.indexOf(h);-1!==t&&n.splice(t,1)}}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this.component.manager.ensureHasDestroy(),this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&e(t.hostConnected,t),this._callbacks.hostConnected.forEach(e),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&e(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(e),this._lifecycleDisconnected.forEach(e),this._lifecycleDisconnected=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await i(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(i)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&e(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(e),this.didLoadCalled=!0}triggerUpdate(){const t=this;t.hostUpdate&&e(t.hostUpdate,t),this._callbacks.hostUpdate.forEach(e)}triggerUpdated(){const t=this;t.hostUpdated&&e(t.hostUpdated,t),this._callbacks.hostUpdated.forEach(e)}triggerDestroy(){const t=this;t.hostDestroy&&e(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(e)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach((t=>this._callLifecycle(t)))}_callLifecycle(t){s.internals.setAmbientComponent(this.component);const i=e(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleDisconnected.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleDisconnected.push(t.remove)}))}};p=f,v.internals=new class{constructor(){this._ambientControllers=[],this.use=async(t,s)=>{const e=this.useRefSync(t);if(void 0===e){if("function"==typeof s){const t=new Error(`Unable to resolve a controller from the provided value, so can't watch it's exports. ${y}`);console.error(t)}return t}if(await e.ready,"function"==typeof s){if(void 0===e.watchExports)throw new Error("The controller must implement watchExports method to support watching exports");const t=e.watchExports((e=>s(e,t)))}return e.exports},this.useRef=async t=>{const s=this.useRefSync(t);if(void 0===s)throw new Error(`Unable to resolve a controller from the provided value. ${y}`);return await s.ready,s},this.useRefSync=t=>{const s=this.retrieveAmbientChildController();if(void 0!==s)return s;const e=m.internals.retrieveComponent().manager.internals.resolveExports(t);return void 0!==e?e:(t=>"object"==typeof t&&null!==t&&(f in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},this.shouldBypassSetter=!1,this.shouldBypassGetter=!1,this.shouldBypassReadonly=!1,this.elementToInstance=new WeakMap}setAmbientComponent(t){this._ambientComponent!==t&&(this._ambientComponent=t,queueMicrotask((()=>{this._ambientComponent===t&&(this._ambientComponent=void 0)})))}retrieveComponent(t){if(void 0===this._ambientComponent)throw new Error([`Unable to find out which component ${t||"this"} controller `,"belongs to. This might happen if you tried to create a controller ","outside the component. If so, please wrap your controller ","definition in an arrow function, ","`const myController = ()=>makeController(...);` and call that","function inside the component `my = myController();`, or ","define your controller using makeGenericController/GenericController ","instead.\n","If you wish to use a controller inside an async controller, ","make sure you are using controller.use.\n","You might also have multiple instances of Controllers loaded"].join("\n"));return this._ambientComponent}setParentController(t){if(void 0===t)return void(this._ambientControllers=[]);const s=this._ambientControllers.indexOf(t);this._ambientControllers=-1===s?[...this._ambientControllers,t]:this._ambientControllers.slice(0,s+1),queueMicrotask((()=>{this._ambientControllers=[]}))}retrieveParentControllers(){return this._ambientControllers}setAmbientChildController(t){this._ambientChildController!==t&&(this._ambientChildController=t,queueMicrotask((()=>{this._ambientChildController===t&&(this._ambientChildController=void 0)})))}retrieveAmbientChildController(){const t=this._ambientChildController;return this._ambientChildController=void 0,t}};var m=v,g=class extends m{constructor(t){super(t)}watch(t,s){return super.watch(t,s)}dynamicGetSet(t,s){super.genericGetSet(t,s)}};function w(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const s=new Proxy(t,{get(t,e,i){if(!b.has(e)||!(e in t)||t[e]!==s)return e in t||e in Promise.prototype||"symbol"==typeof e?"function"==typeof t?t[e]:Reflect.get(t,e,i):void console.error(`Trying to access "${e.toString()}" on the controller before it's loaded. ${C}`)},set:(t,s,e,i)=>(console.error(`Trying to set "${s.toString()}" on the controller before it's loaded. ${C}`),Reflect.set(t,s,e,i))});return s}var b=new Set(["exports","_exports"]),C="",k=(t,s)=>s;function x(t,s,i){const o=Object.keys(t),n=o.length;void 0===D&&queueMicrotask(j),D??(D=new Map);let r=D.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},D.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(o))),r.callbacks=[],r.keyCount=n),r.callbacks.push((o=>{const r=o[n];e(s,null,void 0===r?void 0:t[r]===i?r:void 0)})),i}var D=void 0;function j(){Array.from(D?.entries()??[]).forEach((([t,{callbacks:s}])=>{const e=Object.keys(t);s.forEach((t=>t(e)))})),D=void 0}var S=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.trackKey=(t,s,e)=>{const i=Array.isArray(t)?t:[t];let o=i.length+1;const n=t=>{o-=1,void 0!==t&&(o=0),0===o&&s(t)};return i.forEach((t=>this.component.manager.trackPropertyKey(t,(s=>n(void 0===s?void 0:{key:s,host:t,type:"property",domValue:void 0})),e))),this.component.manager.trackPropKey(((t,s)=>{const e=void 0===t?void 0:u(this.component,t);n(void 0===t?void 0:{key:t,host:this.component,type:e??"prop",domValue:"prop"===e?s:void 0})}),e),e},this.trackPropKey=(t,s)=>(this._trackedValue!==P&&this._trackedValue!==s&&this._firePropertyTrackers(void 0,void 0,void 0),0===this._keyTrackers.length&&queueMicrotask((()=>this._firePropertyTrackers(void 0,void 0,void 0))),this._trackedValue=s,this._keyTrackers.push(((i,o,n)=>e(t,void 0,s===o?i:void 0,n))),s),this._trackedValue=P,this._keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:t})}_firePropertyTrackers(t,s,e){const i=this._keyTrackers;this._trackedValue=P,this._keyTrackers=[],i.forEach((i=>i(t,s,e)))}getSetProxy(t,s,e){const i=this.component,o=i.constructor.prototype;if(this._getSetProxy(o,t,s,e,"class"),i.manager.isLit)return;const n=i.el.constructor.prototype;o!==n&&this._getSetProxy(n,t,s,e,"html")}_getSetProxy(t,s,e,i,o){const n=this.component,r=d(n,s),h=Object.getOwnPropertyDescriptor(t,s),c="html"===o;if(void 0===h?.set||void 0===h.get){if(void 0!==h&&"value"in h)throw new Error(`getSet() should only be used on @Prop/@property/@State/@state properties. For internal component properties, use regular get/set syntax. Tried to use it on "${s}" in ${n.el.tagName}`);if(c)return;throw new Error(`Unable to find "${s}" property on the ${n.el.tagName} component`)}const{get:a,set:l}=h,u=!(E in a)&&e,p=!(E in l)&&i;if(!u&&!p)return;const f=u?function(){let t=a.call(this);const e=m.internals.elementToInstance.get(this);if(m.internals.shouldBypassGetter||void 0===e)return t;const i=e.manager.internals;t=i.accessorGetter[s](t,s);const o=i.getters[s]??U;for(let e=0;e<o.length;e++)t=o[e](t,s);return t}:a,y=p?function(t){const e=a.call(this),i=m.internals.elementToInstance.get(this);if(void 0===i)return void l.call(this,t);let o=i.manager.isLit?t:function(t,s=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&s?"false"!==t&&(""===t||!!t):2&s?Number.parseFloat(t):1&s?String(t):t}(t,r);const n=i.manager.internals;if(o===e)l.call(this,t);else{const t=m.internals.shouldBypassSetter?U:n.setters[s]??U;for(let i=0;i<t.length&&(o=t[i](o,e,s),o!==e);i++);o=n.accessorSetter[s](o,e,s),l.call(this,o),o!==e&&n.enabledWatchers[s]?.forEach((t=>t(o,e,s)))}n._keyTrackers.length>0&&n?._firePropertyTrackers(s,t,e)}:l;u&&Object.defineProperty(f,E,{value:!0}),p&&Object.defineProperty(y,E,{value:!0}),Object.defineProperty(t,s,{...h,get:f,set:y})}markExports(t,s){("object"==typeof s&&null!==s||"function"==typeof s)&&this._exports.set(s,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},U=[],E=Symbol("controllersCustomAccessor"),P=Symbol("nothing"),L=(t,s)=>new A(t,s),A=class extends g{constructor(e,i){const o="addController"in e,n=new Set,r=e;if(r.addController=function(t){n.add(t),o&&!(f in t)&&e.el.isConnected&&t.hostConnected?.()},r.removeController=function(t){n.delete(t),t.controllerRemoved?.()},!o){const t=i??e.constructor.__forceUpdate;r.requestUpdate=()=>t(e)}super(e),this.internals=new S(this.component),this.destroyed=!1,this._updatePromise=new t,this._originalLifecycles={},this.trackPropertyKey=x,this.trackPropKey=this.internals.trackPropKey,this.trackKey=this.internals.trackKey,this._readonlySetter=(t,e,i)=>{if(m.internals.shouldBypassReadonly)return t;const o=this.component;if("prop"===u(o,i))if(this.isLit){const t=a(o).get(i);t&&!1!==t?.attribute&&o.el.setAttribute("string"==typeof t.attribute?t.attribute:s(i),String(e))}else o.requestUpdate();throw new Error(`Cannot assign to read-only property "${i}" of ${o.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.devOnlySetPersistentControllerData=void 0,this.devOnlyGetPersistentControllerData=void 0,this.isLit=o,this.component.manager=this,function(t,s){if(s){const s=a(t);t.manager.internals.members=Object.fromEntries(Array.from(s,(([t,{state:s,type:e}])=>[t,[s?32:e===Number?2:e===Boolean?4:1]])))}else{const s=t.constructor,e=s.__registerControllers?.(t)??void 0;if(s.__registerControllers=void 0,"object"!=typeof e)throw new Error("Failed to retrieve internal component meta. Make sure you have the useComponentsControllers() Rollup Plugin for Stencil Controllers configured in your Stencil config.");t.manager.internals.members=e}}(e,o),this._controllers=n,this.exports=void 0,this.hasDestroy="autoDestroyDisabled"in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&this.watch("autoDestroyDisabled",(()=>this._autoDestroyDisabledWatcher())),this._bindLifecycleMethods(),o||Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise});const h=l(e),c=e.manager.internals;h.forEach((t=>{c.accessorGetter[t]=O,c.accessorSetter[t]=O,c.getSetProxy(t,!0,!0)})),m.internals.setParentController(void 0),m.internals.setAmbientComponent(e),m.internals.elementToInstance.set(e.el,e),m.internals.elementToInstance.set(e,e)}_bindLifecycleMethods(){const t=this.component,s=this.isLit,e=t.el===t;this._originalLifecycles={connectedCallback:s||e?void 0:t.connectedCallback,disconnectedCallback:s||e?void 0:t.disconnectedCallback,componentWillLoad:s?void 0:t.componentWillLoad,componentDidLoad:s?void 0:t.componentDidLoad,componentWillUpdate:s?void 0:t.componentWillUpdate,componentDidUpdate:s?void 0:t.componentDidUpdate,destroy:t.destroy};const i=this._connectedCallback.bind(this),o=this._disconnectedCallback.bind(this),n=this._update.bind(this),r=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:i,hostDisconnected:o,hostUpdate:n,hostUpdated:r}):(t.connectedCallback=i,t.disconnectedCallback=o,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=r),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}ensureHasDestroy(){if(!this.hasDestroy)throw new Error($)}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the autoDestroyDisabled prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.internals.enabledWatchers=this.internals.allWatchers,j(),this._controllers.forEach((t=>"triggerConnected"in t?t.triggerConnected():e(t.hostConnected,t))),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach((t=>"triggerDisconnected"in t?t.triggerDisconnected():e(t.hostDisconnected,t))),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._autoDestroyDisabledWatcher())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const s of t)"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s);await Promise.allSettled(Array.from(this._controllers,(async s=>t.has(s)?void 0:"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s)))),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach((t=>"triggerLoaded"in t?t.triggerLoaded():e(t.hostLoaded,t))),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach((t=>"triggerUpdate"in t?t.triggerUpdate():e(t.hostUpdate,t))),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){if(this._controllers.forEach((t=>"triggerUpdated"in t?t.triggerUpdated():e(t.hostUpdated,t))),this._originalLifecycles.componentDidUpdate?.call(this.component),!this.isLit){const s=this._updatePromise;this._updatePromise=new t,s.resolve(!0)}}async destroy(){if(this.ensureHasDestroy(),!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach((t=>"triggerDestroy"in t?t.triggerDestroy():e(t.hostDestroy,t))),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_autoDestroyDisabledWatcher(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),M))}readonly(t){return this.getSet(t,{set:this._readonlySetter})}getSet(t,s){return this.component.manager.trackPropKey((e=>{var i;if(void 0===e)throw new Error("Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})");s.set===this._readonlySetter&&((i=this.internals).readonlyProps??(i.readonlyProps=new Set),this.internals.readonlyProps.add(e));const o=this.component,n=o[e];if(null!=n&&n!==t&&"function"==typeof s.set&&(s.initialSet??1)){const i=s.set(n,t,e);if(i!==n)if(this.isLit)o[e]=i;else{let t=!0;this.onConnected((()=>{t&&(t=!0,this.bypassSetter((()=>{o[e]=i})))}))}}this.genericGetSet(e,s)}),t)}},$="\nIf the component uses a controller that uses destroy() method, then the\ncomponent must have the following properties:\nautoDestroyDisabled and destroy\n".trim(),M=1e3,O=t=>t,_=t=>(...s)=>{const e=m.internals.retrieveParentControllers(),i=new t(...s),o=i.exports;m.internals.setParentController(e.at(-1));const n=i.component.manager.internals;n.markExports(i,o),i.watchExports((t=>n.markExports(i,t))),m.internals.setAmbientChildController(i);const r=[i.component,...e].reverse();return n.trackKey(r,(t=>void 0===t?void 0:function(t,{host:s,key:e,type:i},o){const n=s,r=n[e]!==o;if(n[e]!==t.exports&&!r&&o!==t.exports&&(n[e]=t.exports),s===t.component&&"prop"===i){const s=t.component.manager.internals;r&&s.markExports(t,n[e]),t.component.manager.watch(e,(e=>{e!==t.exports&&s.markExports(t,e)}))}t.watchExports((()=>{if(n[e]===t.exports)return;const s=t.component.manager;!0===s.internals.readonlyProps?.has(e)?s.bypassReadonly((()=>{n[e]=t.exports})):n[e]=t.exports}))}(i,t,o)),o)},T=t=>R(void 0,t),R=_(class extends m{constructor(t,s){super(t);const e=this.exports;try{m.internals.setAmbientComponent(this.component);const t=s(this.component,this),i=this.exports!==e;if(t instanceof Promise){i||this.setProvisionalExports(t);const s=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await s))}else i&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),q=t=>(s,e)=>I(s,t,e),G=class extends g{constructor(t,s,e){super(t),this._loadAccessor=s,this._options=e,this.reactiveUtils=this.component.reactiveUtils,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(W.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);const o=Array.from(i).find((t=>t instanceof F));o&&i.delete(o),i.add(o??new F(this.component)),t.manager.trackPropKey((t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){const t=this.component;this.reactiveUtils=void 0===t.reactiveUtils?await c():await this.use(t.reactiveUtils);const s=W.gatherParameters(this,this._watchedProperties),e=this._options?.editConstructorProperties?.call(t,s)??s,i=e instanceof Promise?await e:e,o="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=o&&o!==this.exports?(this._instance=o,o.set(i)):this._instance=await this._createInstance(i),t.manager.destroyed||(W.watchComponentUpdates(this,this._instance,this._watchedProperties),W.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},I=_(G),W={makeGetterProxy:(t,s,e)=>new Proxy({},{has:(t,s)=>"string"==typeof s||s in t,get:(i,o)=>{const n=Reflect.get(i,o);return"symbol"==typeof o||o in Promise.prototype||o in i||!(e?.value??1)?n:t.manager.trackKey(t,(t=>{void 0!==t&&s.set(t.key,o)}),n)}}),watchComponentUpdates(t,s,e){function i(t,i){const o=e.get(i),n=s[o];return"boolean"==typeof n&&o!==i&&i.toLowerCase().includes("disable")?!n:n}const o=(t,i,o)=>{const n=e.get(o),r=s[n],h="boolean"==typeof r&&n!==o&&o.toLowerCase().includes("disable");if((h?!r:r)===t)return t;s[n]=h?!t:t;const c=s[n];return h?!c:c},n=t.component.manager.internals;e.forEach(((t,s)=>{n.accessorGetter[s]=i,n.accessorSetter[s]=o}))},watchAccessorUpdates(t,s,e){const{component:i}=t,o=i,n=s,r=function(t){const s=t,e=Object.entries(s.__accessor__?.metadata??{});return new Set(e.filter((([t,s])=>!0===s?.readOnly)).map((([t])=>t)))}(s);i.manager.bypassGetter((()=>e.forEach(((t,s)=>{if(r.has(t))return;const e=o[s],i=n[t],h="boolean"==typeof e&&t!==s&&s.toLowerCase().includes("disable")?!e:e;null!=h&&i!==h&&(n[t]=h)})))),t.onLifecycle((()=>{if(!s.destroyed)return Array.from(e,(([s,e])=>t.reactiveUtils.watch((()=>n[e]),(()=>{const t=n[e],r="boolean"==typeof t&&e!==s&&s.toLowerCase().includes("disable")?!t:t;i.manager.bypassSetter((()=>{o[s]=r}))}),{initial:!0})))}))},gatherParameters(t,s){const{component:e}=t;return Object.fromEntries(Array.from(s,(([t,s])=>[s,e[t]])).filter((([,t])=>void 0!==t)))},reEmitAccessorEvents(t,e,i,o){if(!("on"in e)||"function"!=typeof e.on)return;const n=Object.entries(t.component).map((([t,e])=>{const i=e;if(!t.startsWith(o)||t===o||"object"!=typeof i||null===i||!("emit"in i)||"function"!=typeof i.emit)return;const n=i.emit,r=t.slice(o.length);return[s(r).toLowerCase(),n]})).filter(h);if(0===n.length)return;const r=e,c=()=>r;t.onLifecycle((()=>{if(!e.destroyed)return n.map((([t,s])=>i.on(c,t,s)))}))},async reCreate(t,s){const e=s.manager.useRefSync(t);void 0!==e&&await e.reCreate()}},V=Promise.all([n(),r()]),F=class extends g{async hostLoad(){const[t,{subclass:s,property:e}]=await V;class i extends t{}const o=(t,s)=>d[s];function n(t,s,e){return void 0!==d&&(d[e]=t),t}const r=this.component,h=r.manager.internals,c=[],a=l(this.component);if(r.manager.bypassGetter((()=>a.forEach((t=>{h.accessorSetter[t]!==O||(c.push(t),h.accessorGetter[t]=o,h.accessorSetter[t]=n,e({value:r[t]})(i.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const d=new(s(r.el.tagName)(i));this._instance=d}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((s=>{t.accessorGetter[s]=O,t.accessorSetter[s]=O}))}};export{G as A,W as a,T as b,q as m,_ as p,L as u}
|
|
6
|
+
import{D as t,c as s,d as e,e as i,f as o,h as n,j as r,k as h,i as c}from"./p-4cf9fbbd.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>!!(63&s))).map((([t])=>t))),d=(t,s)=>t.manager.internals.members?.[s]?.[0];function u(t,s){const e=d(t,s);return void 0===e?void 0:32&e?"state":"prop"}var p,f=Symbol("controller"),y=["The value you passed is not a controller and not a controller exports. If ","your controller exports a literal value, try making your controller export ","an object instead"].join(""),v=class s{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new t,this._lifecycleDisconnected=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=w(this),this._exportWatchers=new Set;const i=function(t){if("addController"in t)return t;throw new Error("Component does not implement ControllerHost. This might be because you forgot to add 'manager: Controller<this> = useControllerManager(this);' in your component, or you tried to use some controller before that line")}(e??s.internals.retrieveComponent(new.target.name));Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:i}),this.component.addController(this),s.internals.setParentController(this),"hostDestroy"in this&&this.component.manager.ensureHasDestroy(),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){this._exports!==t&&(this._exports=t,this.connectedCalled&&this.component.requestUpdate(),this._exportWatchers.forEach(e)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=w(t),this._exportWatchers.forEach(e)}watchExports(t){const s=()=>t(this._exports);return this._exportWatchers.add(s),()=>{this._exportWatchers.delete(s)}}get use(){return s.internals.setAmbientComponent(this.component),s.internals.use}get useRef(){return s.internals.setAmbientComponent(this.component),s.internals.useRef}get useRefSync(){return s.internals.setAmbientComponent(this.component),s.internals.useRefSync}bypassSetter(t){s.internals.shouldBypassSetter=!0;try{return t()}finally{s.internals.shouldBypassSetter=!1}}bypassReadonly(t){s.internals.shouldBypassReadonly=!0;try{return t()}finally{s.internals.shouldBypassReadonly=!1}}bypassGetter(t){s.internals.shouldBypassGetter=!0;try{return t()}finally{s.internals.shouldBypassGetter=!1}}dynamicGetSet(t,s){this.genericGetSet(t,s)}genericGetSet(t,s){var e,i;const o=s,n=this.component.manager.internals;"function"==typeof o.get&&((e=n.getters)[t]??(e[t]=[]),n.getters[t].unshift(o.get));const r="ignore"===o.set?k:o.set;r&&((i=n.setters)[t]??(i[t]=[]),n.setters[t].unshift(r))}watch(t,s){var i;if(void 0===d(this.component,t))throw new Error(`Trying to watch a non-@property, non-@state property "${t}". Either convert it into a @state() or use get/set syntax`);const o=this.component.manager.internals;(i=o.allWatchers)[t]??(i[t]=[]);const n=o.allWatchers[t],r=s,h=(t,s,i)=>e(r,null,t,s,i);return n.push(h),()=>{const t=n.indexOf(h);-1!==t&&n.splice(t,1)}}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this.component.manager.ensureHasDestroy(),this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&e(t.hostConnected,t),this._callbacks.hostConnected.forEach(e),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&e(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(e),this._lifecycleDisconnected.forEach(e),this._lifecycleDisconnected=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await i(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(i)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&e(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(e),this.didLoadCalled=!0}triggerUpdate(){const t=this;t.hostUpdate&&e(t.hostUpdate,t),this._callbacks.hostUpdate.forEach(e)}triggerUpdated(){const t=this;t.hostUpdated&&e(t.hostUpdated,t),this._callbacks.hostUpdated.forEach(e)}triggerDestroy(){const t=this;t.hostDestroy&&e(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(e)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach((t=>this._callLifecycle(t)))}_callLifecycle(t){s.internals.setAmbientComponent(this.component);const i=e(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleDisconnected.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleDisconnected.push(t.remove)}))}};p=f,v.internals=new class{constructor(){this._ambientControllers=[],this.use=async(t,s)=>{const e=this.useRefSync(t);if(void 0===e){if("function"==typeof s){const t=new Error(`Unable to resolve a controller from the provided value, so can't watch it's exports. ${y}`);console.error(t)}return t}if(await e.ready,"function"==typeof s){if(void 0===e.watchExports)throw new Error("The controller must implement watchExports method to support watching exports");const t=e.watchExports((e=>s(e,t)))}return e.exports},this.useRef=async t=>{const s=this.useRefSync(t);if(void 0===s)throw new Error(`Unable to resolve a controller from the provided value. ${y}`);return await s.ready,s},this.useRefSync=t=>{const s=this.retrieveAmbientChildController();if(void 0!==s)return s;const e=m.internals.retrieveComponent().manager.internals.resolveExports(t);return void 0!==e?e:(t=>"object"==typeof t&&null!==t&&(f in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},this.shouldBypassSetter=!1,this.shouldBypassGetter=!1,this.shouldBypassReadonly=!1,this.elementToInstance=new WeakMap}setAmbientComponent(t){this._ambientComponent!==t&&(this._ambientComponent=t,queueMicrotask((()=>{this._ambientComponent===t&&(this._ambientComponent=void 0)})))}retrieveComponent(t){if(void 0===this._ambientComponent)throw new Error([`Unable to find out which component ${t||"this"} controller `,"belongs to. This might happen if you tried to create a controller ","outside the component. If so, please wrap your controller ","definition in an arrow function, ","`const myController = ()=>makeController(...);` and call that","function inside the component `my = myController();`, or ","define your controller using makeGenericController/GenericController ","instead.\n","If you wish to use a controller inside an async controller, ","make sure you are using controller.use.\n","You might also have multiple instances of Controllers loaded"].join("\n"));return this._ambientComponent}setParentController(t){if(void 0===t)return void(this._ambientControllers=[]);const s=this._ambientControllers.indexOf(t);this._ambientControllers=-1===s?[...this._ambientControllers,t]:this._ambientControllers.slice(0,s+1),queueMicrotask((()=>{this._ambientControllers=[]}))}retrieveParentControllers(){return this._ambientControllers}setAmbientChildController(t){this._ambientChildController!==t&&(this._ambientChildController=t,queueMicrotask((()=>{this._ambientChildController===t&&(this._ambientChildController=void 0)})))}retrieveAmbientChildController(){const t=this._ambientChildController;return this._ambientChildController=void 0,t}};var m=v,g=class extends m{constructor(t){super(t)}watch(t,s){return super.watch(t,s)}dynamicGetSet(t,s){super.genericGetSet(t,s)}};function w(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const s=new Proxy(t,{get(t,e,i){if(!b.has(e)||!(e in t)||t[e]!==s)return e in t||e in Promise.prototype||"symbol"==typeof e?"function"==typeof t?t[e]:Reflect.get(t,e,i):void console.error(`Trying to access "${e.toString()}" on the controller before it's loaded. ${C}`)},set:(t,s,e,i)=>(console.error(`Trying to set "${s.toString()}" on the controller before it's loaded. ${C}`),Reflect.set(t,s,e,i))});return s}var b=new Set(["exports","_exports"]),C="",k=(t,s)=>s;function x(t,s,i){const o=Object.keys(t),n=o.length;void 0===D&&queueMicrotask(j),D??(D=new Map);let r=D.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},D.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(o))),r.callbacks=[],r.keyCount=n),r.callbacks.push((o=>{const r=o[n];e(s,null,void 0===r?void 0:t[r]===i?r:void 0)})),i}var D=void 0;function j(){Array.from(D?.entries()??[]).forEach((([t,{callbacks:s}])=>{const e=Object.keys(t);s.forEach((t=>t(e)))})),D=void 0}var S=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.trackKey=(t,s,e)=>{const i=Array.isArray(t)?t:[t];let o=i.length+1;const n=t=>{o-=1,void 0!==t&&(o=0),0===o&&s(t)};return i.forEach((t=>this.component.manager.trackPropertyKey(t,(s=>n(void 0===s?void 0:{key:s,host:t,type:"property",domValue:void 0})),e))),this.component.manager.trackPropKey(((t,s)=>{const e=void 0===t?void 0:u(this.component,t);n(void 0===t?void 0:{key:t,host:this.component,type:e??"prop",domValue:"prop"===e?s:void 0})}),e),e},this.trackPropKey=(t,s)=>(this._trackedValue!==P&&this._trackedValue!==s&&this._firePropertyTrackers(void 0,void 0,void 0),0===this._keyTrackers.length&&queueMicrotask((()=>this._firePropertyTrackers(void 0,void 0,void 0))),this._trackedValue=s,this._keyTrackers.push(((i,o,n)=>e(t,void 0,s===o?i:void 0,n))),s),this._trackedValue=P,this._keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:t})}_firePropertyTrackers(t,s,e){const i=this._keyTrackers;this._trackedValue=P,this._keyTrackers=[],i.forEach((i=>i(t,s,e)))}getSetProxy(t,s,e){const i=this.component,o=i.constructor.prototype;if(this._getSetProxy(o,t,s,e,"class"),i.manager.isLit)return;const n=i.el.constructor.prototype;o!==n&&this._getSetProxy(n,t,s,e,"html")}_getSetProxy(t,s,e,i,o){const n=this.component,r=d(n,s),h=Object.getOwnPropertyDescriptor(t,s),c="html"===o;if(void 0===h?.set||void 0===h.get){if(void 0!==h&&"value"in h)throw new Error(`getSet() should only be used on @Prop/@property/@State/@state properties. For internal component properties, use regular get/set syntax. Tried to use it on "${s}" in ${n.el.tagName}`);if(c)return;throw new Error(`Unable to find "${s}" property on the ${n.el.tagName} component`)}const{get:a,set:l}=h,u=!(E in a)&&e,p=!(E in l)&&i;if(!u&&!p)return;const f=u?function(){let t=a.call(this);const e=m.internals.elementToInstance.get(this);if(m.internals.shouldBypassGetter||void 0===e)return t;const i=e.manager.internals;t=i.accessorGetter[s](t,s);const o=i.getters[s]??U;for(let e=0;e<o.length;e++)t=o[e](t,s);return t}:a,y=p?function(t){const e=a.call(this),i=m.internals.elementToInstance.get(this);if(void 0===i)return void l.call(this,t);let o=i.manager.isLit?t:function(t,s=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&s?"false"!==t&&(""===t||!!t):2&s?Number.parseFloat(t):1&s?String(t):t}(t,r);const n=i.manager.internals;if(o===e)l.call(this,t);else{const t=m.internals.shouldBypassSetter?U:n.setters[s]??U;for(let i=0;i<t.length&&(o=t[i](o,e,s),o!==e);i++);o=n.accessorSetter[s](o,e,s),l.call(this,o),o!==e&&n.enabledWatchers[s]?.forEach((t=>t(o,e,s)))}n._keyTrackers.length>0&&n?._firePropertyTrackers(s,t,e)}:l;u&&Object.defineProperty(f,E,{value:!0}),p&&Object.defineProperty(y,E,{value:!0}),Object.defineProperty(t,s,{...h,get:f,set:y})}markExports(t,s){("object"==typeof s&&null!==s||"function"==typeof s)&&this._exports.set(s,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},U=[],E=Symbol("controllersCustomAccessor"),P=Symbol("nothing"),L=(t,s)=>new A(t,s),A=class extends g{constructor(e,i){const o="addController"in e,n=new Set,r=e;if(r.addController=function(t){n.add(t),o&&!(f in t)&&e.el.isConnected&&t.hostConnected?.()},r.removeController=function(t){n.delete(t),t.controllerRemoved?.()},!o){const t=i??e.constructor.__forceUpdate;r.requestUpdate=()=>t(e)}super(e),this.internals=new S(this.component),this.destroyed=!1,this._updatePromise=new t,this._originalLifecycles={},this.trackPropertyKey=x,this.trackPropKey=this.internals.trackPropKey,this.trackKey=this.internals.trackKey,this._readonlySetter=(t,e,i)=>{if(m.internals.shouldBypassReadonly)return t;const o=this.component;if("prop"===u(o,i))if(this.isLit){const t=a(o).get(i);t&&!1!==t?.attribute&&o.el.setAttribute("string"==typeof t.attribute?t.attribute:s(i),String(e))}else o.requestUpdate();throw new Error(`Cannot assign to read-only property "${i}" of ${o.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.devOnlySetPersistentControllerData=void 0,this.devOnlyGetPersistentControllerData=void 0,this.isLit=o,this.component.manager=this,function(t,s){if(s){const s=a(t);t.manager.internals.members=Object.fromEntries(Array.from(s,(([t,{state:s,type:e}])=>[t,[s?32:e===Number?2:e===Boolean?4:1]])))}else{const s=t.constructor,e=s.__registerControllers?.(t)??void 0;if(s.__registerControllers=void 0,"object"!=typeof e)throw new Error("Failed to retrieve internal component meta. Make sure you have the useComponentsControllers() Rollup Plugin for Stencil Controllers configured in your Stencil config.");t.manager.internals.members=e}}(e,o),this._controllers=n,this.exports=void 0,this.hasDestroy="autoDestroyDisabled"in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&this.watch("autoDestroyDisabled",(()=>this._autoDestroyDisabledWatcher())),this._bindLifecycleMethods(),o||Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise});const h=l(e),c=e.manager.internals;h.forEach((t=>{c.accessorGetter[t]=O,c.accessorSetter[t]=O,c.getSetProxy(t,!0,!0)})),m.internals.setParentController(void 0),m.internals.setAmbientComponent(e),m.internals.elementToInstance.set(e.el,e),m.internals.elementToInstance.set(e,e)}_bindLifecycleMethods(){const t=this.component,s=this.isLit,e=t.el===t;this._originalLifecycles={connectedCallback:s||e?void 0:t.connectedCallback,disconnectedCallback:s||e?void 0:t.disconnectedCallback,componentWillLoad:s?void 0:t.componentWillLoad,componentDidLoad:s?void 0:t.componentDidLoad,componentWillUpdate:s?void 0:t.componentWillUpdate,componentDidUpdate:s?void 0:t.componentDidUpdate,destroy:t.destroy};const i=this._connectedCallback.bind(this),o=this._disconnectedCallback.bind(this),n=this._update.bind(this),r=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:i,hostDisconnected:o,hostUpdate:n,hostUpdated:r}):(t.connectedCallback=i,t.disconnectedCallback=o,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=r),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}ensureHasDestroy(){if(!this.hasDestroy)throw new Error($)}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the autoDestroyDisabled prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.internals.enabledWatchers=this.internals.allWatchers,j(),this._controllers.forEach((t=>"triggerConnected"in t?t.triggerConnected():e(t.hostConnected,t))),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach((t=>"triggerDisconnected"in t?t.triggerDisconnected():e(t.hostDisconnected,t))),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._autoDestroyDisabledWatcher())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const s of t)"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s);await Promise.allSettled(Array.from(this._controllers,(async s=>t.has(s)?void 0:"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s)))),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach((t=>"triggerLoaded"in t?t.triggerLoaded():e(t.hostLoaded,t))),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach((t=>"triggerUpdate"in t?t.triggerUpdate():e(t.hostUpdate,t))),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){if(this._controllers.forEach((t=>"triggerUpdated"in t?t.triggerUpdated():e(t.hostUpdated,t))),this._originalLifecycles.componentDidUpdate?.call(this.component),!this.isLit){const s=this._updatePromise;this._updatePromise=new t,s.resolve(!0)}}async destroy(){if(this.ensureHasDestroy(),!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach((t=>"triggerDestroy"in t?t.triggerDestroy():e(t.hostDestroy,t))),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_autoDestroyDisabledWatcher(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),M))}readonly(t){return this.getSet(t,{set:this._readonlySetter})}getSet(t,s){return this.component.manager.trackPropKey((e=>{var i;if(void 0===e)throw new Error("Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})");s.set===this._readonlySetter&&((i=this.internals).readonlyProps??(i.readonlyProps=new Set),this.internals.readonlyProps.add(e));const o=this.component,n=o[e];if(null!=n&&n!==t&&"function"==typeof s.set&&(s.initialSet??1)){const i=s.set(n,t,e);if(i!==n)if(this.isLit)o[e]=i;else{let t=!0;this.onConnected((()=>{t&&(t=!0,this.bypassSetter((()=>{o[e]=i})))}))}}this.genericGetSet(e,s)}),t)}},$="\nIf the component uses a controller that uses destroy() method, then the\ncomponent must have the following properties:\nautoDestroyDisabled and destroy\n".trim(),M=1e3,O=t=>t,_=t=>(...s)=>{const e=m.internals.retrieveParentControllers(),i=new t(...s),o=i.exports;m.internals.setParentController(e.at(-1));const n=i.component.manager.internals;n.markExports(i,o),i.watchExports((t=>n.markExports(i,t))),m.internals.setAmbientChildController(i);const r=[i.component,...e].reverse();return n.trackKey(r,(t=>void 0===t?void 0:function(t,{host:s,key:e,type:i},o){const n=s,r=n[e]!==o;if(n[e]!==t.exports&&!r&&o!==t.exports&&(n[e]=t.exports),s===t.component&&"prop"===i){const s=t.component.manager.internals;r&&s.markExports(t,n[e]),t.component.manager.watch(e,(e=>{e!==t.exports&&s.markExports(t,e)}))}t.watchExports((()=>{if(n[e]===t.exports)return;const s=t.component.manager;!0===s.internals.readonlyProps?.has(e)?s.bypassReadonly((()=>{n[e]=t.exports})):n[e]=t.exports}))}(i,t,o)),o)},T=t=>R(void 0,t),R=_(class extends m{constructor(t,s){super(t);const e=this.exports;try{m.internals.setAmbientComponent(this.component);const t=s(this.component,this),i=this.exports!==e;if(t instanceof Promise){i||this.setProvisionalExports(t);const s=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await s))}else i&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),q=t=>(s,e)=>I(s,t,e),G=class extends g{constructor(t,s,e){super(t),this._loadAccessor=s,this._options=e,this.reactiveUtils=this.component.reactiveUtils,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(W.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);const o=Array.from(i).find((t=>t instanceof F));o&&i.delete(o),i.add(o??new F(this.component)),t.manager.trackPropKey((t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){const t=this.component;this.reactiveUtils=void 0===t.reactiveUtils?await c():await this.use(t.reactiveUtils);const s=W.gatherParameters(this,this._watchedProperties),e=this._options?.editConstructorProperties?.call(t,s)??s,i=e instanceof Promise?await e:e,o="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=o&&o!==this.exports?(this._instance=o,o.set(i)):this._instance=await this._createInstance(i),t.manager.destroyed||(W.watchComponentUpdates(this,this._instance,this._watchedProperties),W.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},I=_(G),W={makeGetterProxy:(t,s,e)=>new Proxy({},{has:(t,s)=>"string"==typeof s||s in t,get:(i,o)=>{const n=Reflect.get(i,o);return"symbol"==typeof o||o in Promise.prototype||o in i||!(e?.value??1)?n:t.manager.trackKey(t,(t=>{void 0!==t&&s.set(t.key,o)}),n)}}),watchComponentUpdates(t,s,e){function i(t,i){const o=e.get(i),n=s[o];return"boolean"==typeof n&&o!==i&&i.toLowerCase().includes("disable")?!n:n}const o=(t,i,o)=>{const n=e.get(o),r=s[n],h="boolean"==typeof r&&n!==o&&o.toLowerCase().includes("disable");if((h?!r:r)===t)return t;s[n]=h?!t:t;const c=s[n];return h?!c:c},n=t.component.manager.internals;e.forEach(((t,s)=>{n.accessorGetter[s]=i,n.accessorSetter[s]=o}))},watchAccessorUpdates(t,s,e){const{component:i}=t,o=i,n=s,r=function(t){const s=t,e=Object.entries(s.__accessor__?.metadata??{});return new Set(e.filter((([t,s])=>!0===s?.readOnly)).map((([t])=>t)))}(s);i.manager.bypassGetter((()=>e.forEach(((t,s)=>{if(r.has(t))return;const e=o[s],i=n[t],h="boolean"==typeof e&&t!==s&&s.toLowerCase().includes("disable")?!e:e;null!=h&&i!==h&&(n[t]=h)})))),t.onLifecycle((()=>{if(!s.destroyed)return Array.from(e,(([s,e])=>t.reactiveUtils.watch((()=>n[e]),(()=>{const t=n[e],r="boolean"==typeof t&&e!==s&&s.toLowerCase().includes("disable")?!t:t;i.manager.bypassSetter((()=>{o[s]=r}))}),{initial:!0})))}))},gatherParameters(t,s){const{component:e}=t;return Object.fromEntries(Array.from(s,(([t,s])=>[s,e[t]])).filter((([,t])=>void 0!==t)))},reEmitAccessorEvents(t,e,i,o){if(!("on"in e)||"function"!=typeof e.on)return;const n=Object.entries(t.component).map((([t,e])=>{const i=e;if(!t.startsWith(o)||t===o||"object"!=typeof i||null===i||!("emit"in i)||"function"!=typeof i.emit)return;const n=i.emit,r=t.slice(o.length);return[s(r).toLowerCase(),n]})).filter(h);if(0===n.length)return;const r=e,c=()=>r;t.onLifecycle((()=>{if(!e.destroyed)return n.map((([t,s])=>i.on(c,t,s)))}))},async reCreate(t,s){const e=s.manager.useRefSync(t);void 0!==e&&await e.reCreate()}},V=Promise.all([n(),r()]),F=class extends g{async hostLoad(){const[t,{subclass:s,property:e}]=await V;class i extends t{}const o=(t,s)=>d[s];function n(t,s,e){return void 0!==d&&(d[e]=t),t}const r=this.component,h=r.manager.internals,c=[],a=l(this.component);if(r.manager.bypassGetter((()=>a.forEach((t=>{h.accessorSetter[t]!==O||(c.push(t),h.accessorGetter[t]=o,h.accessorSetter[t]=n,e({value:r[t]})(i.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const d=new(s(r.el.tagName)(i));this._instance=d}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((s=>{t.accessorGetter[s]=O,t.accessorSetter[s]=O}))}};export{G as A,W as a,T as b,q as m,_ as p,L as u}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{F as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as o}from"./p-5e462466.js";import{m as a}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const e=a(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=o(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("input","effectiveUnits","progress","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.effectiveUnits=this.viewModel.effectiveUnits,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.label=this.widget.label,this.input=this.widget.input,this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.unit=this.widget.unit,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unitOptions=this.widget.unitOptions,this.hideLegend=this.widget.visibleElements.legend,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}get el(){return i(this)}};p.style="";export{p as arcgis_elevation_profile}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{t as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as o}from"./p-5e462466.js";import{m as a}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const e=a(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetBookmarkEdit=t(this,"arcgisEdit",7),this.widgetBookmarkSelect=t(this,"arcgisSelect",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=o(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="";export{c as arcgis_bookmarks}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{i as h,r as a}from"./p-4cf9fbbd.js";import{l as r,u as o}from"./p-bd26f15f.js";import{u as e}from"./p-5e462466.js";import{m as p}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const m=p(a),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=e(this),this.reactiveUtils=r(h),this.widget=m(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=o()("nextBasemap","state"),this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.referenceElement=void 0,this.nextBasemap=this.widget.nextBasemap,this.showTitle=this.widget.visibleElements.title,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async toggle(){return await(this.widget?.toggle())}get el(){return i(this)}};c.style="";export{c as arcgis_basemap_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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{p as t,A as e,a as s}from"./p-
|
|
6
|
+
import{p as t,A as e,a as s}from"./p-5e462466.js";import"./p-4cf9fbbd.js";import{a as i}from"./p-741b6ceb.js";const o=t=>(e,s)=>h(e,t,s),h=t(class extends e{constructor(t,e,i){super(t,e,i),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:s.makeGetterProxy(t,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.didLoadCalled&&i(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),s.reEmitAccessorEvents(this,this._instance,this.reactiveUtils,"widget"),this.onLifecycle((()=>this.reactiveUtils.watch((()=>this._instance.viewModel),(t=>{this.component.viewModel=t}),{initial:!0})));const t=this._instance.viewModel;if("object"==typeof t)s.reEmitAccessorEvents(this,t,this.reactiveUtils,"viewModel"),s.watchComponentUpdates(this,t,this._watchedViewModelProperties),s.watchAccessorUpdates(this,t,this._watchedViewModelProperties);else if(this._watchedViewModelProperties.size>0)throw new Error(`The widget does not have a viewModel to bind to. Tried to bind the following properties: ${Array.from(this._watchedViewModelProperties.keys()).join(", ")}`);const e=Object.entries(this._watchedVisibleElementsProperties);e.length>0&&this.onLifecycle((()=>e.map((([t,e])=>{let s,i=this._instance.visibleElements??{};for(const t of e.slice(0,-1)){if("object"!=typeof i[t]||null===i[t]){s=Boolean(i[t]);break}i=i[t]}void 0===s&&(s=Boolean(i[e.slice(-1)[0]]??!0)),t.startsWith("hide");const o=t.startsWith("hide")||t.startsWith("show")?t.startsWith("hide"):s,h=this.component;return"boolean"==typeof h[t]?this._updateWidgetVisibleElement(e,h[t],o):h[t]=!1,this.watch(t,(t=>this._updateWidgetVisibleElement(e,t,o)))}))))}_updateWidgetVisibleElement(t,e,s){let i=this._instance.visibleElements??{};for(const e of t.slice(0,-1))"object"==typeof i[e]&&null!==i[e]||(i[e]={}),i=i[e];const o=Boolean(s?!e:e);i[t.at(-1)]=o}hostLoaded(){const{el:t}=this.component;t.childElem??(t.childElem=document.createElement("div")),this._instance.container=t.childElem;let e=!1;const s=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{"view"in this._instance||"object"!=typeof this._instance.viewModel?this._instance.view=t:this._instance.viewModel.view=t,this._watchViewDestroy(),e||(e=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),s&&(this._instance.view=s),this.component.el.isConnected&&(i(this.component),this._watchViewDestroy())}hostDisconnected(){"object"==typeof this.component.el.childElem&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){this.watch("position",(t=>{null!=this.component.el.childElem&&"string"==typeof t&&i(this.component)})),this.watch("referenceElement",(()=>i(this.component)))}_makeVisibleElementsBinder(){return new Proxy({},{has:(t,e)=>"string"==typeof e||Reflect.has(t,e),get:(t,e)=>{if("symbol"==typeof e||e in Promise.prototype)return Reflect.get(t,e);const s=[e],i=this._makeRecursiveProxy(s);return this.component.manager.trackPropKey((t=>{if(void 0===t)throw new Error("Unable to bind visibleElements property. Check for incorrect this.widget.visibleElements usage");this.component[t]=!1,this._watchedVisibleElementsProperties[t]=s}),i)}})}_makeRecursiveProxy(t){const e=new Proxy({},{get:(s,i)=>{const o=Reflect.get(s,i);return"symbol"==typeof i||i in Promise.prototype?o:(t.push(i),e)}});return e}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when((()=>!0===this.component.el.view?.destroyed),(()=>{this.component.destroy().catch(console.error)}),{sync:!0})}});export{o as m}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{I as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import{m as e}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetSubmit=t(this,"arcgisSubmit",7),this.widgetValueChange=t(this,"arcgisValueChange",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.referenceElement=void 0,this.position="bottom-left",this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.layer=this.widget.layer,this.timeZone=this.widget.timeZone,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}get el(){return i(this)}};c.style="";export{c as arcgis_feature_form}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
6
|
function n(n,e){Array.isArray(e)?n._watchHandles=[...n._watchHandles,...e]:n._watchHandles.push(e)}function e(n){const e=function({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(t.has(e.tagName.toLowerCase()))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&t.has(e.ownedBy.tagName.toLowerCase()))return e.ownedBy}}(n);if(!e){const e=p(n.referenceElement);if(!e)return;return r(e,n,!1),e}return function(n,e){if(n!==e)return!1;const t=n.tagName.toLowerCase();return"arcgis-expand"===t||"arcgis-placement"===t}(e,n.el.parent)||(n.el.parent=e,n.el.childElem&&(n.el.childElem.ownedBy=n.el),"arcgis-expand"===e.tagName.toLowerCase()?o(e,n):"arcgis-placement"===e.tagName.toLowerCase()?c(e,n):r(e,n,!0)),e}const t=new Set(["arcgis-map","arcgis-scene","arcgis-expand","arcgis-placement"]);function i(n,e,t="arcgisReady"){const o=n;"boolean"==typeof o.view?.ready?e(o.view):n.addEventListener(t,(()=>i(n,e,t)),{once:!0})}const o=(n,e)=>i(n,(t=>{e.el.childElem&&"object"==typeof n.content&&n.content?.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t})),c=(n,e)=>i(n,(t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t})),r=(n,e,t)=>i(n,(i=>{t?function(n,e){const t=e.el.childElem??e.el,i=[...n.children],o={};for(const n of i){const e=n.getAttribute("position")??"manual";o[e]??(o[e]=[]),o[e].push({child:n,position:e,index:i.indexOf(n)})}const c=o[e.position??"manual"]?.findIndex((({child:n})=>n===e.el));n.view.ui.remove(t),n.view.ui.add(t,{position:e.position,index:c})}(n,e):e.el.childElem&&e.el.append(e.el.childElem),e.el.view=i}),"arcgisViewReadyChange");function a(n){let e=!1,t=n.el.view;const i=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:n=>t=n};Object.defineProperty(n.el,"view",{get:i.get.bind(n),set:t=>{i.set.call(n,t),t&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function s(n){return null==n||""===n}function u(n,e){return void 0===e||n.position!==e.position||n.heading!==e.heading||n.tilt!==e.tilt}function f(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 l(n,e){return void 0===e||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function d(n,e){if("string"==typeof n){const t=n.split(",").map(Number);if(t[0]!==e?.center.longitude&&t[1]!==e?.center.latitude)return t}else if(Array.isArray(n)){if(n[0]!==e?.center.longitude&&n[1]!==e?.center.latitude)return n}else if(n&&!e?.center.equals(n))return n}async function g(n,e){null!=e&&("string"==typeof e?n.el.view=await async function(n){const e=p(n);return await new Promise((n=>{"boolean"==typeof e?.view?.ready?n(e.view):e&&e.addEventListener("arcgisViewReadyChange",(()=>n(e.view)),{once:!0})}))}(e):n.widget&&(n.el.view=e.view))}function p(n){return"string"!=typeof n?n??void 0:(n.includes("#")||n.includes(".")||n.includes("[")?void 0:document.querySelector(`#${n}`))??document.querySelector(n)??void 0}export{e as a,s as b,u as c,a as d,f as e,n as f,l as i,d as p,g 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
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-bb3f85d0.js";import{ae as a}from"./p-4cf9fbbd.js";import{r,d as o,a as h}from"./p-741b6ceb.js";import{o as c}from"./p-ae113369.js";const n=class{constructor(e){t(this,e),this.arcgisReady=i(this,"arcgisReady",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){r(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.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,this._addContainer(),o(this),h(this)}disconnectedCallback(){c(this)}render(){return e("div",{key:"b799fc1c383c67bd8690ce4b0df49625493d1b1e",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();const t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="arcgis-utility-network-validate-topology{}";export{n 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-bb3f85d0.js";import{ad as h,i as a}from"./p-4cf9fbbd.js";import{r,d as c,a as o,f as d}from"./p-741b6ceb.js";import{o as l}from"./p-ae113369.js";const n=class{constructor(i){t(this,i),this.arcgisReady=s(this,"arcgisReady",7),this.arcgisAddFlag=s(this,"arcgisAddFlag",7),this.arcgisAddFlagComplete=s(this,"arcgisAddFlagComplete",7),this.arcgisAddFlagError=s(this,"arcgisAddFlagError",7),this.arcgisAddResultArea=s(this,"arcgisAddResultArea",7),this.arcgisRemoveResultArea=s(this,"arcgisRemoveResultArea",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){r(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.el.childElem&&this.view.ui.move(this.el.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(),c(this),o(this)}disconnectedCallback(){l(this)}render(){return i("div",{key:"4257b9b2ace37e83f8aa3c6f0d6fb3d69353112a",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){const{watch:t}=await a();d(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.arcgisAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.arcgisAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.arcgisAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.arcgisAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.arcgisRemoveResultArea.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"]}}};n.style="";export{n 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{m as h}from"./p-4cf9fbbd.js";import{u as a}from"./p-bd26f15f.js";import{u as r}from"./p-5e462466.js";import{m as o}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const e=o(h),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("analysis","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.analysis=this.widget.analysis,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}get el(){return i(this)}};m.style="";export{m as arcgis_area_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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{q as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import{m as o}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.label=this.widget.label,this.referenceElement=void 0,this.baseFilterText=this.widget.baseFilterText,this.baseItems=this.widget.baseItems,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogLayerList=this.widget.catalogLayerList,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.icon=this.widget.icon,this.minFilterItems=this.widget.minFilterItems,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.visibilityAppearance=this.widget.visibilityAppearance,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_basemap_layer_list}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{M as h}from"./p-4cf9fbbd.js";import{m as o}from"./p-6ebe96fc.js";import{u as r}from"./p-5e462466.js";import"./p-741b6ceb.js";const a=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.manager=r(this),this.widget=a(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.referenceElement=void 0,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.level=this.widget.level,this.longNames=this.widget.longNames,this.site=this.widget.site,this.position="bottom-left"}async destroy(){await this.manager.destroy()}async updateWebDocument(s){this.widget?.updateWebDocument(s)}get el(){return i(this)}};e.style="";export{e 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{p as s,A as t,a as i}from"./p-
|
|
6
|
+
import{p as s,A as t,a as i}from"./p-5e462466.js";import"./p-4cf9fbbd.js";import{a as e}from"./p-741b6ceb.js";import{m as h}from"./p-bd26f15f.js";import{a as o}from"./p-bb3f85d0.js";const a=s=>(t,i)=>r(t,s,i),r=s(class extends t{hostConnected(){this.component.manager.didLoadCalled&&e(this.component)}async hostLoad(){await super.hostLoad(),this.component.manager.destroyed||(this._watchMetaProperties(),i.reEmitAccessorEvents(this,this._instance,this.reactiveUtils,"viewModel"))}hostLoaded(){const{el:s}=this.component;s.childElem=s.shadowRoot?.firstElementChild??s.firstElementChild??void 0??s.childElem;let t=!1;const i=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:s=>{this._instance.view=s,this._watchViewDestroy(),this.component.requestUpdate(),t||(t=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),i&&(this._instance.view=i),this.component.el.isConnected&&(e(this.component),this._watchViewDestroy())}hostDisconnected(){"object"==typeof this.component.el.childElem&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){this.watch("position",(s=>{null!=this.component.el.childElem&&"string"==typeof s&&e(this.component)})),this.watch("referenceElement",(()=>e(this.component)))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when((()=>!0===this.component.el.view?.destroyed),(()=>{this.component.destroy().catch(console.error)}),{sync:!0})}}),c=h(o);export{a as m,c as u}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.3
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-bb3f85d0.js";import{a9 as h}from"./p-4cf9fbbd.js";import{u as r}from"./p-bd26f15f.js";import{u as a}from"./p-5e462466.js";import{m as o}from"./p-6ebe96fc.js";import"./p-741b6ceb.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.manager=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,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.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="arcgis-table-list{}";export{c as arcgis_table_list}
|