@arcgis/map-components 4.30.0-next.0 → 4.30.0-next.2
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/README.md +2 -0
- 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-d9a19770.js → p-0267ce0c.js} +1 -1
- package/dist/arcgis-map-components/p-06a2ba7b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-5e069e98.entry.js → p-0d2777ed.entry.js} +2 -2
- package/dist/arcgis-map-components/p-0dce76b1.entry.js +6 -0
- package/dist/arcgis-map-components/p-17c04d94.entry.js +6 -0
- package/dist/arcgis-map-components/p-1ad1ba81.entry.js +6 -0
- package/dist/arcgis-map-components/p-1dd7ee53.entry.js +6 -0
- package/dist/arcgis-map-components/{p-4a944613.entry.js → p-1eed2237.entry.js} +2 -2
- package/dist/arcgis-map-components/p-2129411c.entry.js +6 -0
- package/dist/arcgis-map-components/{p-8c98b8d3.entry.js → p-233ff7c9.entry.js} +2 -2
- package/dist/arcgis-map-components/p-27c040f3.entry.js +6 -0
- package/dist/arcgis-map-components/p-2d4ac961.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e92ea069.entry.js → p-351d284e.entry.js} +2 -2
- package/dist/arcgis-map-components/p-3a8731e9.entry.js +6 -0
- package/dist/arcgis-map-components/{p-fbffd7df.entry.js → p-4a6447be.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b17fb0f6.entry.js → p-51659616.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e6c29e63.entry.js → p-51d883e7.entry.js} +2 -2
- package/dist/arcgis-map-components/p-5ccaed65.entry.js +6 -0
- package/dist/arcgis-map-components/{p-90759626.entry.js → p-63916df3.entry.js} +2 -2
- package/dist/arcgis-map-components/p-708a209b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-b05b6605.entry.js → p-72531b22.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dfc37886.entry.js → p-77896f73.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8771aae5.entry.js → p-7a448687.entry.js} +2 -2
- package/dist/arcgis-map-components/p-7b70c205.entry.js +6 -0
- package/dist/arcgis-map-components/{p-ff0e6255.entry.js → p-835253cf.entry.js} +2 -2
- package/dist/arcgis-map-components/p-909ece35.entry.js +6 -0
- package/dist/arcgis-map-components/p-979215ed.entry.js +6 -0
- package/dist/arcgis-map-components/p-9b1b911a.entry.js +6 -0
- package/dist/arcgis-map-components/{p-d8d56dce.entry.js → p-9e192593.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0ae93962.entry.js → p-9ff6201d.entry.js} +2 -2
- package/dist/arcgis-map-components/p-a0d33f63.entry.js +6 -0
- package/dist/arcgis-map-components/{p-8fd8e30f.entry.js → p-a8ec59c6.entry.js} +2 -2
- package/dist/arcgis-map-components/p-a99a4407.entry.js +6 -0
- package/dist/arcgis-map-components/{p-d2249660.js → p-ab228eed.js} +1 -1
- package/dist/arcgis-map-components/{p-8732eaf2.entry.js → p-b376d392.entry.js} +2 -2
- package/dist/arcgis-map-components/p-b5f05f22.entry.js +6 -0
- package/dist/arcgis-map-components/{p-12996569.entry.js → p-b6f76f42.entry.js} +2 -2
- package/dist/arcgis-map-components/p-bbe2afe8.entry.js +6 -0
- package/dist/arcgis-map-components/p-bbe4ba5e.entry.js +6 -0
- package/dist/arcgis-map-components/{p-d21cf3c7.entry.js → p-bc078276.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4d1f49e0.entry.js → p-bf45b65a.entry.js} +2 -2
- package/dist/arcgis-map-components/p-c69be395.entry.js +6 -0
- package/dist/arcgis-map-components/{p-889625b0.entry.js → p-c89a56d0.entry.js} +2 -2
- package/dist/arcgis-map-components/p-ccc8e0f6.entry.js +6 -0
- package/dist/arcgis-map-components/{p-b126db10.entry.js → p-ccf10372.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0700d3a0.js → p-cfb0b3db.js} +1 -1
- package/dist/arcgis-map-components/p-d1e5708d.entry.js +6 -0
- package/dist/arcgis-map-components/p-d56a8bf6.entry.js +6 -0
- package/dist/arcgis-map-components/p-db38814e.entry.js +6 -0
- package/dist/arcgis-map-components/{p-f7e9fda9.entry.js → p-db5d7d8f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-76dd8345.entry.js → p-dcf10185.entry.js} +2 -2
- package/dist/arcgis-map-components/p-df2c2388.entry.js +6 -0
- package/dist/arcgis-map-components/{p-fe3ee617.entry.js → p-e072e7dc.entry.js} +2 -2
- package/dist/arcgis-map-components/p-e5ff4fbc.entry.js +6 -0
- package/dist/arcgis-map-components/{p-f233b76c.js → p-e6ce333d.js} +1 -1
- package/dist/arcgis-map-components/p-e9f976ba.entry.js +6 -0
- package/dist/arcgis-map-components/p-eb192e4a.entry.js +6 -0
- package/dist/arcgis-map-components/p-f0d64573.entry.js +6 -0
- package/dist/arcgis-map-components/p-f7585411.entry.js +6 -0
- package/dist/arcgis-map-components/p-fdbd2da0.entry.js +6 -0
- package/dist/arcgis-map-components/p-fe1d05f2.entry.js +6 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -6
- package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +9 -7
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-compass.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directions.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-expand.cjs.entry.js +13 -10
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-home.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +12 -9
- package/dist/cjs/arcgis-legend.cjs.entry.js +5 -6
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-locate.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-map-components.cjs.js +3 -3
- package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-print.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-search.cjs.entry.js +5 -6
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -6
- package/dist/cjs/arcgis-slice.cjs.entry.js +5 -6
- package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-table-list.cjs.entry.js +10 -7
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-track.cjs.entry.js +5 -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 +5 -5
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-version-management.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-weather.cjs.entry.js +5 -7
- package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -7
- package/dist/cjs/{component-utils-0d50aa15.js → component-utils-8ddd5329.js} +1 -1
- package/dist/cjs/{disconnected-2c764d2f.js → disconnected-ba8ad352.js} +1 -1
- package/dist/cjs/{index-e56d0dbb.js → index-ac67e16f.js} +1 -1
- package/dist/cjs/{index-1f08334f.js → index-b53b6fca.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/components/arcgis-area-measurement-2d.js +1 -3
- package/dist/components/arcgis-area-measurement-3d.js +1 -2
- package/dist/components/arcgis-assets.js +12 -0
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -3
- package/dist/components/arcgis-basemap-layer-list.js +6 -4
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -3
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -3
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -3
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -3
- package/dist/components/arcgis-directline-measurement-3d.js +1 -3
- package/dist/components/arcgis-distance-measurement-2d.js +1 -3
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -3
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +2 -2
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -3
- package/dist/components/arcgis-layer-list.js +9 -6
- package/dist/components/arcgis-legend.js +1 -2
- package/dist/components/arcgis-line-of-sight.js +1 -3
- package/dist/components/arcgis-locate.js +1 -3
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +1 -3
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -2
- package/dist/components/arcgis-shadow-cast.js +1 -3
- package/dist/components/arcgis-sketch.js +1 -2
- package/dist/components/arcgis-slice.js +1 -2
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +7 -4
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -3
- 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 +7 -6
- package/dist/components/arcgis-weather.js +1 -3
- package/dist/components/arcgis-zoom.js +1 -3
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/expand.js +12 -9
- package/dist/components/index.js +3 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/version-management-service-item.js +4 -4
- package/dist/components/version-management-version-item.js +5 -5
- package/dist/components/version-management-version-list.js +7 -7
- package/dist/components/version-management-version-properties.js +10 -10
- package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -7
- package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -6
- package/dist/esm/arcgis-attachments.entry.js +5 -5
- package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -7
- package/dist/esm/arcgis-basemap-layer-list.entry.js +9 -7
- package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
- package/dist/esm/arcgis-bookmarks.entry.js +5 -7
- package/dist/esm/arcgis-building-explorer.entry.js +5 -5
- package/dist/esm/arcgis-compass.entry.js +5 -7
- package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
- package/dist/esm/arcgis-daylight.entry.js +5 -7
- package/dist/esm/arcgis-directional-pad.entry.js +5 -5
- package/dist/esm/arcgis-directions.entry.js +5 -7
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -7
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -7
- package/dist/esm/arcgis-editor.entry.js +5 -5
- package/dist/esm/arcgis-elevation-profile.entry.js +5 -7
- package/dist/esm/arcgis-expand.entry.js +13 -10
- package/dist/esm/arcgis-feature-form.entry.js +5 -5
- package/dist/esm/arcgis-feature-table.entry.js +5 -5
- package/dist/esm/arcgis-feature-templates.entry.js +5 -5
- package/dist/esm/arcgis-feature.entry.js +5 -5
- package/dist/esm/arcgis-features.entry.js +5 -5
- package/dist/esm/arcgis-floor-filter.entry.js +5 -5
- package/dist/esm/arcgis-fullscreen.entry.js +5 -5
- package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-histogram.entry.js +4 -4
- package/dist/esm/arcgis-home.entry.js +5 -7
- package/dist/esm/arcgis-layer-list.entry.js +12 -9
- package/dist/esm/arcgis-legend.entry.js +5 -6
- package/dist/esm/arcgis-line-of-sight.entry.js +5 -7
- package/dist/esm/arcgis-locate.entry.js +5 -7
- package/dist/esm/arcgis-map-components.js +4 -4
- package/dist/esm/arcgis-measurement.entry.js +5 -5
- package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
- package/dist/esm/arcgis-placement.entry.js +4 -4
- package/dist/esm/arcgis-print.entry.js +5 -7
- package/dist/esm/arcgis-scale-bar.entry.js +5 -5
- package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-scene.entry.js +4 -4
- package/dist/esm/arcgis-search.entry.js +5 -6
- package/dist/esm/arcgis-shadow-cast.entry.js +5 -7
- package/dist/esm/arcgis-sketch.entry.js +5 -6
- package/dist/esm/arcgis-slice.entry.js +5 -6
- package/dist/esm/arcgis-slider.entry.js +5 -5
- package/dist/esm/arcgis-swipe.entry.js +5 -5
- package/dist/esm/arcgis-table-list.entry.js +10 -7
- package/dist/esm/arcgis-time-slider.entry.js +5 -5
- package/dist/esm/arcgis-track.entry.js +5 -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 +5 -5
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +3 -3
- package/dist/esm/arcgis-version-management.entry.js +3 -3
- package/dist/esm/arcgis-weather.entry.js +5 -7
- package/dist/esm/arcgis-zoom.entry.js +5 -7
- package/dist/esm/{component-utils-30a85514.js → component-utils-06832b0f.js} +1 -1
- package/dist/esm/{disconnected-af09b2b8.js → disconnected-ae43b5de.js} +1 -1
- package/dist/esm/{index-70e6e7ee.js → index-955d468e.js} +1 -1
- package/dist/esm/{index-89efa25e.js → index-c8478785.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/expand/expand.d.ts +1 -0
- package/package.json +9 -9
- package/dist/arcgis-map-components/p-1c77c688.entry.js +0 -6
- package/dist/arcgis-map-components/p-23019762.entry.js +0 -6
- package/dist/arcgis-map-components/p-25c223e1.entry.js +0 -6
- package/dist/arcgis-map-components/p-25e495f9.entry.js +0 -6
- package/dist/arcgis-map-components/p-26dc7c9b.entry.js +0 -6
- package/dist/arcgis-map-components/p-30300164.entry.js +0 -6
- package/dist/arcgis-map-components/p-32fe7b64.entry.js +0 -6
- package/dist/arcgis-map-components/p-43d5a498.entry.js +0 -6
- package/dist/arcgis-map-components/p-47625a50.entry.js +0 -6
- package/dist/arcgis-map-components/p-5180a9b2.entry.js +0 -6
- package/dist/arcgis-map-components/p-52891360.entry.js +0 -6
- package/dist/arcgis-map-components/p-6251bf12.entry.js +0 -6
- package/dist/arcgis-map-components/p-741daf71.entry.js +0 -6
- package/dist/arcgis-map-components/p-7a385e15.entry.js +0 -6
- package/dist/arcgis-map-components/p-8006c481.entry.js +0 -6
- package/dist/arcgis-map-components/p-86efcded.entry.js +0 -6
- package/dist/arcgis-map-components/p-882d7747.entry.js +0 -6
- package/dist/arcgis-map-components/p-8dfc9cf6.entry.js +0 -6
- package/dist/arcgis-map-components/p-9574b6f5.entry.js +0 -6
- package/dist/arcgis-map-components/p-9a67aea3.entry.js +0 -6
- package/dist/arcgis-map-components/p-a7b8b73f.entry.js +0 -6
- package/dist/arcgis-map-components/p-c5954fc6.entry.js +0 -6
- package/dist/arcgis-map-components/p-d05413e0.entry.js +0 -6
- package/dist/arcgis-map-components/p-d9ee6266.entry.js +0 -6
- package/dist/arcgis-map-components/p-db7e1bfd.entry.js +0 -6
- package/dist/arcgis-map-components/p-e1091a31.entry.js +0 -6
- package/dist/arcgis-map-components/p-e28fd844.entry.js +0 -6
- package/dist/arcgis-map-components/p-e408573f.entry.js +0 -6
- package/dist/arcgis-map-components/p-e811953d.entry.js +0 -6
- package/dist/arcgis-map-components/p-ef56bb4d.entry.js +0 -6
- package/dist/arcgis-map-components/p-f4d58504.entry.js +0 -6
- package/dist/arcgis-map-components/p-f61fa8a5.entry.js +0 -6
- package/dist/arcgis-map-components/p-fbb5c5f6.entry.js +0 -6
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{c as h,i as a}from"./p-ab228eed.js";import{r,c,a as o}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement2dReady=i(this,"arcgisAreaMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.arcgisAreaMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as s}from"./p-
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-e6ce333d.js";import{v as h,i as n}from"./p-ab228eed.js";import{r as a,c as o,a as c}from"./p-0267ce0c.js";import{o as r}from"./p-cfb0b3db.js";const l=class{constructor(i){t(this,i),this.arcgisFeatureReady=e(this,"arcgisFeatureReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=!1,this.graphic=void 0,this.location=void 0,this.map=void 0,this.spatialReference=void 0,this.visibleElementsTitle=!0,this.visibleElementsContentAttachments=!0,this.visibleElementsContentFields=!0,this.visibleElementsContentMedia=!0,this.visibleElementsContentText=!0,this.visibleElementsContentExpression=!0,this.visibleElementsLastEditInfo=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}locationWatcher(t){this.widget&&(this.widget.viewModel.location=t)}spatialReferenceWatcher(t){this.widget&&(this.widget.spatialReference=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}visibleElementsContentAttachmentsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,attachments:t}})}visibleElementsContentFieldsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,fields:t}})}visibleElementsContentMediaWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,media:t}})}visibleElementsContentTextWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,text:t}})}visibleElementsContentExpressionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,expression:t}})}visibleElementsLastEditInfoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,lastEditInfo:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,e){this.widget?.setActiveMedia(t,e)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisFeatureReady.emit(),o(this)}disconnectedCallback(){r(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();c(this,t((()=>this.widget.view?.map),(t=>this.map=t)))}_createParams(){const t={};return t.visibleElements={title:this.visibleElementsTitle,content:{attachments:this.visibleElementsContentAttachments,fields:this.visibleElementsContentFields,media:this.visibleElementsContentMedia,text:this.visibleElementsContentText,expression:this.visibleElementsContentExpression},lastEditInfo:this.visibleElementsLastEditInfo},void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),this.spatialReference&&(t.spatialReference=this.spatialReference),t}_setViewModelParams(){const t={};this.location&&(t.location=this.location),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],location:["locationWatcher"],spatialReference:["spatialReferenceWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],visibleElementsContentAttachments:["visibleElementsContentAttachmentsWatcher"],visibleElementsContentFields:["visibleElementsContentFieldsWatcher"],visibleElementsContentMedia:["visibleElementsContentMediaWatcher"],visibleElementsContentText:["visibleElementsContentTextWatcher"],visibleElementsContentExpression:["visibleElementsContentExpressionWatcher"],visibleElementsLastEditInfo:["visibleElementsLastEditInfoWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_feature}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-e6ce333d.js";import{m as h}from"./p-ab228eed.js";import{r as a,c as r}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const l=class{constructor(i){t(this,i),this.arcgisDaylightReady=e(this,"arcgisDaylightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.currentSeason=void 0,this.dayPlaying=!1,this.yearPlaying=!1,this.dateOrSeason="date",this.icon=void 0,this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.visibleElementsHeader=!0,this.visibleElementsPlayButtons=!0,this.visibleElementsDatePicker=!0,this.visibleElementsTimezone=!0,this.visibleElementsSunLightingToggle=!0,this.visibleElementsShadowsToggle=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}currentSeasonWatcher(t){this.widget&&(this.widget.viewModel.currentSeason=t)}dayPlayingWatcher(t){this.widget&&(this.widget.viewModel.dayPlaying=t)}yearPlayingWatcher(t){this.widget&&(this.widget.viewModel.yearPlaying=t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements.header=t)}visibleElementsPlayButtonsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,playButtons:t})}visibleElementsDatePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,datePicker:t})}visibleElementsTimezoneWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timezone:t})}visibleElementsSunLightingToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,sunLightingToggle:t})}visibleElementsShadowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,shadowsToggle:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),this.arcgisDaylightReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader,playButtons:this.visibleElementsPlayButtons,datePicker:this.visibleElementsDatePicker,timezone:this.visibleElementsTimezone,sunLightingToggle:this.visibleElementsSunLightingToggle,shadowsToggle:this.visibleElementsShadowsToggle},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}_setViewModelParams(){const t={dayPlaying:this.dayPlaying,yearPlaying:this.yearPlaying};this.currentSeason&&(t.currentSeason=this.currentSeason),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],currentSeason:["currentSeasonWatcher"],dayPlaying:["dayPlayingWatcher"],yearPlaying:["yearPlayingWatcher"],dateOrSeason:["dateOrSeasonWatcher"],icon:["iconWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsPlayButtons:["visibleElementsPlayButtonsWatcher"],visibleElementsDatePicker:["visibleElementsDatePickerWatcher"],visibleElementsTimezone:["visibleElementsTimezoneWatcher"],visibleElementsSunLightingToggle:["visibleElementsSunLightingToggleWatcher"],visibleElementsShadowsToggle:["visibleElementsShadowsToggleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_daylight}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
const t="define"in window&&"function"==typeof window.define&&"amd"in window.define;function i(t){return void 0!==t.default}async function a(t){return await new Promise((i=>window.require([t],(t=>{i(t)}))))}async function n(n){return new(await async function(){if(t)return await a("esri/layers/FeatureLayer");const n=await import("@arcgis/core/layers/FeatureLayer.js");return i(n)?n.default:n}())(n)}async function r(n){return new(await async function(){if(t)return await a("esri/layers/GraphicsLayer");const n=await import("@arcgis/core/layers/GraphicsLayer.js");return i(n)?n.default:n}())(n)}async function e(n){return new(await async function(){if(t)return await a("esri/layers/RouteLayer");const n=await import("@arcgis/core/layers/RouteLayer.js");return i(n)?n.default:n}())(n)}async function s(n){return new(await async function(){if(t)return await a("esri/views/MapView");const n=await import("@arcgis/core/views/MapView.js");return i(n)?n.default:n}())(n)}async function c(n){return new(await async function(){if(t)return await a("esri/views/SceneView");const n=await import("@arcgis/core/views/SceneView.js");return i(n)?n.default:n}())(n)}async function o(n){return new(await async function(){if(t)return await a("esri/WebMap");const n=await import("@arcgis/core/WebMap.js");return i(n)?n.default:n}())(n)}async function w(n){return new(await async function(){if(t)return await a("esri/WebScene");const n=await import("@arcgis/core/WebScene.js");return i(n)?n.default:n}())(n)}async function u(n){return new(await async function(){if(t)return await a("esri/widgets/AreaMeasurement2D");const n=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return i(n)?n.default:n}())(n)}async function g(n){return new(await async function(){if(t)return await a("esri/widgets/AreaMeasurement3D");const n=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return i(n)?n.default:n}())(n)}async function f(n){return new(await async function(){if(t)return await a("esri/widgets/Attachments");const n=await import("@arcgis/core/widgets/Attachments.js");return i(n)?n.default:n}())(n)}async function y(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapGallery");const n=await import("@arcgis/core/widgets/BasemapGallery.js");return i(n)?n.default:n}())(n)}async function d(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapLayerList");const n=await import("@arcgis/core/widgets/BasemapLayerList.js");return i(n)?n.default:n}())(n)}async function m(n){return new(await async function(){if(t)return await a("esri/widgets/BasemapToggle");const n=await import("@arcgis/core/widgets/BasemapToggle.js");return i(n)?n.default:n}())(n)}async function p(n){return new(await async function(){if(t)return await a("esri/widgets/Bookmarks");const n=await import("@arcgis/core/widgets/Bookmarks.js");return i(n)?n.default:n}())(n)}async function l(n){return new(await async function(){if(t)return await a("esri/widgets/BuildingExplorer");const n=await import("@arcgis/core/widgets/BuildingExplorer.js");return i(n)?n.default:n}())(n)}async function j(n){return new(await async function(){if(t)return await a("esri/widgets/Compass");const n=await import("@arcgis/core/widgets/Compass.js");return i(n)?n.default:n}())(n)}async function S(n){return new(await async function(){if(t)return await a("esri/widgets/CoordinateConversion");const n=await import("@arcgis/core/widgets/CoordinateConversion.js");return i(n)?n.default:n}())(n)}async function L(n){return new(await async function(){if(t)return await a("esri/widgets/Daylight");const n=await import("@arcgis/core/widgets/Daylight.js");return i(n)?n.default:n}())(n)}async function F(n){return new(await async function(){if(t)return await a("esri/widgets/DirectionalPad");const n=await import("@arcgis/core/widgets/DirectionalPad.js");return i(n)?n.default:n}())(n)}async function M(n){return new(await async function(){if(t)return await a("esri/widgets/Directions");const n=await import("@arcgis/core/widgets/Directions.js");return i(n)?n.default:n}())(n)}async function D(n){return new(await async function(){if(t)return await a("esri/widgets/DirectLineMeasurement3D");const n=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return i(n)?n.default:n}())(n)}async function T(n){return new(await async function(){if(t)return await a("esri/widgets/DistanceMeasurement2D");const n=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return i(n)?n.default:n}())(n)}async function h(n){return new(await async function(){if(t)return await a("esri/widgets/Editor");const n=await import("@arcgis/core/widgets/Editor.js");return i(n)?n.default:n}())(n)}async function k(n){return new(await async function(){if(t)return await a("esri/widgets/ElevationProfile");const n=await import("@arcgis/core/widgets/ElevationProfile.js");return i(n)?n.default:n}())(n)}async function V(n){return new(await async function(){if(t)return await a("esri/widgets/Expand");const n=await import("@arcgis/core/widgets/Expand.js");return i(n)?n.default:n}())(n)}async function v(n){return new(await async function(){if(t)return await a("esri/widgets/Feature");const n=await import("@arcgis/core/widgets/Feature.js");return i(n)?n.default:n}())(n)}async function B(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureForm");const n=await import("@arcgis/core/widgets/FeatureForm.js");return i(n)?n.default:n}())(n)}async function P(n){return new(await async function(){if(t)return await a("esri/widgets/Features");const n=await import("@arcgis/core/widgets/Features.js");return i(n)?n.default:n}())(n)}async function b(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureTable");const n=await import("@arcgis/core/widgets/FeatureTable.js");return i(n)?n.default:n}())(n)}async function A(n){return new(await async function(){if(t)return await a("esri/widgets/FeatureTemplates");const n=await import("@arcgis/core/widgets/FeatureTemplates.js");return i(n)?n.default:n}())(n)}async function C(n){return new(await async function(){if(t)return await a("esri/widgets/FloorFilter");const n=await import("@arcgis/core/widgets/FloorFilter.js");return i(n)?n.default:n}())(n)}async function E(n){return new(await async function(){if(t)return await a("esri/widgets/Fullscreen");const n=await import("@arcgis/core/widgets/Fullscreen.js");return i(n)?n.default:n}())(n)}async function N(n){return new(await async function(){if(t)return await a("esri/widgets/Histogram");const n=await import("@arcgis/core/widgets/Histogram.js");return i(n)?n.default:n}())(n)}async function U(n){return new(await async function(){if(t)return await a("esri/widgets/HistogramRangeSlider");const n=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return i(n)?n.default:n}())(n)}async function H(n){return new(await async function(){if(t)return await a("esri/widgets/Home");const n=await import("@arcgis/core/widgets/Home.js");return i(n)?n.default:n}())(n)}async function R(n){return new(await async function(){if(t)return await a("esri/widgets/LayerList");const n=await import("@arcgis/core/widgets/LayerList.js");return i(n)?n.default:n}())(n)}async function W(n){return new(await async function(){if(t)return await a("esri/widgets/Legend");const n=await import("@arcgis/core/widgets/Legend.js");return i(n)?n.default:n}())(n)}async function x(n){return new(await async function(){if(t)return await a("esri/widgets/LineOfSight");const n=await import("@arcgis/core/widgets/LineOfSight.js");return i(n)?n.default:n}())(n)}async function G(n){return new(await async function(){if(t)return await a("esri/widgets/Locate");const n=await import("@arcgis/core/widgets/Locate.js");return i(n)?n.default:n}())(n)}async function O(n){return new(await async function(){if(t)return await a("esri/widgets/Measurement");const n=await import("@arcgis/core/widgets/Measurement.js");return i(n)?n.default:n}())(n)}async function Z(n){return new(await async function(){if(t)return await a("esri/widgets/NavigationToggle");const n=await import("@arcgis/core/widgets/NavigationToggle.js");return i(n)?n.default:n}())(n)}async function q(n){return new(await async function(){if(t)return await a("esri/widgets/Print");const n=await import("@arcgis/core/widgets/Print.js");return i(n)?n.default:n}())(n)}async function z(n){return new(await async function(){if(t)return await a("esri/widgets/ScaleBar");const n=await import("@arcgis/core/widgets/ScaleBar.js");return i(n)?n.default:n}())(n)}async function I(n){return new(await async function(){if(t)return await a("esri/widgets/ScaleRangeSlider");const n=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return i(n)?n.default:n}())(n)}async function J(n){return new(await async function(){if(t)return await a("esri/widgets/Search");const n=await import("@arcgis/core/widgets/Search.js");return i(n)?n.default:n}())(n)}async function K(n){return new(await async function(){if(t)return await a("esri/widgets/ShadowCast");const n=await import("@arcgis/core/widgets/ShadowCast.js");return i(n)?n.default:n}())(n)}async function Q(n){return new(await async function(){if(t)return await a("esri/widgets/Sketch");const n=await import("@arcgis/core/widgets/Sketch.js");return i(n)?n.default:n}())(n)}async function X(n){return new(await async function(){if(t)return await a("esri/widgets/Slice");const n=await import("@arcgis/core/widgets/Slice.js");return i(n)?n.default:n}())(n)}async function Y(n){return new(await async function(){if(t)return await a("esri/widgets/Slider");const n=await import("@arcgis/core/widgets/Slider.js");return i(n)?n.default:n}())(n)}async function $(n){return new(await async function(){if(t)return await a("esri/widgets/Swipe");const n=await import("@arcgis/core/widgets/Swipe.js");return i(n)?n.default:n}())(n)}async function _(n){return new(await async function(){if(t)return await a("esri/widgets/TableList");const n=await import("@arcgis/core/widgets/TableList.js");return i(n)?n.default:n}())(n)}async function tt(n){return new(await async function(){if(t)return await a("esri/widgets/TimeSlider");const n=await import("@arcgis/core/widgets/TimeSlider.js");return i(n)?n.default:n}())(n)}async function it(n){return new(await async function(){if(t)return await a("esri/widgets/Track");const n=await import("@arcgis/core/widgets/Track.js");return i(n)?n.default:n}())(n)}async function at(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkAssociations");const n=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return i(n)?n.default:n}())(n)}async function nt(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkTrace");const n=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return i(n)?n.default:n}())(n)}async function rt(n){return new(await async function(){if(t)return await a("esri/widgets/UtilityNetworkValidateTopology");const n=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return i(n)?n.default:n}())(n)}async function et(n){return new(await async function(){if(t)return await a("esri/widgets/ValuePicker");const n=await import("@arcgis/core/widgets/ValuePicker.js");return i(n)?n.default:n}())(n)}async function st(n){return new(await async function(){if(t)return await a("esri/widgets/VersionManagement/VersionManagementViewModel");const n=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return i(n)?n.default:n}())(n)}async function ct(n){return new(await async function(){if(t)return await a("esri/widgets/Weather");const n=await import("@arcgis/core/widgets/Weather.js");return i(n)?n.default:n}())(n)}async function ot(n){return new(await async function(){if(t)return await a("esri/widgets/Zoom");const n=await import("@arcgis/core/widgets/Zoom.js");return i(n)?n.default:n}())(n)}async function wt(){if(t)return await a("esri/core/reactiveUtils");const n=await import("@arcgis/core/core/reactiveUtils.js");return i(n)?n.default:n}export{at as $,P as A,C as B,E as C,N as D,U as E,H as F,R as G,W as H,x as I,G as J,O as K,Z as L,q as M,z as N,I as O,w as P,c as Q,J as R,K as S,Q as T,r as U,X as V,Y as W,$ as X,_ as Y,tt as Z,it as _,o as a,nt as a0,rt as a1,et as a2,st as a3,ct as a4,ot as a5,V as a6,s as b,u as c,g as d,f as e,d as f,m as g,p as h,wt as i,l as j,j as k,S as l,L as m,y as n,F as o,e as p,M as q,D as r,T as s,h as t,k as u,v,B as w,n as x,b as y,A as z}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-
|
|
6
|
+
import{r as e,c as t,h as i,g as s}from"./p-e6ce333d.js";import{x as h,y as l,i as n}from"./p-ab228eed.js";import{r as a,i as o,c as r,a as c}from"./p-0267ce0c.js";import{o as m}from"./p-cfb0b3db.js";const d=class{constructor(i){e(this,i),this.arcgisFeatureTableReady=t(this,"arcgisFeatureTableReady",7),this.featureTableSelectionChange=t(this,"featureTableSelectionChange",7),this._watchHandles=[],this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=[],this.attachmentsEnabled=!1,this.autoRefreshEnabled=!0,this.columnReorderingEnabled=!0,this.columns=void 0,this.editingEnabled=!1,this.filterGeometry=void 0,this.hiddenFields=!0,this.highlightEnabled=!0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=!1,this.pageSize=50,this.returnGeometryEnabled=!1,this.state=void 0,this.tableTemplate=void 0,this.timeZone=void 0,this.itemId=void 0,this.url=void 0,this.visibleElementsHeader=!0,this.visibleElementsMenu=!0,this.visibleElementsSelectionColumn=!0,this.visibleElementsColumnMenus=!0,this.visibleElementsMenuItemsClearSelection=!0,this.visibleElementsMenuItemsDeleteSelection=!0,this.visibleElementsMenuItemsRefreshData=!0,this.visibleElementsMenuItemsSelectedRecordsShowAllToggle=!0,this.visibleElementsMenuItemsToggleColumns=!0,this.visibleElementsMenuItemsZoomToSelection=!0,this.view=void 0,this.widget=void 0}referenceElementWatcher(e){a(this,e)}attachmentsEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.attachmentsEnabled=e)}autoRefreshEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.autoRefreshEnabled=e)}columnReorderingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.columnReorderingEnabled=e)}editingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.editingEnabled=e)}filterGeometryWatcher(e){e&&this.widget&&(this.widget.filterGeometry=e)}hiddenFieldsWatcher(e){e&&this.widget&&(this.widget.hiddenFields=e)}highlightEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.highlightEnabled=e)}highlightIdsWatcher(e){e&&this.widget&&(this.widget.highlightIds=e)}layerWatcher(e){e&&this.widget?this.widget.layer=e:e||(this.widget.layer=null)}menuConfigWatcher(e){e&&this.widget&&(this.widget.menuConfig=e)}multiSortEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.multiSortEnabled=e)}pageSizeWatcher(e){void 0!==e&&this.widget&&(this.widget.pageSize=e)}returnGeometryEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.returnGeometryEnabled=e)}tableTemplateWatcher(e){e&&this.widget&&(this.widget.tableTemplate=e)}timeZoneWatcher(e){this.widget&&(this.widget.timeZone=e)}async itemIdWatcher(e,t){if(o(e))this.layer=null;else if(e&&e!==t){const t=await h({portalItem:{id:e}});this.layer=t}}async urlWatcher(e,t){if(e&&e!==t){const t=await h({url:e});this.layer=t}}visibleElementsHeaderWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:e})}visibleElementsMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menu:e})}visibleElementsSelectionColumnWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionColumn:e})}visibleElementsColumnMenusWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,columnMenus:e})}visibleElementsMenuItemsClearSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,clearSelection:e}})}visibleElementsMenuItemsDeleteSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,deleteSelection:e}})}visibleElementsMenuItemsRefreshDataWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,refreshData:e}})}visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,selectedRecordsShowAllToggle:e}})}visibleElementsMenuItemsToggleColumnsWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,toggleColumns:e}})}visibleElementsMenuItemsZoomToSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,zoomToSelection:e}})}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async clearSelectionFilter(){this.widget?.clearSelectionFilter()}async deleteSelection(e){await(this.widget?.deleteSelection(e))}async filterBySelection(){this.widget?.filterBySelection()}async findColumn(e){return this.widget?.findColumn(e)}async hideColumn(e){this.widget?.hideColumn(e)}async refresh(){await(this.widget?.refresh())}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}async componentDidLoad(){const e=await this._createParams(),t=await l(e);this.widget=t,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeatureTableReady.emit(),r(this)}disconnectedCallback(){m(this)}render(){return i("div",{class:"arcgis-feature-table",ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await n();c(this,e((()=>this.widget.activeFilters),(e=>this.activeFilters=e),{initial:!0})),c(this,e((()=>this.widget.activeSortOrders),(e=>this.activeSortOrders=e),{initial:!0})),c(this,e((()=>this.widget.columns),(e=>this.columns=e),{initial:!0})),c(this,e((()=>this.widget.menu),(e=>this.menu=e),{initial:!0})),c(this,e((()=>this.widget.state),(e=>this.state=e),{initial:!0}))}async _createParams(){const e={};return e.visibleElements={header:this.visibleElementsHeader,menu:this.visibleElementsMenu,selectionColumn:this.visibleElementsSelectionColumn,columnMenus:this.visibleElementsColumnMenus,menuItems:{clearSelection:this.visibleElementsMenuItemsClearSelection,deleteSelection:this.visibleElementsMenuItemsDeleteSelection,refreshData:this.visibleElementsMenuItemsRefreshData,selectedRecordsShowAllToggle:this.visibleElementsMenuItemsSelectedRecordsShowAllToggle,toggleColumns:this.visibleElementsMenuItemsToggleColumns,zoomToSelection:this.visibleElementsMenuItemsZoomToSelection}},this.view&&(e.view=this.view),void 0!==this.attachmentsEnabled&&(e.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(e.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(e.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(e.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(e.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(e.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(e.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(e.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(e.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(e.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(e.pageSize=this.pageSize),void 0!==this.tableTemplate&&(e.tableTemplate=this.tableTemplate),void 0!==this.timeZone&&(e.timeZone=this.timeZone),void 0!==this.layer?e.layer=this.layer:this.url?e.layer=await h({url:this.url}):this.itemId&&(e.layer=await h({portalItem:{id:this.itemId}})),e}_proxyEvents(){this.widget?.highlightIds.on("change",(e=>this.featureTableSelectionChange.emit(e)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],layer:["layerWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],returnGeometryEnabled:["returnGeometryEnabledWatcher"],tableTemplate:["tableTemplateWatcher"],timeZone:["timeZoneWatcher"],itemId:["itemIdWatcher"],url:["urlWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsMenu:["visibleElementsMenuWatcher"],visibleElementsSelectionColumn:["visibleElementsSelectionColumnWatcher"],visibleElementsColumnMenus:["visibleElementsColumnMenusWatcher"],visibleElementsMenuItemsClearSelection:["visibleElementsMenuItemsClearSelectionWatcher"],visibleElementsMenuItemsDeleteSelection:["visibleElementsMenuItemsDeleteSelectionWatcher"],visibleElementsMenuItemsRefreshData:["visibleElementsMenuItemsRefreshDataWatcher"],visibleElementsMenuItemsSelectedRecordsShowAllToggle:["visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher"],visibleElementsMenuItemsToggleColumns:["visibleElementsMenuItemsToggleColumnsWatcher"],visibleElementsMenuItemsZoomToSelection:["visibleElementsMenuItemsZoomToSelectionWatcher"],view:["viewWatcher"]}}};d.style=".arcgis-feature-table{width:100%;height:100%}";export{d as arcgis_feature_table}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-e6ce333d.js";import{n as e,i as a,a as r,b as c}from"./p-ab228eed.js";import{r as o,c as n,a as d,i as l,b as p}from"./p-0267ce0c.js";import{o as v}from"./p-cfb0b3db.js";const W=class{constructor(s){i(this,s),this.arcgisBasemapGalleryReady=t(this,"arcgisBasemapGalleryReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.disabled=!1,this.icon=void 0,this.source=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){o(this,i)}disabledWatcher(i,t){this.widget&&i!==t&&(this.widget.disabled=i)}iconWatcher(i){this.widget&&(this.widget.icon=i)}sourceWatcher(i){this.widget&&(this.widget.source=i)}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this._addContainer(),this.arcgisBasemapGalleryReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();d(this,[i((()=>this.widget.source),(()=>this.source=this.widget.source),{initial:!0}),i((()=>this.widget.activeBasemap),(i=>this.activeBasemap=i),{initial:!0}),i((()=>this.widget.disabled),(i=>this.disabled=i))])}_createParams(){const i={};return this.icon&&(i.icon=this.icon),this.source&&(i.source=this.source),this.view&&(i.view=this.view),i}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],source:["sourceWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};W.style="";const g=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this._watchHandles=[],this.allLayerViews=void 0,this.background=void 0,this.basemapView=void 0,this.basemap=void 0,this.center=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.highlightOptions=void 0,this.interacting=!1,this.itemId=void 0,this.layerViews=void 0,this.magnifier=void 0,this.map=void 0,this.navigating=!1,this.navigation=void 0,this.padding=void 0,this.popup=void 0,this.popupEnabled=!0,this.ready=!1,this.resizeAlign=void 0,this.resolution=void 0,this.rotation=0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!0,this.theme=void 0,this.timeExtent=void 0,this.timeZone="system",this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}backgroundWatcher(i){this.view&&(this.background=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!l(i)||this.view?.map)&&(this.view.map.basemap=i)}centerWatcher(i,t){if(i!==t&&this.view)if("string"==typeof i){const t=i.split(",").map((i=>Number(i)));t[0]!==this.view.center.longitude&&t[1]!==this.view.center.latitude&&(this.view.center=t)}else Array.isArray(i)?i[0]!==this.view.center.longitude&&i[1]!==this.view.center.latitude&&(this.view.center=i):this.view.center.equals(i)||(this.view.center=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}extentWatcher(i){this.view&&i&&!this.view.extent.equals(i)&&(this.view.extent=i)}floorsWatcher(i){this.view&&(this.view.floors=i)}graphicsWatcher(i){this.view&&(this.view.graphics=i)}highlightOptionsWatcher(i){this.view&&(this.view.highlightOptions=i)}itemIdWatcher(i,t){i!==t&&(this.view?.map?this._updateMap():this._loadMap())}mapWatcher(i){this.view&&(this.view.map=i)}navigationWatcher(i){this.view&&(this.view.navigation=i)}paddingWatcher(i){this.view&&(this.view.padding=i)}popupWatcher(i){this.view&&(this.view.popup=i)}popupEnabledWatcher(i,t){i!==t&&this.view&&(this.view.popupEnabled=i)}resizeAlignWatcher(i){this.view&&(this.view.resizeAlign=i)}rotationWatcher(i){this.view&&this.view.rotation!==i&&(this.view.rotation=i)}scaleWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.scale=i)}spatialReferenceWatcher(i){this.view&&i&&!this.view.spatialReference.equals(i)&&(this.view.spatialReference=i)}themeWatcher(i){this.view&&(this.view.theme=i)}timeExtentWatcher(i){this.view&&(this.view.timeExtent=i)}timeZoneWatcher(i){this.view&&(this.view.timeZone=i)}viewpointWatcher(i){this.view&&p(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view?.interacting||null==i||i===t||(this.view.zoom=i)}async closePopup(){this.view?.closePopup()}async destroy(){this.destroyDisabled&&(this._clearWatchHandles(),this.view.destroy())}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){this.view?.openPopup(i)}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await(this.view?.whenLayerView(i))}async componentWillLoad(){this.view||await this._loadMap()}componentDidRender(){this.view&&!this.view.container&&(this.view.container=this.el)}componentDidLoad(){this._proxyEvents()}disconnectedCallback(){this.destroy()}render(){return s("div",{class:"arcgis-map",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await a();d(this,[i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary,this.interacting=this.view.interacting,this.navigating=this.view.navigating,this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.stationary),(()=>{this.center=this.view.center,this.extent=this.view.extent,this.scale=this.view.scale,this.viewpoint=this.view.viewpoint,this.zoom=this.view.zoom,this.spatialReference=this.view.spatialReference})),i((()=>this.view.allLayerViews),(()=>{this.allLayerViews=this.view.allLayerViews}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.fatalError),(()=>{this.fatalError=this.view.fatalError}),{initial:!0}),i((()=>this.view.input.gamepad),(()=>{this.gamepad=this.view.input.gamepad}),{initial:!0}),i((()=>this.view.graphics),(()=>{this.graphics=this.view.graphics}),{initial:!0}),i((()=>this.view.layerViews),(()=>{this.layerViews=this.view.layerViews}),{initial:!0}),i((()=>this.view.navigation),(()=>{this.navigation=this.view.navigation}),{initial:!0}),i((()=>this.view.map),(()=>{this.map=this.view.map}),{initial:!0}),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{initial:!0}),i((()=>this.view.rotation),(()=>{this.rotation=this.view.rotation}),{initial:!0}),i((()=>this.view.suspended),(()=>{this.suspended=this.view.suspended}),{initial:!0}),i((()=>this.view.updating),(()=>{this.updating=this.view.updating}),{initial:!0}),i((()=>this.view.ready),(()=>{this.ready=this.view.ready,this.arcgisViewReadyChange.emit()}),{initial:!0})])}async _createMap(){const i={};return this.itemId&&(i.portalItem=await this._createPortalItem()),this.basemap?i.basemap=this.basemap:l(this.itemId)&&(i.basemap="topo-vector"),await r(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return this.background&&(i.background=this.background),this.center&&(i.center="string"==typeof this.center?this.center.split(",").map((i=>Number(i))):this.center),this.constraints&&(i.constraints=this.constraints),this.extent&&(i.extent=this.extent),this.floors&&(i.floors=this.floors),this.graphics&&(i.graphics=this.graphics),this.highlightOptions&&(i.highlightOptions=this.highlightOptions),this.map&&(i.map=this.map),this.navigation&&(i.navigation=this.navigation),this.padding&&(i.padding=this.padding),this.popup&&(i.popup=this.popup),void 0!==this.popupEnabled&&(i.popupEnabled=this.popupEnabled),void 0!==this.rotation&&(i.rotation=this.rotation),void 0!==this.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.timeZone&&(i.timeZone=this.timeZone),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){this.map||(this.map=await this._createMap());const i=this._createViewParams(),t=await c({...i});this.view=t,t.when((async()=>{this.toMap=t.toMap.bind(t),this.toScreen=t.toScreen.bind(t),await this._addWatchers()}))}_proxyEvents(){d(this,[this.view.on("click",(i=>{this.arcgisViewClick.emit(i)})),this.view.on("double-click",(i=>{this.arcgisViewDoubleClick.emit(i)})),this.view.on("drag",(i=>{this.arcgisViewDrag.emit(i)})),this.view.on("hold",(i=>{this.arcgisViewHold.emit(i)})),this.view.on("immediate-click",(i=>{this.arcgisViewImmediateClick.emit(i)})),this.view.on("immediate-double-click",(i=>{this.arcgisViewImmediateDoubleClick.emit(i)})),this.view.on("key-down",(i=>{this.arcgisViewKeyDown.emit(i)})),this.view.on("key-up",(i=>{this.arcgisViewKeyUp.emit(i)})),this.view.on("layerview-create",(i=>{this.arcgisViewLayerviewCreate.emit(i)})),this.view.on("layerview-create-error",(i=>{this.arcgisViewLayerviewCreateError.emit(i)})),this.view.on("layerview-destroy",(i=>{this.arcgisViewLayerviewDestroy.emit(i)})),this.view.on("mouse-wheel",(i=>{this.arcgisViewMouseWheel.emit(i)})),this.view.on("pointer-down",(i=>{this.arcgisViewPointerDown.emit(i)})),this.view.on("pointer-enter",(i=>{this.arcgisViewPointerEnter.emit(i)})),this.view.on("pointer-leave",(i=>{this.arcgisViewPointerLeave.emit(i)})),this.view.on("pointer-move",(i=>{this.arcgisViewPointerMove.emit(i)})),this.view.on("pointer-up",(i=>{this.arcgisViewPointerUp.emit(i)}))])}async _updateMap(){if(this.view?.map){this.view.map.destroy();const i=await this._createMap();this.view.map=i}}get _hostElement(){return h(this)}static get watchers(){return{background:["backgroundWatcher"],basemap:["basemapWatcher"],center:["centerWatcher"],constraints:["constraintsWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],resizeAlign:["resizeAlignWatcher"],rotation:["rotationWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],timeZone:["timeZoneWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};g.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";export{W as arcgis_basemap_gallery,g as arcgis_map}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
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-e6ce333d.js";import{N as r}from"./p-ab228eed.js";import{r as h,c as a}from"./p-0267ce0c.js";import{o as c}from"./p-cfb0b3db.js";const o=class{constructor(i){t(this,i),this.arcgisScaleBarReady=s(this,"arcgisScaleBarReady",7),this._watchHandles=[],this.referenceElement=void 0,this.barStyle="line",this.unit=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}styleWatcher(t){this.widget&&(this.widget.style=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),s=await r(t);this.widget=s,this._addContainer(),this.arcgisScaleBarReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.unit&&(t.unit=this.unit),this.barStyle&&(t.style=this.barStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],barStyle:["styleWatcher"],unit:["unitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-bar{}";export{o as arcgis_scale_bar}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{F as h}from"./p-ab228eed.js";import{r,c as o}from"./p-0267ce0c.js";import{o as a}from"./p-cfb0b3db.js";const c=class{constructor(s){t(this,s),this.arcgisHomeReady=i(this,"arcgisHomeReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.viewpoint=void 0,this.messageOverrides=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t)}viewpointWatcher(t){this.widget&&(this.widget.viewpoint=t)}messageOverridesWatcher(t){this.widget&&(this.widget.uiStrings=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelGo(){this.widget?.cancelGo()}async go(){this.widget?.go()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisHomeReady.emit(),o(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.icon&&(t.icon=this.icon),this.viewpoint&&(t.viewpoint=this.viewpoint),this.messageOverrides&&(t.uiStrings=this.messageOverrides),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],viewpoint:["viewpointWatcher"],messageOverrides:["messageOverridesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-home{}";export{c as arcgis_home}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{M as h,i as a}from"./p-ab228eed.js";import{r,c as o,a as c}from"./p-0267ce0c.js";import{o as l}from"./p-cfb0b3db.js";const n=class{constructor(s){t(this,s),this.arcgisPrintReady=i(this,"arcgisPrintReady",7),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this._watchHandles=[],this.referenceElement=void 0,this.allowedFormats="all",this.allowedLayouts="all",this.exportedLinks=void 0,this.extraParameters=void 0,this.icon=void 0,this.includeDefaultTemplates=!0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}allowedFormatsWatcher(t){this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){this.widget&&(this.widget.extraParameters=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}includeDefaultTemplatesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){this.widget&&(this.widget.templateOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisPrintReady.emit(),o(this)}disconnectedCallback(){l(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.exportedLinks),(t=>this.exportedLinks=t),{initial:!0}))}_createParams(){const t={};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.extraParameters&&(t.extraParameters=this.extraParameters),this.icon&&(t.icon=this.icon),void 0!==this.includeDefaultTemplates&&(t.includeDefaultTemplates=this.includeDefaultTemplates),this.portal&&(t.portal=this.portal),this.printServiceUrl&&(t.printServiceUrl=this.printServiceUrl),this.templateCustomTextElements&&(t.templateCustomTextElements=this.templateCustomTextElements),this.templateOptions&&(t.templateOptions=this.templateOptions),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],icon:["iconWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_print}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{z as h}from"./p-ab228eed.js";import{c as r}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.featureTemplatesSelect=i(this,"featureTemplatesSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.enableListScroll=void 0,this.filterFunction=void 0,this.filterText=void 0,this.groupBy=void 0,this.layers=void 0,this.selectionMode=void 0,this.visibleElements=void 0}enableListScrolWatcher(t){void 0!==t&&this.widget&&(this.widget.enableListScroll=t)}filterFunctionWatcher(t){this.widget&&(this.widget.filterFunction=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}groupByWatcher(t){this.widget&&(this.widget.groupBy=t)}layersWatcher(t){this.widget&&(this.widget.layers=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.enableListScroll&&(t.enableListScroll=this.enableListScroll),this.filterFunction&&(t.filterFunction=this.filterFunction),this.filterText&&(t.filterText=this.filterText),this.groupBy&&(t.groupBy=this.groupBy),this.layers&&(t.layers=this.layers),void 0!==this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibleElements&&(t.visibleElements=this.visibleElements),t}_proxyEvents(){this.widget.on("select",(t=>this.featureTemplatesSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{enableListScroll:["enableListScrolWatcher"],filterFunction:["filterFunctionWatcher"],filterText:["filterTextWatcher"],groupBy:["groupByWatcher"],layers:["layersWatcher"],selectionMode:["selectionModeWatcher"],visibleElements:["visibleElementsWatcher"]}}};a.style="";export{a as arcgis_feature_templates}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{$ as o}from"./p-d2249660.js";import{r as n,c}from"./p-d9a19770.js";import{o as a}from"./p-0700d3a0.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{$ as o}from"./p-ab228eed.js";import{r as n,c}from"./p-0267ce0c.js";import{o as a}from"./p-cfb0b3db.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-e6ce333d.js";import{a4 as r}from"./p-ab228eed.js";import{r as h,c as a}from"./p-0267ce0c.js";import{o as c}from"./p-cfb0b3db.js";const o=class{constructor(i){t(this,i),this.arcgisWeatherReady=e(this,"arcgisWeatherReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.visibleElementsHeader=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await r(t);this.widget=e,this._addContainer(),this.arcgisWeatherReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_weather}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as s,h as t,g as e}from"./p-
|
|
6
|
+
import{r as i,c as s,h as t,g as e}from"./p-e6ce333d.js";import{j as h,i as a}from"./p-ab228eed.js";import{r,c,a as l}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const o=class{constructor(t){i(this,t),this.arcgisBuildingExplorerReady=s(this,"arcgisBuildingExplorerReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layers=void 0,this.level=void 0,this.phase=void 0,this.state="disabled",this.visibleElementsLevels=!0,this.visibleElementsPhases=!0,this.visibleElementsDisciplines=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){r(this,i)}iconWatcher(i){this.widget&&(this.widget.icon=i)}layersWatcher(i){this.widget&&(this.widget.layers=i)}visibleElementsLevelsWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,levels:i})}visibleElementsPhasesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,phases:i})}visibleElementsDisciplinesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,disciplines:i})}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),s=await h(i);this.widget=s,await this._addWatchers(),this._addContainer(),this.arcgisBuildingExplorerReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return t("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();l(this,[i((()=>this.widget.viewModel.level),(i=>this.level=i),{initial:!0}),i((()=>this.widget.viewModel.phase),(i=>this.phase=i),{initial:!0}),i((()=>this.widget.viewModel.state),(i=>this.state=i),{initial:!0})])}_createParams(){const i={};return i.visibleElements={levels:this.visibleElementsLevels,phases:this.visibleElementsPhases,disciplines:this.visibleElementsDisciplines},this.icon&&(i.icon=this.icon),this.layers&&(i.layers=this.layers),this.view&&(i.view=this.view),i}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layers:["layersWatcher"],visibleElementsLevels:["visibleElementsLevelsWatcher"],visibleElementsPhases:["visibleElementsPhasesWatcher"],visibleElementsDisciplines:["visibleElementsDisciplinesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_building_explorer}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{k as a,i as h}from"./p-ab228eed.js";import{r,c as o,a as c}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const d=class{constructor(s){t(this,s),this.arcgisCompassReady=i(this,"arcgisCompassReady",7),this._watchHandles=[],this.referenceElement=void 0,this.orientation={x:0,y:0,z:0},this.icon=void 0,this.state="disabled",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}orientationWatcher(t,i){var s,e;this.widget&&((s=t).x!==(e=i).x||s.y!==e.y||s.z!==e.z)&&(this.widget.viewModel.orientation=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async reset(){this.widget?.reset()}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisCompassReady.emit(),o(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await h();c(this,[t((()=>this.widget?.viewModel.orientation),(t=>this.orientation=t)),t((()=>this.widget?.viewModel.state),(t=>this.state=t))])}_createParams(){const t={};return this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),t}_setViewModelParams(){this.widget.viewModel.set({orientation:this.orientation})}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],orientation:["orientationWatcher"],icon:["iconWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_compass}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as
|
|
6
|
+
import{r as i,c as t,h as e,g as s}from"./p-e6ce333d.js";import{X as r}from"./p-ab228eed.js";import{r as a,c as h}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.direction=void 0,this.dragLabel=void 0,this.leadingLayers=void 0,this.swipePosition=void 0,this.trailingLayers=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}directionWatcher(i){void 0!==i&&this.widget&&(this.widget.direction=i)}dragLabelWatcher(i){void 0!==i&&this.widget&&(this.widget.dragLabel=i)}leadingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.leadingLayers=i)}swipePositionWatcher(i){void 0!==i&&this.widget&&(this.widget.position=i)}trailingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.trailingLayers=i)}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}referenceElementWatcher(i){a(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await r(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{direction:["directionWatcher"],dragLabel:["dragLabelWatcher"],leadingLayers:["leadingLayersWatcher"],swipePosition:["swipePositionWatcher"],trailingLayers:["trailingLayersWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-swipe{}";export{c 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.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
function e(e){e.childElem?e.el.isConnected||(e.view?e.view.ui.remove(e.childElem):e.widget?.view&&e.widget.view.ui.remove(e.childElem),e._watchHandles&&e._watchHandles.forEach((e=>{e.remove()})),e._watchHandles=[],e.widget?.destroy()):setTimeout((()=>{e.el.isConnected||(e.view?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach((e=>{e.remove()})),e._watchHandles=[],e.widget?.destroy())}),1e3)}export{e as o}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-e6ce333d.js";import{R as e,i as a}from"./p-ab228eed.js";import{r,c,a as o}from"./p-0267ce0c.js";import{o as l}from"./p-cfb0b3db.js";const d=class{constructor(s){t(this,s),this.arcgisSearchReady=i(this,"arcgisSearchReady",7),this.searchBlur=i(this,"searchBlur",7),this.searchClear=i(this,"searchClear",7),this.searchComplete=i(this,"searchComplete",7),this.searchFocus=i(this,"searchFocus",7),this.searchStart=i(this,"searchStart",7),this.searchSelectResult=i(this,"searchSelectResult",7),this.searchSuggestComplete=i(this,"searchSuggestComplete",7),this.searchSuggestStart=i(this,"searchSuggestStart",7),this._watchHandles=[],this.referenceElement=void 0,this.activeMenu="none",this.activeSource=void 0,this.activeSourceIndex=0,this.allPlaceholder="Find address or place",this.allSources=void 0,this.autoSelect=!0,this.defaultSources=void 0,this.disabled=!1,this.icon=void 0,this.includeDefaultSources=!0,this.locationEnabled=!0,this.maxResults=6,this.maxSuggestions=6,this.minSuggestCharacters=3,this.popupEnabled=!0,this.popupTemplate=void 0,this.portal=void 0,this.resultGraphic=void 0,this.resultGraphicEnabled=!0,this.results=void 0,this.searchAllEnabled=!0,this.searchTerm=void 0,this.selectedResult=void 0,this.sources=void 0,this.suggestions=void 0,this.suggestionsEnabled=!0,this.position="top-right",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeMenuWatcher(t){void 0!==t&&this.widget&&(this.widget.activeMenu=t)}activeSourceIndexWatcher(t){void 0!==t&&this.widget&&(this.widget.activeSourceIndex=t)}allPlaceholderWatcher(t){this.widget&&(this.widget.allPlaceholder=t)}autoSelectWatcher(t){void 0!==t&&this.widget&&(this.widget.autoSelect=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}includeDefaultSourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultSources=t)}locationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.locationEnabled=t)}maxResultsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxResults=t)}maxSuggestionsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxSuggestions=t)}minSuggestCharactersWatcher(t){void 0!==t&&this.widget&&(this.widget.minSuggestCharacters=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}popupTemplateWatcher(t){this.widget&&(this.widget.popupTemplate=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}resultGraphicEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.resultGraphicEnabled=t)}searchAllEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.searchAllEnabled=t)}searchTermWatcher(t){this.widget&&(this.widget.searchTerm=t)}sourcesWatcher(t){this.widget&&(this.widget.sources=t)}suggestionsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.suggestionsEnabled=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async focusSearch(){this.widget?.focus()}async search(t){return await(this.widget?.search(t))}async suggest(t){return await(this.widget?.suggest(t))}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisSearchReady.emit(),c(this)}disconnectedCallback(){l(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.activeSource),(t=>this.activeSource=t),{initial:!0})),o(this,t((()=>this.widget.activeSourceIndex),(t=>this.activeSourceIndex=t),{initial:!0})),o(this,t((()=>this.widget.allSources),(t=>this.allSources=t),{initial:!0})),o(this,t((()=>this.widget.defaultSources),(t=>this.defaultSources=t),{initial:!0})),o(this,t((()=>this.widget.disabled),(t=>this.disabled=t),{initial:!0})),o(this,t((()=>this.widget.resultGraphic),(t=>this.resultGraphic=t),{initial:!0})),o(this,t((()=>this.widget.results),(t=>this.results=t),{initial:!0})),o(this,t((()=>this.widget.selectedResult),(t=>this.selectedResult=t),{initial:!0})),o(this,t((()=>this.widget.suggestions),(t=>this.suggestions=t),{initial:!0}))}_createParams(){const t={};return this.allPlaceholder&&(t.allPlaceholder=this.allPlaceholder),void 0!==this.autoSelect&&(t.autoSelect=this.autoSelect),void 0!==this.includeDefaultSources&&(t.includeDefaultSources=this.includeDefaultSources),void 0!==this.locationEnabled&&(t.locationEnabled=this.locationEnabled),void 0!==this.maxResults&&(t.maxResults=this.maxResults),void 0!==this.maxSuggestions&&(t.maxSuggestions=this.maxSuggestions),void 0!==this.minSuggestCharacters&&(t.minSuggestCharacters=this.minSuggestCharacters),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),this.popupTemplate&&(t.popupTemplate=this.popupTemplate),this.portal&&(t.portal=this.portal),void 0!==this.resultGraphicEnabled&&(t.resultGraphicEnabled=this.resultGraphicEnabled),void 0!==this.searchAllEnabled&&(t.searchAllEnabled=this.searchAllEnabled),this.searchTerm&&(t.searchTerm=this.searchTerm),this.sources&&(t.sources=this.sources),void 0!==this.suggestionsEnabled&&(t.suggestionsEnabled=this.suggestionsEnabled),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("search-blur",(t=>this.searchBlur.emit(t))),this.widget.on("search-clear",(t=>this.searchClear.emit(t))),this.widget.on("search-complete",(t=>this.searchComplete.emit(t))),this.widget.on("search-focus",(t=>this.searchFocus.emit(t))),this.widget.on("search-start",(t=>this.searchStart.emit(t))),this.widget.on("select-result",(t=>this.searchSelectResult.emit(t))),this.widget.on("suggest-complete",(t=>this.searchSuggestComplete.emit(t))),this.widget.on("suggest-start",(t=>this.searchSuggestStart.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeMenu:["activeMenuWatcher"],activeSourceIndex:["activeSourceIndexWatcher"],allPlaceholder:["allPlaceholderWatcher"],autoSelect:["autoSelectWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],includeDefaultSources:["includeDefaultSourcesWatcher"],locationEnabled:["locationEnabledWatcher"],maxResults:["maxResultsWatcher"],maxSuggestions:["maxSuggestionsWatcher"],minSuggestCharacters:["minSuggestCharactersWatcher"],popupEnabled:["popupEnabledWatcher"],popupTemplate:["popupTemplateWatcher"],portal:["portalWatcher"],resultGraphicEnabled:["resultGraphicEnabledWatcher"],searchAllEnabled:["searchAllEnabledWatcher"],searchTerm:["searchTermWatcher"],sources:["sourcesWatcher"],suggestionsEnabled:["suggestionsEnabledWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_search}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{G as h,i as r}from"./p-ab228eed.js";import{r as a,c as l,a as n}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const c=class{constructor(s){t(this,s),this.arcgisLayerListReady=i(this,"arcgisLayerListReady",7),this.layerListTriggerAction=i(this,"layerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.icon=void 0,this.listItemCreatedFunction=void 0,this.minDragEnabledItems=2,this.minFilterItems=10,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}collapsedWatcher(t){this.widget&&this.widget.collapsed!==t&&(this.widget.collapsed=t)}dragEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}listItemCreatedFunctionWatcher(t){this.widget&&(this.widget.listItemCreatedFunction=t)}minDragEnabledItemsWatcher(t){this.widget&&(this.widget.minDragEnabledItems=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=t)}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsErrorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,errors:t})}visibleElementsFilterWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsFlowWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,flow:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsStatusIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,statusIndicators:t})}visibleElementsTemporaryLayerIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,temporaryLayerIndicators:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async triggerAction(t,i){this.widget?.triggerAction(t,i)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.arcgisLayerListReady.emit(),l(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();n(this,[t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}),t((()=>this.widget.collapsed),(t=>this.collapsed=t))])}_createParams(){const t={container:this.childElem};return t.visibleElements={closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon),this.listItemCreatedFunction&&(t.listItemCreatedFunction=this.listItemCreatedFunction),void 0!==this.minDragEnabledItems&&(t.minDragEnabledItems=this.minDragEnabledItems),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.selectedItems&&(t.selectedItems=this.selectedItems),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.layerListTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],listItemCreatedFunction:["listItemCreatedFunctionWatcher"],minDragEnabledItems:["minDragEnabledItemsWatcher"],minFilterItems:["minFilterItemsWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_layer_list}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as h}from"./p-e6ce333d.js";import{_ as o,i as a}from"./p-ab228eed.js";import{r as e,c as r,a as c}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const d=class{constructor(s){t(this,s),this.arcgisTrackReady=i(this,"arcgisTrackReady",7),this.trackComplete=i(this,"trackComplete",7),this.trackError=i(this,"trackError",7),this._watchHandles=[],this.referenceElement=void 0,this.error=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=!0,this.graphic=void 0,this.icon=void 0,this.positionFilterFunction=void 0,this.rotationEnabled=!0,this.scale=void 0,this.state="disabled",this.tracking=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){e(this,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t)}positionFilterFunctionWatcher(t){this.widget&&(this.widget.viewModel.positionFilterFunction=t)}rotationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.rotationEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async start(){this.widget.start()}async stop(){this.widget.stop()}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTrackReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,[t((()=>this.widget.viewModel.error),(t=>this.error=t)),t((()=>this.widget.viewModel.state),(t=>this.state=t)),t((()=>this.widget.tracking),(t=>this.tracking=t),{initial:!0})])}_createParams(){const t={};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.icon&&(t.icon=this.icon),void 0!==this.positionFilterFunction&&(t.viewModel={positionFilterFunction:this.positionFilterFunction}),void 0!==this.rotationEnabled&&(t.rotationEnabled=this.rotationEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("track",(t=>this.trackComplete.emit(t))),this.widget.on("track-error",(t=>this.trackError.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],icon:["iconWatcher"],positionFilterFunction:["positionFilterFunctionWatcher"],rotationEnabled:["rotationEnabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_track}
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{K as a,i as h}from"./p-ab228eed.js";import{r,c,a as o}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const d=class{constructor(s){t(this,s),this.arcgisMeasurementReady=i(this,"arcgisMeasurementReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.activeComponent=void 0,this.areaUnit=void 0,this.icon=void 0,this.linearUnit=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeToolWatcher(t){this.widget&&(this.widget.activeTool=t)}areaUnitWatcher(t){this.widget&&(this.widget.areaUnit=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}linearUnitWatcher(t){this.widget&&(this.widget.linearUnit=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.clear()}async startMeasurement(){this.widget?.startMeasurement()}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisMeasurementReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await h();o(this,t((()=>this.widget.activeWidget),(t=>this.activeComponent=t),{initial:!0}))}_createParams(){const t={};return this.activeTool&&(t.activeTool=this.activeTool),this.areaUnit&&(t.areaUnit=this.areaUnit),this.linearUnit&&(t.linearUnit=this.linearUnit),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeTool:["activeToolWatcher"],areaUnit:["areaUnitWatcher"],icon:["iconWatcher"],linearUnit:["linearUnitWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="arcgis-measurement{}";export{d as arcgis_measurement}
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{B as h}from"./p-ab228eed.js";import{r,c as a}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const c=class{constructor(s){t(this,s),this.arcgisFloorFilterReady=i(this,"arcgisFloorFilterReady",7),this._watchHandles=[],this.referenceElement=void 0,this.facility=void 0,this.level=void 0,this.longNames=!0,this.site=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}facilityWatcher(t){this.widget&&(this.widget.facility=t)}levelWatcher(t){this.widget&&(this.widget.level=t)}longNamesWatcher(t){void 0!==t&&this.widget&&(this.widget.longNames=t)}siteWatcher(t){this.widget&&(this.widget.site=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async updateWebDocument(t){this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisFloorFilterReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.facility&&(t.facility=this.facility),this.level&&(t.level=this.level),void 0!==this.longNames&&(t.longNames=this.longNames),this.site&&(t.site=this.site),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],facility:["facilityWatcher"],level:["levelWatcher"],longNames:["longNamesWatcher"],site:["siteWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_floor_filter}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{s as h,i as a}from"./p-ab228eed.js";import{r,c}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const o=class{constructor(s){t(this,s),this.arcgisDistanceMeasurement2dReady=i(this,"arcgisDistanceMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDistanceMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{whenOnce:t}=await a();await t((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_distance_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.2
|
|
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-e6ce333d.js";import{a1 as r}from"./p-ab228eed.js";import{r as o,c as a}from"./p-0267ce0c.js";import{o as h}from"./p-cfb0b3db.js";const c=class{constructor(e){t(this,e),this.arcgisUtilityNetworkValidateTopologyReady=i(this,"arcgisUtilityNetworkValidateTopologyReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkValidateTopologyReady.emit(),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.2
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{h,i as a}from"./p-ab228eed.js";import{r as o,c as l,a as r}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const c=class{constructor(s){t(this,s),this.arcgisBookmarksReady=i(this,"arcgisBookmarksReady",7),this.bookmarkEdit=i(this,"bookmarkEdit",7),this.bookmarkSelect=i(this,"bookmarkSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.bookmarks=void 0,this.defaultCreateOptions=void 0,this.defaultEditOptions=void 0,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.icon=void 0,this.visibleElementsAddBookmarkButton=!1,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditBookmarkButton=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsThumbnail=!0,this.visibleElementsTime=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}bookmarksWatcher(t){void 0!==t&&this.widget&&(this.widget.bookmarks=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultEditOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultEditOptions=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}dragEnabledWatcher(t){this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}visibleElementsAddBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,addBookmarkButton:t})}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsEditBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editBookmarkButton:t})}visibleElementsFilterWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsFlowWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,flow:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsThumbnailWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,thumbnail:t})}visibleElementsTimeWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,time:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisBookmarksReady.emit(),l(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();r(this,[t((()=>this.widget.disabled),(t=>this.disabled=t))])}_createParams(){const t={};return t.visibleElements={addBookmarkButton:this.visibleElementsAddBookmarkButton,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editBookmarkButton:this.visibleElementsEditBookmarkButton,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,thumbnail:this.visibleElementsThumbnail,time:this.visibleElementsTime},this.view&&(t.view=this.view),this.bookmarks&&(t.bookmarks=this.bookmarks),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultEditOptions&&(t.defaultEditOptions=this.defaultEditOptions),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon),t}_proxyEvents(){this.widget.on("bookmark-edit",(t=>this.bookmarkEdit.emit(t))),this.widget.on("bookmark-select",(t=>this.bookmarkSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],disabled:["disabledWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],visibleElementsAddBookmarkButton:["visibleElementsAddBookmarkButtonWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditBookmarkButton:["visibleElementsEditBookmarkButtonWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsThumbnail:["visibleElementsThumbnailWatcher"],visibleElementsTime:["visibleElementsTimeWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_bookmarks}
|