@arcgis/map-components 4.31.0-next.21 → 4.31.0-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/index.esm.js +1 -1
- package/dist/arcgis-map-components/{p-dbb043ca.entry.js → p-07211376.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-64b0555b.entry.js → p-097cb942.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3052aae7.entry.js → p-099a6e9b.entry.js} +2 -2
- package/dist/arcgis-map-components/p-0af0813b.entry.js +6 -0
- package/dist/arcgis-map-components/{p-d755e316.entry.js → p-12baef33.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b893e3b8.entry.js → p-19d99f9e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2f9ecaa3.entry.js → p-1bfd457e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5e56553b.entry.js → p-2643e640.entry.js} +2 -2
- package/dist/arcgis-map-components/p-278bc979.entry.js +6 -0
- package/dist/arcgis-map-components/{p-bc68e2b7.entry.js → p-27970553.entry.js} +2 -2
- package/dist/arcgis-map-components/p-2bbd26a1.entry.js +6 -0
- package/dist/arcgis-map-components/{p-33a04183.entry.js → p-2c951329.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7b4fe526.entry.js → p-2fcc2f69.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cdc52d2f.js → p-31a7f388.js} +1 -1
- package/dist/arcgis-map-components/{p-c58b0c7f.entry.js → p-333774f6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c4c3ffbd.js → p-370ede3a.js} +1 -1
- package/dist/arcgis-map-components/p-3789c9c9.entry.js +6 -0
- package/dist/arcgis-map-components/p-3c95dfb0.entry.js +6 -0
- package/dist/arcgis-map-components/{p-0b017f0d.entry.js → p-3db3e5fa.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-27bbf238.entry.js → p-3e88c4b4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-006620ab.entry.js → p-408a5ed6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-179ffbad.js → p-4b70012c.js} +2 -2
- package/dist/arcgis-map-components/{p-32bb6d9c.entry.js → p-4b7c4219.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5fe43a94.entry.js → p-4de7f11f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-289f8f19.js → p-4e4e798c.js} +1 -1
- package/dist/arcgis-map-components/{p-267bda2b.js → p-62d75abb.js} +2 -2
- package/dist/arcgis-map-components/{p-cc5f35f3.entry.js → p-65f58b55.entry.js} +2 -2
- package/dist/arcgis-map-components/p-6ba23935.entry.js +6 -0
- package/dist/arcgis-map-components/{p-44157164.entry.js → p-771e5c88.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-76c1c14c.entry.js → p-787ff987.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-42287255.entry.js → p-7f7851d4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8c43b0c9.entry.js → p-8283a82b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7fc79679.entry.js → p-91a57755.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e0168fb6.entry.js → p-94b77977.entry.js} +2 -2
- package/dist/arcgis-map-components/p-96b6a8f5.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e3295118.entry.js → p-98610021.entry.js} +2 -2
- package/dist/arcgis-map-components/p-9fb3031f.entry.js +6 -0
- package/dist/arcgis-map-components/{p-004e87ee.entry.js → p-a302b161.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-23f6b286.entry.js → p-a30d917b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6221339c.entry.js → p-a7099087.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5249d8be.js → p-aae200a6.js} +2 -2
- package/dist/arcgis-map-components/{p-7f5cd1b2.entry.js → p-b4b2a0bf.entry.js} +2 -2
- package/dist/arcgis-map-components/p-b75d2941.entry.js +6 -0
- package/dist/arcgis-map-components/{p-4bbf68fc.js → p-b8219a87.js} +2 -2
- package/dist/arcgis-map-components/{p-ace446e6.entry.js → p-b9124a78.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e1d61e59.entry.js → p-c271dfb6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-44972f91.entry.js → p-c51c6e16.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-12882163.entry.js → p-c51ee577.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-70d83bbc.entry.js → p-cb4c6563.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-594bd576.entry.js → p-d368ce73.entry.js} +2 -2
- package/dist/arcgis-map-components/p-d5433fad.entry.js +6 -0
- package/dist/arcgis-map-components/{p-25f96fc7.entry.js → p-d8d52335.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9032b8f8.js → p-e220e9a6.js} +1 -1
- package/dist/arcgis-map-components/{p-06e572bf.entry.js → p-e498e05f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0aa7480d.entry.js → p-e55f7a8a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f5aeca17.entry.js → p-e9093da7.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f298d09a.js → p-e9c5d6df.js} +1 -1
- package/dist/arcgis-map-components/{p-bfc4db89.entry.js → p-eae70a12.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-841169f4.entry.js → p-eccb6c69.entry.js} +2 -2
- package/dist/arcgis-map-components/p-eed0ae88.entry.js +6 -0
- package/dist/arcgis-map-components/{p-460b51e1.entry.js → p-efca6eb0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cc2723cd.entry.js → p-f09d1d3b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a6f5e6b1.entry.js → p-f55f8972.entry.js} +2 -2
- package/dist/arcgis-map-components/p-f5bd619b.js +6 -0
- package/dist/arcgis-map-components/{p-40334924.entry.js → p-f6907551.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-57d8108d.entry.js → p-f870b603.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-87cb8d11.entry.js → p-fa148a95.entry.js} +2 -2
- package/dist/arcgis-map-components/p-fe92f62e.entry.js +6 -0
- package/dist/cjs/{app-globals-a9ef3ca8.js → app-globals-f02809f3.js} +1 -1
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-attachments.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-compass.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +9 -9
- package/dist/cjs/arcgis-daylight.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directions.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-expand.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-features.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-histogram.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-home.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-legend.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-locate.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-map-components.cjs.js +4 -4
- package/dist/cjs/arcgis-map_2.cjs.entry.js +10 -16
- package/dist/cjs/arcgis-measurement.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-oriented-imagery-viewer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-placement.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-print.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-scene.cjs.entry.js +8 -14
- package/dist/cjs/arcgis-search.cjs.entry.js +13 -13
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-sketch.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slice.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-swipe.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-table-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-track.cjs.entry.js +8 -8
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +24 -24
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +24 -24
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +9 -4
- package/dist/cjs/arcgis-version-management.cjs.entry.js +13 -14
- package/dist/cjs/arcgis-weather.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-zoom.cjs.entry.js +8 -8
- package/dist/cjs/{chunk-VBLIMWUU-c460b410.js → chunk-VBLIMWUU-23e92740.js} +3 -3
- package/dist/cjs/{component-utils-1f7e3704.js → component-utils-e921de60.js} +1 -1
- package/dist/cjs/{disconnected-947717fc.js → disconnected-e7292a06.js} +2 -2
- package/dist/cjs/{globalCss-71f3b265.js → globalCss-87af3269.js} +1 -1
- package/dist/cjs/{index-51af0274.js → index-167a879f.js} +1 -1
- package/dist/cjs/{index-b73e16b9.js → index-70eb49fb.js} +1 -1
- package/dist/cjs/{index-4de39e11.js → index-b7f77a57.js} +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{useViewModel-54b36087.js → useViewModel-adc9d295.js} +5 -5
- package/dist/cjs/{useWidget-fe24f2ab.js → useWidget-462ad6ce.js} +3 -3
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -1
- package/dist/components/arcgis-basemap-layer-list.js +1 -1
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +4 -4
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +3 -9
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +3 -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 +3 -9
- package/dist/components/arcgis-search.js +8 -8
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.js +26 -26
- package/dist/components/arcgis-utility-network-trace.js +26 -26
- 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 +8 -9
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/chunk-VBLIMWUU.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/globalCss.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/useViewModel.js +1 -1
- package/dist/components/useWidget.js +1 -1
- package/dist/components/version-management-service-item.js +1 -1
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +8 -3
- package/dist/components/version-management-version-properties.js +1 -1
- package/dist/esm/{app-globals-6d0ca11d.js → app-globals-8d4f9d3b.js} +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-area-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-attachments.entry.js +7 -7
- package/dist/esm/arcgis-basemap-gallery.entry.js +7 -7
- package/dist/esm/arcgis-basemap-layer-list.entry.js +7 -7
- package/dist/esm/arcgis-basemap-toggle.entry.js +8 -8
- package/dist/esm/arcgis-bookmarks.entry.js +7 -7
- package/dist/esm/arcgis-building-explorer.entry.js +7 -7
- package/dist/esm/arcgis-compass.entry.js +8 -8
- package/dist/esm/arcgis-coordinate-conversion.entry.js +9 -9
- package/dist/esm/arcgis-daylight.entry.js +6 -6
- package/dist/esm/arcgis-directional-pad.entry.js +7 -7
- package/dist/esm/arcgis-directions.entry.js +7 -7
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-editor.entry.js +7 -7
- package/dist/esm/arcgis-elevation-profile.entry.js +7 -7
- package/dist/esm/arcgis-expand.entry.js +6 -6
- package/dist/esm/arcgis-feature-form.entry.js +7 -7
- package/dist/esm/arcgis-feature-table.entry.js +7 -7
- package/dist/esm/arcgis-feature-templates.entry.js +7 -7
- package/dist/esm/arcgis-feature.entry.js +7 -7
- package/dist/esm/arcgis-features.entry.js +7 -7
- package/dist/esm/arcgis-floor-filter.entry.js +6 -6
- package/dist/esm/arcgis-fullscreen.entry.js +8 -8
- package/dist/esm/arcgis-histogram-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-histogram.entry.js +7 -7
- package/dist/esm/arcgis-home.entry.js +8 -8
- package/dist/esm/arcgis-layer-list.entry.js +7 -7
- package/dist/esm/arcgis-legend.entry.js +7 -7
- package/dist/esm/arcgis-line-of-sight.entry.js +7 -7
- package/dist/esm/arcgis-locate.entry.js +8 -8
- package/dist/esm/arcgis-map-components.js +5 -5
- package/dist/esm/arcgis-map_2.entry.js +10 -16
- package/dist/esm/arcgis-measurement.entry.js +7 -7
- package/dist/esm/arcgis-navigation-toggle.entry.js +7 -7
- package/dist/esm/arcgis-oriented-imagery-viewer.entry.js +7 -7
- package/dist/esm/arcgis-placement.entry.js +3 -3
- package/dist/esm/arcgis-print.entry.js +8 -8
- package/dist/esm/arcgis-scale-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-scene.entry.js +8 -14
- package/dist/esm/arcgis-search.entry.js +13 -13
- package/dist/esm/arcgis-shadow-cast.entry.js +7 -7
- package/dist/esm/arcgis-sketch.entry.js +7 -7
- package/dist/esm/arcgis-slice.entry.js +7 -7
- package/dist/esm/arcgis-slider.entry.js +7 -7
- package/dist/esm/arcgis-swipe.entry.js +7 -7
- package/dist/esm/arcgis-table-list.entry.js +7 -7
- package/dist/esm/arcgis-time-slider.entry.js +7 -7
- package/dist/esm/arcgis-track.entry.js +8 -8
- package/dist/esm/arcgis-utility-network-associations.entry.js +24 -24
- package/dist/esm/arcgis-utility-network-trace.entry.js +24 -24
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
- package/dist/esm/arcgis-value-picker.entry.js +7 -7
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +2 -2
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +9 -4
- package/dist/esm/arcgis-version-management.entry.js +13 -14
- package/dist/esm/arcgis-weather.entry.js +7 -7
- package/dist/esm/arcgis-zoom.entry.js +8 -8
- package/dist/esm/{chunk-VBLIMWUU-f0f4ec27.js → chunk-VBLIMWUU-8b6d1a2f.js} +3 -3
- package/dist/esm/{component-utils-385279c7.js → component-utils-326a748f.js} +1 -1
- package/dist/esm/{disconnected-b44d1972.js → disconnected-b9d67a73.js} +2 -2
- package/dist/esm/{globalCss-025eaf45.js → globalCss-ab89736f.js} +1 -1
- package/dist/esm/{index-aed3d0cf.js → index-15e8388f.js} +1 -1
- package/dist/esm/{index-8cb1fcd4.js → index-61686ad1.js} +1 -1
- package/dist/esm/{index-fac4fc13.js → index-c7545985.js} +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{useViewModel-020351cb.js → useViewModel-9d6f39c1.js} +5 -5
- package/dist/esm/{useWidget-a66dde6b.js → useWidget-8ddbd76d.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/coordinate-conversion/coordinate-conversion.d.ts +10 -3
- package/dist/types/components/print/print.d.ts +9 -2
- package/dist/types/components/search/search.d.ts +7 -14
- package/dist/types/components/time-slider/time-slider.d.ts +1 -1
- package/dist/types/components/utility-network-associations/utility-network-associations.d.ts +6 -6
- package/dist/types/components/utility-network-trace/utility-network-trace.d.ts +6 -6
- package/dist/types/components/version-management/components/version-management-version-list/version-management-version-list.d.ts +17 -16
- package/dist/types/components/version-management/version-management.d.ts +21 -23
- package/dist/types/components.d.ts +36 -124
- package/package.json +10 -10
- package/dist/arcgis-map-components/p-0827d979.entry.js +0 -6
- package/dist/arcgis-map-components/p-090b46e7.entry.js +0 -6
- package/dist/arcgis-map-components/p-4f00a5b2.entry.js +0 -6
- package/dist/arcgis-map-components/p-5e8a2215.entry.js +0 -6
- package/dist/arcgis-map-components/p-69cb1564.entry.js +0 -6
- package/dist/arcgis-map-components/p-90a2267d.entry.js +0 -6
- package/dist/arcgis-map-components/p-afd546a6.entry.js +0 -6
- package/dist/arcgis-map-components/p-ba8e9188.entry.js +0 -6
- package/dist/arcgis-map-components/p-bb3f0188.entry.js +0 -6
- package/dist/arcgis-map-components/p-c4c7078c.entry.js +0 -6
- package/dist/arcgis-map-components/p-db10b65d.entry.js +0 -6
- package/dist/arcgis-map-components/p-db269afb.entry.js +0 -6
- package/dist/arcgis-map-components/p-f648f586.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{u as h}from"./p-aae200a6.js";import{u as a}from"./p-62d75abb.js";import{a0 as r}from"./p-4e4e798c.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(r),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=h()("imageGalleryEnabled"),this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.referenceElement=void 0,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.referencePoint=this.widget.referencePoint,this.autoDestroyDisabled=!1}async destroy(){await this.manager.destroy()}get el(){return i(this)}};m.style="";export{m as arcgis_oriented_imagery_viewer}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{G as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("analysis","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.analysis=this.widget.analysis,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}get el(){return i(this)}};c.style="";export{c as arcgis_directline_measurement_3d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{B as h}from"./p-4e4e798c.js";import{u as a}from"./p-62d75abb.js";import{m as r}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=r(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.currentSeason=this.viewModel.currentSeason,this.dayPlaying=this.viewModel.dayPlaying,this.yearPlaying=this.viewModel.yearPlaying,this.dateOrSeason=this.widget.dateOrSeason,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.timeSliderSteps=this.widget.timeSliderSteps,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimezone=this.widget.visibleElements.timezone,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.position="bottom-left"}async destroy(){await this.manager.destroy()}get el(){return i(this)}};e.style="";export{e 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{m as s}from"./p-
|
|
6
|
+
import{m as s}from"./p-aae200a6.js";import{p as t,A as i,a as e,w as h}from"./p-62d75abb.js";import{a as o}from"./p-e220e9a6.js";import{a}from"./p-e9c5d6df.js";const r=s(o),n=s=>(t,i)=>c(t,s,i),c=t(class extends i{hostConnected(){this.component.manager.didLoadCalled&&a(this.component)}async hostLoad(){await super.hostLoad(),this.component.manager.destroyed||(this._watchMetaProperties(),e.reEmitAccessorEvents(this,this._instance,this.reactiveUtils,"viewModel"))}hostLoaded(){const{el:s}=this.component;s.childElem=s.shadowRoot?.firstElementChild??s.firstElementChild??void 0??s.childElem;let t=!1;const i=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:s=>{const i=this.component.el.view;this._instance.view=s,this._watchViewDestroy(),this.component.requestUpdate("view",i),s&&!t&&(t=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),i&&(this._instance.view=i),this.component.el.isConnected&&(a(this.component),this._watchViewDestroy())}hostDisconnected(){"object"==typeof this.component.el.childElem&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",(s=>{null!=this.component.el.childElem&&"string"==typeof s&&a(this.component)})),h(this.component,"referenceElement",(()=>a(this.component)))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when((()=>!0===this.component.el.view?.destroyed),(()=>{this.component.destroy().catch(console.error)}),{sync:!0})}});export{n as m,r as u}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{a2 as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.region=this.widget.region,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="arcgis-scale-range-slider{}";export{c as arcgis_scale_range_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as i,g as t}from"./p-
|
|
6
|
+
import{r as s,c as i,g as t}from"./p-e220e9a6.js";import{ai as h}from"./p-4e4e798c.js";import{m as a}from"./p-b8219a87.js";import{u as r}from"./p-aae200a6.js";import{u as e}from"./p-62d75abb.js";import"./p-e9c5d6df.js";const c=a(h),o=class{constructor(t){s(this,t),this.arcgisReady=i(this,"arcgisReady",7),this.arcgisPropertyChange=i(this,"arcgisPropertyChange",7),this.widgetAnimate=i(this,"arcgisAnimate",7),this.widgetNext=i(this,"arcgisNext",7),this.widgetPause=i(this,"arcgisPause",7),this.widgetPlay=i(this,"arcgisPlay",7),this.widgetPrevious=i(this,"arcgisPrevious",7),this.manager=e(this),this.widget=c(this),this.arcgisPropertyChange=r()("values"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.position="bottom-left",this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.values=this.widget.values}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}get el(){return t(this)}};o.style="arcgis-value-picker{}";export{o as arcgis_value_picker}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
6
|
function t(...t){const n=[];for(let i=0;i<t.length;i++){const a=t[i];if("string"==typeof a)n.push(a);else if(Array.isArray(a))n.push.apply(n,a);else if("object"==typeof a)for(const t in a)a[t]&&n.push(t)}const i=n.join(" ");return n.length=0,i}var n=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};var i={};function a(t,n,...i){try{return t?.call(n,...i)}catch(n){console.error(n,t)}}async function r(t,n,...i){try{const a=t?.call(n,...i);return a instanceof Promise?await a:a}catch(n){console.error(n,t)}}var e=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),s="en",o={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function c(t,n,i=""){const a=`${n}/${i}`,r=`${a}${t}.json`;return w[r]??(w[r]=u(t,a)),await w[r]}var w={};async function u(t,n){const i=`${n}${t}.json`;try{const t=await fetch(i);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===s?{}:await u(s,n)}function f(t){const n=function(t,n,i){const a=function(t,n){let i=t;for(;i;){const t=i.closest(n);if(t)return t;const a=i.getRootNode();if(a===document)return null;i=a.host}return null}(t,`[${n}]`);return a?.getAttribute(n)??i}(t,"lang",navigator.language||s);return{lang:n,t9nLocale:d(n)}}function d(t){const n=t.split("-"),i=`${n[0].toLowerCase()}${n.slice(1).join("-").toUpperCase()}`;if(e.has(i))return i;const a=i.slice(0,2).toLowerCase(),r=o[a]??a;return e.has(r)?r:s}function g(t,n,a,r){let e;const s=()=>{(async function(t,n,i=t.tagName.toLowerCase().replace("arcgis-","")){const{lang:a,t9nLocale:r}=f(t),e=`${n}/${i}/t9n`,s=`${i}.t9n.`;return{lang:a,t9nLocale:r,t9nStrings:await c(r,e,s)}})(t,n,r).then((t=>{e?.lang===t.lang&&e.t9nLocale===t.t9nLocale&&e.t9nStrings===t.t9nStrings||a(t),e=t})).catch(console.error)};return s(),function(t,n,a){const{subscribe:r}=function(t){const n=t.join(","),a=i[n];if(void 0!==a)return a;const r=new Set,e=new MutationObserver((t=>r.forEach((n=>n(t)))));e.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const s={subscribe:t=>(r.add(t),{remove:()=>{r.delete(t),0===r.size&&(e.disconnect(),i[n]=void 0)}})};return i[n]=s,s}(n);return r((n=>{const i=n.some((n=>function(t,n){let i=t;for(;i;){if(i===n)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}(t,n.target)));i&&a()}))}(t,["lang"],s)}var y=t=>t.replace(l,((t,n)=>`${0===n?"":"-"}${t.toLowerCase()}`)),l=/[A-Z]+(?![a-z])|[A-Z]/gu;function m(t,n){const i=n>p?j:n/M;let a=0;const r=setInterval((()=>{a+=i,a>=n&&(clearInterval(r),t())}),i);return r}var p=4e3,j=2e3,M=4;function S(t){return void 0!==t}var h="undefined"!=typeof window&&"$arcgis"in window&&"object"==typeof window.$arcgis&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function v(t){return void 0!==t.default}async function V(){if(h)return await window.$arcgis.import("esri/core/Accessor");const t=await import("@arcgis/core/core/Accessor.js");return v(t)?t.default:t}async function L(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/layers/FeatureLayer");const t=await import("@arcgis/core/layers/FeatureLayer.js");return v(t)?t.default:t}())(t)}async function b(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/layers/GraphicsLayer");const t=await import("@arcgis/core/layers/GraphicsLayer.js");return v(t)?t.default:t}())(t)}async function T(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/layers/RouteLayer");const t=await import("@arcgis/core/layers/RouteLayer.js");return v(t)?t.default:t}())(t)}async function F(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/views/MapView");const t=await import("@arcgis/core/views/MapView.js");return v(t)?t.default:t}())(t)}async function k(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/views/SceneView");const t=await import("@arcgis/core/views/SceneView.js");return v(t)?t.default:t}())(t)}async function D(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/WebMap");const t=await import("@arcgis/core/WebMap.js");return v(t)?t.default:t}())(t)}async function B(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/WebScene");const t=await import("@arcgis/core/WebScene.js");return v(t)?t.default:t}())(t)}async function C(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");const t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return v(t)?t.default:t}())(t)}async function $(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");const t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return v(t)?t.default:t}())(t)}async function A(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Attachments");const t=await import("@arcgis/core/widgets/Attachments.js");return v(t)?t.default:t}())(t)}async function P(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/BasemapGallery");const t=await import("@arcgis/core/widgets/BasemapGallery.js");return v(t)?t.default:t}())(t)}async function U(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/BasemapLayerList");const t=await import("@arcgis/core/widgets/BasemapLayerList.js");return v(t)?t.default:t}())(t)}async function N(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");const t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return v(t)?t.default:t}())(t)}async function E(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Bookmarks");const t=await import("@arcgis/core/widgets/Bookmarks.js");return v(t)?t.default:t}())(t)}async function H(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/BuildingExplorer");const t=await import("@arcgis/core/widgets/BuildingExplorer.js");return v(t)?t.default:t}())(t)}async function R(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");const t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return v(t)?t.default:t}())(t)}async function W(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/CoordinateConversion");const t=await import("@arcgis/core/widgets/CoordinateConversion.js");return v(t)?t.default:t}())(t)}async function z(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Daylight");const t=await import("@arcgis/core/widgets/Daylight.js");return v(t)?t.default:t}())(t)}async function Z(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/DirectionalPad");const t=await import("@arcgis/core/widgets/DirectionalPad.js");return v(t)?t.default:t}())(t)}async function x(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Directions");const t=await import("@arcgis/core/widgets/Directions.js");return v(t)?t.default:t}())(t)}async function O(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");const t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return v(t)?t.default:t}())(t)}async function G(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");const t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return v(t)?t.default:t}())(t)}async function I(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Editor");const t=await import("@arcgis/core/widgets/Editor.js");return v(t)?t.default:t}())(t)}async function K(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/ElevationProfile");const t=await import("@arcgis/core/widgets/ElevationProfile.js");return v(t)?t.default:t}())(t)}async function q(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Expand");const t=await import("@arcgis/core/widgets/Expand.js");return v(t)?t.default:t}())(t)}async function J(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Feature");const t=await import("@arcgis/core/widgets/Feature.js");return v(t)?t.default:t}())(t)}async function Q(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/FeatureForm");const t=await import("@arcgis/core/widgets/FeatureForm.js");return v(t)?t.default:t}())(t)}async function X(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Features");const t=await import("@arcgis/core/widgets/Features.js");return v(t)?t.default:t}())(t)}async function Y(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/FeatureTable");const t=await import("@arcgis/core/widgets/FeatureTable.js");return v(t)?t.default:t}())(t)}async function _(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/FeatureTemplates");const t=await import("@arcgis/core/widgets/FeatureTemplates.js");return v(t)?t.default:t}())(t)}async function tt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/FloorFilter");const t=await import("@arcgis/core/widgets/FloorFilter.js");return v(t)?t.default:t}())(t)}async function nt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");const t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return v(t)?t.default:t}())(t)}async function it(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Histogram");const t=await import("@arcgis/core/widgets/Histogram.js");return v(t)?t.default:t}())(t)}async function at(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");const t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return v(t)?t.default:t}())(t)}async function rt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");const t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return v(t)?t.default:t}())(t)}async function et(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/LayerList");const t=await import("@arcgis/core/widgets/LayerList.js");return v(t)?t.default:t}())(t)}async function st(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Legend");const t=await import("@arcgis/core/widgets/Legend.js");return v(t)?t.default:t}())(t)}async function ot(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/LineOfSight");const t=await import("@arcgis/core/widgets/LineOfSight.js");return v(t)?t.default:t}())(t)}async function ct(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");const t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return v(t)?t.default:t}())(t)}async function wt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Measurement");const t=await import("@arcgis/core/widgets/Measurement.js");return v(t)?t.default:t}())(t)}async function ut(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/NavigationToggle");const t=await import("@arcgis/core/widgets/NavigationToggle.js");return v(t)?t.default:t}())(t)}async function ft(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");const t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return v(t)?t.default:t}())(t)}async function dt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Print");const t=await import("@arcgis/core/widgets/Print.js");return v(t)?t.default:t}())(t)}async function gt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");const t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return v(t)?t.default:t}())(t)}async function yt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");const t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return v(t)?t.default:t}())(t)}async function lt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Search");const t=await import("@arcgis/core/widgets/Search.js");return v(t)?t.default:t}())(t)}async function mt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/ShadowCast");const t=await import("@arcgis/core/widgets/ShadowCast.js");return v(t)?t.default:t}())(t)}async function pt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Sketch");const t=await import("@arcgis/core/widgets/Sketch.js");return v(t)?t.default:t}())(t)}async function jt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Slice");const t=await import("@arcgis/core/widgets/Slice.js");return v(t)?t.default:t}())(t)}async function Mt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Slider");const t=await import("@arcgis/core/widgets/Slider.js");return v(t)?t.default:t}())(t)}async function St(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Swipe");const t=await import("@arcgis/core/widgets/Swipe.js");return v(t)?t.default:t}())(t)}async function ht(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/TableList");const t=await import("@arcgis/core/widgets/TableList.js");return v(t)?t.default:t}())(t)}async function vt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/TimeSlider");const t=await import("@arcgis/core/widgets/TimeSlider.js");return v(t)?t.default:t}())(t)}async function Vt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");const t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return v(t)?t.default:t}())(t)}async function Lt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");const t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return v(t)?t.default:t}())(t)}async function bt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");const t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return v(t)?t.default:t}())(t)}async function Tt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");const t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return v(t)?t.default:t}())(t)}async function Ft(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/ValuePicker");const t=await import("@arcgis/core/widgets/ValuePicker.js");return v(t)?t.default:t}())(t)}async function kt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");const t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return v(t)?t.default:t}())(t)}async function Dt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Weather");const t=await import("@arcgis/core/widgets/Weather.js");return v(t)?t.default:t}())(t)}async function Bt(t){return new(await async function(){if(h)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");const t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return v(t)?t.default:t}())(t)}async function Ct(){if(h)return await window.$arcgis.import("esri/core/accessorSupport/decorators");const t=await import("@arcgis/core/core/accessorSupport/decorators.js");return v(t)?t.default:t}async function $t(){if(h)return await window.$arcgis.import("esri/core/reactiveUtils");const t=await import("@arcgis/core/core/reactiveUtils.js");return v(t)?t.default:t}async function At(){if(h)return await window.$arcgis.import("esri/intl");const t=await import("@arcgis/core/intl.js");return v(t)?t.default:t}async function Pt(){if(h)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");const t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return v(t)?t.default:t}async function Ut(){if(h)return await window.$arcgis.import("esri/applications/Components/basemapUtils");const t=await import("@arcgis/core/applications/Components/basemapUtils.js");return v(t)?t.default:t}export{ut as $,W as A,z as B,Z as C,n as D,T as E,x as F,O as G,G as H,I,K as J,q as K,J as L,Q as M,Y as N,L as O,_ as P,X as Q,tt as R,nt as S,it as T,at as U,rt as V,et as W,st as X,ot as Y,ct as Z,wt as _,F as a,ft as a0,dt as a1,yt as a2,B as a3,k as a4,lt as a5,mt as a6,b as a7,pt as a8,jt as a9,Mt as aa,St as ab,ht as ac,vt as ad,Vt as ae,Lt as af,bt as ag,Tt as ah,Ft as ai,kt as aj,Dt as ak,Bt as al,gt as b,t as c,At as d,Pt as e,S as f,f as g,a as h,$t as i,r as j,m as k,V as l,Ct as m,D as n,y as o,C as p,$ as q,A as r,g as s,P as t,U as u,N as v,Ut as w,E as x,H as y,R 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{f as t,h as i,D as s,j as o,k as n,l as e,m as h,o as r,i as c}from"./p-289f8f19.js";var a,u=(t,i)=>t.manager.internals.members?.[i]?.[0],d=Symbol.for("controller");function f(t){a!==t&&(a=t,queueMicrotask((()=>{a===t&&(a=void 0)})))}function l(){return a}var y,p=[];function v(t){if(void 0===t)return void(p=[]);const i=p.indexOf(t);p=-1===i?[...p,t]:p.slice(0,i+1),queueMicrotask((()=>{p=[]}))}var g,w=async(t,i)=>{const s=m(t);if(void 0===s)return t;if(await s.ready,"function"==typeof i){const t=s.watchExports((s=>i(s,t)))}return s.exports},b=async t=>{const i=m(t);return await i.ready,i},m=t=>{const i=function(){const t=y;return y=void 0,t}();if(void 0!==i)return i;const s=l().manager.internals.resolveExports(t);return void 0!==s?s:(t=>"object"==typeof t&&null!==t&&(d in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},j={setter:!1,getter:!1,readOnly:!1},k=new WeakMap;g=d;var C=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new s,this._lifecycleCleanups=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[g]=!0,this.ready=this._ready.promise,this._exports=U(this),this._exportWatchers=new Set;const i=t??l();this.component=i,this.component.addController(this),v(this),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const s=this._exports;s!==t&&(this._exports=t,this._exportWatchers.forEach(i),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,s)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=U(t),this._exportWatchers.forEach(i)}watchExports(t){const i=()=>t(this._exports);return this._exportWatchers.add(i),()=>{this._exportWatchers.delete(i)}}get use(){return f(this.component),w}get useRef(){return f(this.component),b}get useRefSync(){return f(this.component),m}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&i(t.hostConnected,t),this._callbacks.hostConnected.forEach(i),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&i(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(i),this._lifecycleCleanups.forEach(i),this._lifecycleCleanups=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await o(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(o)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&i(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(i),this.didLoadCalled=!0}triggerUpdate(t){const s=this;s.hostUpdate&&i(s.hostUpdate,s,t),this._callbacks.hostUpdate.forEach(L,t)}triggerUpdated(t){const s=this;s.hostUpdated&&i(s.hostUpdated,s,t),this._callbacks.hostUpdated.forEach(L,t)}triggerDestroy(){const t=this;t.hostDestroy&&i(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(i)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){f(this.component);const s=i(t);(Array.isArray(s)?s:[s]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}};function L(t){i(t,void 0,this)}var x=C;function U(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const i=new Proxy(t,{get(t,s,o){if(!D.has(s)||!(s in t)||t[s]!==i)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0},set:(t,i,s,o)=>Reflect.set(t,i,s,o)});return i}var D=new Set(["exports","_exports"]),O=void 0;function P(){Array.from(O?.entries()??[]).forEach((([t,{callbacks:i}])=>{const s=Object.keys(t);i.forEach((t=>t(s)))})),O=void 0}function M(t,s,o){var n;const e=s,h=t.manager.internals;(n=h.allWatchers)[e]??(n[e]=[]);const r=h.allWatchers[e],c=o,a=(t,s,o)=>i(c,null,t,s,o);return r.push(a),()=>{const t=r.indexOf(a);-1!==t&&r.splice(t,1)}}var _=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([i,[s]])=>{var o;2048&s&&((o=t.setters)[i]??(o[i]=[]),t.setters[i].push(t.readonlySetter))}))},this.trackedValue=R,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,i,s)=>{if(j.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,i){const s=this.keyTrackers;this.trackedValue=R,this.keyTrackers=[],s.forEach((s=>s(t,i)))}getSetProxy(t){const i=this.component,s=i.constructor.prototype;if(this._getSetProxy(s,t,"class"),i.manager.isLit)return;const o=i.el.constructor.prototype;s!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,i,s){const o=u(this.component,i),n=Object.getOwnPropertyDescriptor(t,i);if(!n)return;const e=n.get,h=n.set,r=!(S in e),c=!(S in h);if(!r&&!c)return;const a=r?function(){let t=e.call(this);const s=k.get(this);if(j.getter||void 0===s)return t;const o=s.manager.internals;t=o.accessorGetter[i](t,i);const n=o.getters[i]??A;for(let s=0;s<n.length;s++)t=n[s](t,i);return t}:e,d=c?function(t){const s=e.call(this),n=k.get(this);if(void 0===n)return void h.call(this,t);let r=n.manager.isLit?t:function(t,i=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&i?"false"!==t&&(""===t||!!t):2&i?Number.parseFloat(t):1&i?String(t):t}(t,o);const c=n.manager.internals;if(r===s)h.call(this,t);else{const t=j.setter?A:c.setters[i]??A;for(let o=0;o<t.length&&(r=t[o](r,s,i),r!==s);o++);r=c.accessorSetter[i](r,s,i),h.call(this,r),r!==s&&c.enabledWatchers[i]?.forEach((t=>t(r,s,i)))}c.keyTrackers.length>0&&c?.firePropTrackers(i,t)}:h;r&&(a[S]=!0),c&&(d[S]=!0),Object.defineProperty(t,i,{...n,get:a,set:d})}markExports(t,i){("object"==typeof i&&null!==i||"function"==typeof i)&&this._exports.set(i,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},A=[],S=Symbol(),R=Symbol(),E=(t,i)=>new q(t,i),q=class extends x{constructor(i,o){const n="addController"in i,e=new Set,h=i;if(h.addController=function(t){e.add(t),n&&!(d in t)&&i.el.isConnected&&t.hostConnected?.()},h.removeController=function(t){e.delete(t),t.controllerRemoved?.()},!n){const t=o??i.constructor.__forceUpdate;h.requestUpdate=()=>t(i)}super(i),this.internals=new _(this.component),this.destroyed=!1,this._updatePromise=new s,this._originalLifecycles={},this.isLit=n,this.component.manager=this,function(i,s){if(s)i.manager.internals.members=Object.fromEntries(Array.from(i.constructor.elementProperties,(([t,i])=>i.noAccessor?void 0:[t,[(i.readOnly?2048:0)|(i.state?32:i.type===Number?2:i.type===Boolean?4:1)]])).filter(t));else{const t=i.constructor,s=t.__registerControllers?.(i)??void 0;if(t.__registerControllers=void 0,"object"!=typeof s)throw new Error("Failed to retrieve component meta");i.manager.internals.members=Object.fromEntries(Object.entries(s).filter((([t,[i]])=>!!(63&i))))}}(i,n),this._controllers=e,this.exports=void 0,this.hasDestroy=T in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&M(i,T,(()=>this._setAutoDestroyTimeout())),this._bindLifecycleMethods();const r=this.internals;Object.keys(r.members).forEach((t=>{r.accessorGetter[t]=W,r.accessorSetter[t]=W,r.getSetProxy(t)})),n||Object.defineProperty(i,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(r.enableReadonly),v(void 0),f(i),k.set(i.el,i),k.set(i,i)}_bindLifecycleMethods(){const t=this.component,i=this.isLit,s=t.el===t;this._originalLifecycles={connectedCallback:i||s?void 0:t.connectedCallback,disconnectedCallback:i||s?void 0:t.disconnectedCallback,componentWillLoad:i?void 0:t.componentWillLoad,componentDidLoad:i?void 0:t.componentDidLoad,componentWillUpdate:i?void 0:t.componentWillUpdate,componentDidUpdate:i?void 0:t.componentDidUpdate,destroy:t.destroy};const o=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),e=this._update.bind(this),h=this._updated.bind(this);i?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:n,hostUpdate:e,hostUpdated:h}):(t.connectedCallback=o,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=e,t.componentDidUpdate=h),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${T} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,P(),t.enableReadonly?.(),this._controllers.forEach(I),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(N),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const i of t)"triggerLoad"in i?await i.triggerLoad():await o(i.hostLoad,i);await Promise.allSettled(Array.from(this._controllers,B,t)),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach(F),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach(G,this.component.changedProperties),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(z,t.changedProperties),this._originalLifecycles.componentDidUpdate?.call(this.component),this.isLit)t.changedProperties=new Map;else{const t=this._updatePromise;this._updatePromise=new s,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(H),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_setAutoDestroyTimeout(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=n((()=>{this.destroy().catch(console.error)}),$))}},T="autoDestroyDisabled",$=1e3,W=t=>t;function I(t){"triggerConnected"in t?t.triggerConnected():i(t.hostConnected,t)}function N(t){"triggerDisconnected"in t?t.triggerDisconnected():i(t.hostDisconnected,t)}async function B(t){this.has(t)||("triggerLoad"in t?await t.triggerLoad():await o(t.hostLoad,t))}function F(t){"triggerLoaded"in t?t.triggerLoaded():i(t.hostLoaded,t)}function G(t){"triggerUpdate"in t?t.triggerUpdate(this):i(t.hostUpdate,t,this)}function z(t){"triggerUpdated"in t?t.triggerUpdated(this):i(t.hostUpdated,t,this)}function H(t){"triggerDestroy"in t?t.triggerDestroy():i(t.hostDestroy,t)}function J(t,s,o){const n=t.manager.internals;return n.trackedValue!==R&&n.trackedValue!==o&&n.firePropTrackers(void 0,void 0),0===n.keyTrackers.length&&queueMicrotask((()=>n.firePropTrackers(void 0,void 0))),n.trackedValue=o,n.keyTrackers.push(((t,n)=>i(s,void 0,o===n?t:void 0))),o}function K(t,s,o){const n=Array.isArray(t)?t:[t];let e=n.length+1;const h=t=>{e-=1,void 0!==t&&(e=0),0===e&&s(t)};n.forEach((t=>function(t,s,o){const n=Object.keys(t),e=n.length;void 0===O&&queueMicrotask(P),O??(O=new Map);let h=O.get(t);return void 0===h&&(h={callbacks:[],keyCount:e},O.set(t,h)),h.keyCount!==e&&(h.callbacks.forEach((t=>t(n))),h.callbacks=[],h.keyCount=e),h.callbacks.push((n=>{const h=n[e];i(s,null,void 0===h?void 0:t[h]===o?h:void 0)})),o}(t,(i=>h(void 0===i?void 0:{key:i,host:t,isReactive:!1})),o)));const r=n.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return r&&J(r,(t=>h(void 0===t?void 0:{key:t,host:r,isReactive:void 0!==u(r,t)})),o),o}function Q(t,i){const s=l();return J(s,(o=>{const n=o,e=s.manager,h=s,r=h[n];if(null!=r&&r!==t&&"function"==typeof i.set&&(i.initialSet??1)){const s=i.set(r,t,n);if(s!==r)if(e.isLit)h[n]=s;else{let t=!0;e.onConnected((()=>{t&&(t=!0,V((()=>{h[n]=s})))}))}}!function(t,i,s){var o,n;const e=s,h=t.manager.internals,r="function"==typeof e.get?e.get:void 0;r&&((o=h.getters)[i]??(o[i]=[]),h.getters[i].unshift(r));const c="ignore"===e.set?Y:e.set;c&&((n=h.setters)[i]??(n[i]=[]),h.setters[i].unshift(c))}(s,n,i)}),t)}function V(t){j.setter=!0;try{return t()}finally{j.setter=!1}}function X(t){j.getter=!0;try{return t()}finally{j.getter=!1}}var Y=(t,i)=>i;function Z(t){return Q(t,{set:l().manager.internals.readonlySetter})}var tt,it=t=>(...i)=>{const s=p,o=new t(...i),n=o.exports;v(s.at(-1));const e=o.component.manager.internals;var h;return e.markExports(o,n),o.watchExports((t=>e.markExports(o,t))),y!==(h=o)&&(y=h,queueMicrotask((()=>{y===h&&(y=void 0)}))),K([o.component,...s].reverse(),(t=>void 0===t?void 0:function(t,{host:i,key:s,isReactive:o},n){const e=i,h=e[s]!==n;e[s]!==t.exports&&!h&&n!==t.exports&&(e[s]=t.exports);if(i===t.component){if(o){const i=t.component.manager.internals;h&&i.markExports(t,e[s]),M(t.component,s,(s=>{s!==t.exports&&i.markExports(t,s)}))}t.assignedProperty=o?void 0:s}t.watchExports((()=>{if(e[s]===t.exports)return;const i=t.component.manager,o=i.internals.setters[s]?.includes(i.internals.readonlySetter);o?function(){j.readOnly=!0;try{return void(e[s]=t.exports)}finally{j.readOnly=!1}}():e[s]=t.exports}))}(o,t,n)),n)},st=t=>ot(void 0,t),ot=it(class extends C{constructor(t,i){super(t);const s=this.exports;try{f(this.component);const t=i(this.component,this),o=this.exports!==s;if(t instanceof Promise){o||this.setProvisionalExports(t);const i=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await i))}else o&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),nt=t=>(i,s)=>ht(i,t,s),et=class extends x{constructor(t,i,s){super(t),this._loadAccessor=i,this._options=s,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(rt.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const o=t.manager.internals.reactiveUtilsIntegrations;o.add(this);const n=Array.from(o).find((t=>t instanceof at));n&&o.delete(n),o.add(n??new at(this.component)),J(t,(t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await async function(){return tt??(tt=c()),await tt}();const t=this.component,i=this._gatherParameters(),s=this._options?.editConstructorProperties?.call(t,i)??i,o=s instanceof Promise?await s:s,n="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=n&&n!==this.exports?(this._instance=n,n.set(o)):this._instance=await this._createInstance(o),t.manager.destroyed||(rt.watchComponentUpdates(this,this._instance,this._watchedProperties),rt.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,(([t,i])=>[i,this.component[t]])).filter((([,t])=>void 0!==t)))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},ht=it(et),rt={makeGetterProxy:(t,i,s)=>new Proxy({},{has:(t,i)=>"string"==typeof i||i in t,get:(o,n)=>{const e=Reflect.get(o,n);return"symbol"==typeof n||n in Promise.prototype||n in o||!(s?.value??1)?e:K(t,(t=>{void 0!==t&&i.set(t.key,n)}),e)}}),watchComponentUpdates(t,i,s){function o(t,o){const n=s.get(o),e=i[n];return"boolean"==typeof e&&n!==o&&o.toLowerCase().includes("disable")?!e:e}const n=(t,o,n)=>{const e=s.get(n),h=i[e],r="boolean"==typeof h&&e!==n&&n.toLowerCase().includes("disable");if((r?!h:h)===t)return t;i[e]=r?!t:t;const c=i[e];return r?!c:c},e=t.component.manager.internals;s.forEach(((t,i)=>{e.accessorGetter[i]=o,e.accessorSetter[i]=n}))},watchAccessorUpdates(t,i,s){const{component:o}=t,n=o,e=i,h=function(t){const i=t,s=Object.entries(i.__accessor__?.metadata??{});return new Set(s.filter((([t,i])=>!0===i?.readOnly)).map((([t])=>t)))}(i);X((()=>s.forEach(((t,i)=>{if(h.has(t))return;const s=n[i],o=e[t],r="boolean"==typeof s&&t!==i&&i.toLowerCase().includes("disable")?!s:s;null!=r&&o!==r&&(e[t]=r)})))),t.onLifecycle((()=>{if(!i.destroyed)return Array.from(s,(([i,s])=>t.reactiveUtils.watch((()=>e[s]),(()=>{const t=e[s],o="boolean"==typeof t&&s!==i&&i.toLowerCase().includes("disable")?!t:t;V((()=>{n[i]=o}))}),{initial:!0})))}))},reEmitAccessorEvents(i,s,o,n){if(!("on"in s)||"function"!=typeof s.on)return;const e=Object.entries(i.component).map((([t,i])=>{const s=i;if(!t.startsWith(n)||t===n||"object"!=typeof s||null===s||!("emit"in s)||"function"!=typeof s.emit)return;const o=s.emit,e=t.slice(n.length);return[r(e).toLowerCase(),o]})).filter(t);if(0===e.length)return;const h=s,c=()=>h;i.onLifecycle((()=>{if(!s.destroyed)return e.map((([t,i])=>o.on(c,t,i)))}))},async reCreate(t,i){const s=i.manager.useRefSync(t);void 0!==s&&await s.reCreate()}},ct=Promise.all([e(),h()]),at=class extends x{async hostLoad(){const[t,{subclass:i,property:s}]=await ct;class o extends t{}const n=(t,i)=>a[i];function e(t,i,s){return void 0!==a&&(a[s]=t),t}const h=this.component,r=h.manager.internals,c=[];if(X((()=>Object.keys(r.members).forEach((t=>{r.accessorSetter[t]!==W||(c.push(t),r.accessorGetter[t]=n,r.accessorSetter[t]=e,s({value:h[t]})(o.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const a=new(i(h.el.tagName)(o));this._instance=a}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((i=>{t.accessorGetter[i]=W,t.accessorSetter[i]=W}))}};export{et as A,rt as a,st as b,Q as g,nt as m,it as p,Z as r,J as t,E as u,M as w}
|
|
6
|
+
import{f as t,h as i,D as s,j as o,k as n,l as e,m as h,o as r,i as c}from"./p-4e4e798c.js";var a,u=(t,i)=>t.manager.internals.members?.[i]?.[0],d=Symbol.for("controller");function f(t){a!==t&&(a=t,queueMicrotask((()=>{a===t&&(a=void 0)})))}function l(){return a}var y,p=[];function v(t){if(void 0===t)return void(p=[]);const i=p.indexOf(t);p=-1===i?[...p,t]:p.slice(0,i+1),queueMicrotask((()=>{p=[]}))}var g,w=async(t,i)=>{const s=m(t);if(void 0===s)return t;if(await s.ready,"function"==typeof i){const t=s.watchExports((s=>i(s,t)))}return s.exports},b=async t=>{const i=m(t);return await i.ready,i},m=t=>{const i=function(){const t=y;return y=void 0,t}();if(void 0!==i)return i;const s=l().manager.internals.resolveExports(t);return void 0!==s?s:(t=>"object"==typeof t&&null!==t&&(d in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},j={setter:!1,getter:!1,readOnly:!1},k=new WeakMap;g=d;var C=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new s,this._lifecycleCleanups=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[g]=!0,this.ready=this._ready.promise,this._exports=U(this),this._exportWatchers=new Set;const i=t??l();this.component=i,this.component.addController(this),v(this),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const s=this._exports;s!==t&&(this._exports=t,this._exportWatchers.forEach(i),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,s)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=U(t),this._exportWatchers.forEach(i)}watchExports(t){const i=()=>t(this._exports);return this._exportWatchers.add(i),()=>{this._exportWatchers.delete(i)}}get use(){return f(this.component),w}get useRef(){return f(this.component),b}get useRefSync(){return f(this.component),m}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&i(t.hostConnected,t),this._callbacks.hostConnected.forEach(i),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&i(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(i),this._lifecycleCleanups.forEach(i),this._lifecycleCleanups=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await o(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(o)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&i(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(i),this.didLoadCalled=!0}triggerUpdate(t){const s=this;s.hostUpdate&&i(s.hostUpdate,s,t),this._callbacks.hostUpdate.forEach(L,t)}triggerUpdated(t){const s=this;s.hostUpdated&&i(s.hostUpdated,s,t),this._callbacks.hostUpdated.forEach(L,t)}triggerDestroy(){const t=this;t.hostDestroy&&i(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(i)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){f(this.component);const s=i(t);(Array.isArray(s)?s:[s]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}};function L(t){i(t,void 0,this)}var x=C;function U(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const i=new Proxy(t,{get(t,s,o){if(!D.has(s)||!(s in t)||t[s]!==i)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0},set:(t,i,s,o)=>Reflect.set(t,i,s,o)});return i}var D=new Set(["exports","_exports"]),O=void 0;function P(){Array.from(O?.entries()??[]).forEach((([t,{callbacks:i}])=>{const s=Object.keys(t);i.forEach((t=>t(s)))})),O=void 0}function M(t,s,o){var n;const e=s,h=t.manager.internals;(n=h.allWatchers)[e]??(n[e]=[]);const r=h.allWatchers[e],c=o,a=(t,s,o)=>i(c,null,t,s,o);return r.push(a),()=>{const t=r.indexOf(a);-1!==t&&r.splice(t,1)}}var _=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([i,[s]])=>{var o;2048&s&&((o=t.setters)[i]??(o[i]=[]),t.setters[i].push(t.readonlySetter))}))},this.trackedValue=R,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,i,s)=>{if(j.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,i){const s=this.keyTrackers;this.trackedValue=R,this.keyTrackers=[],s.forEach((s=>s(t,i)))}getSetProxy(t){const i=this.component,s=i.constructor.prototype;if(this._getSetProxy(s,t,"class"),i.manager.isLit)return;const o=i.el.constructor.prototype;s!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,i,s){const o=u(this.component,i),n=Object.getOwnPropertyDescriptor(t,i);if(!n)return;const e=n.get,h=n.set,r=!(S in e),c=!(S in h);if(!r&&!c)return;const a=r?function(){let t=e.call(this);const s=k.get(this);if(j.getter||void 0===s)return t;const o=s.manager.internals;t=o.accessorGetter[i](t,i);const n=o.getters[i]??A;for(let s=0;s<n.length;s++)t=n[s](t,i);return t}:e,d=c?function(t){const s=e.call(this),n=k.get(this);if(void 0===n)return void h.call(this,t);let r=n.manager.isLit?t:function(t,i=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&i?"false"!==t&&(""===t||!!t):2&i?Number.parseFloat(t):1&i?String(t):t}(t,o);const c=n.manager.internals;if(r===s)h.call(this,t);else{const t=j.setter?A:c.setters[i]??A;for(let o=0;o<t.length&&(r=t[o](r,s,i),r!==s);o++);r=c.accessorSetter[i](r,s,i),h.call(this,r),r!==s&&c.enabledWatchers[i]?.forEach((t=>t(r,s,i)))}c.keyTrackers.length>0&&c?.firePropTrackers(i,t)}:h;r&&(a[S]=!0),c&&(d[S]=!0),Object.defineProperty(t,i,{...n,get:a,set:d})}markExports(t,i){("object"==typeof i&&null!==i||"function"==typeof i)&&this._exports.set(i,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},A=[],S=Symbol(),R=Symbol(),E=(t,i)=>new q(t,i),q=class extends x{constructor(i,o){const n="addController"in i,e=new Set,h=i;if(h.addController=function(t){e.add(t),n&&!(d in t)&&i.el.isConnected&&t.hostConnected?.()},h.removeController=function(t){e.delete(t),t.controllerRemoved?.()},!n){const t=o??i.constructor.__forceUpdate;h.requestUpdate=()=>t(i)}super(i),this.internals=new _(this.component),this.destroyed=!1,this._updatePromise=new s,this._originalLifecycles={},this.isLit=n,this.component.manager=this,function(i,s){if(s)i.manager.internals.members=Object.fromEntries(Array.from(i.constructor.elementProperties,(([t,i])=>i.noAccessor?void 0:[t,[(i.readOnly?2048:0)|(i.state?32:i.type===Number?2:i.type===Boolean?4:1)]])).filter(t));else{const t=i.constructor,s=t.__registerControllers?.(i)??void 0;if(t.__registerControllers=void 0,"object"!=typeof s)throw new Error("Failed to retrieve component meta");i.manager.internals.members=Object.fromEntries(Object.entries(s).filter((([t,[i]])=>!!(63&i))))}}(i,n),this._controllers=e,this.exports=void 0,this.hasDestroy=T in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&M(i,T,(()=>this._setAutoDestroyTimeout())),this._bindLifecycleMethods();const r=this.internals;Object.keys(r.members).forEach((t=>{r.accessorGetter[t]=W,r.accessorSetter[t]=W,r.getSetProxy(t)})),n||Object.defineProperty(i,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(r.enableReadonly),v(void 0),f(i),k.set(i.el,i),k.set(i,i)}_bindLifecycleMethods(){const t=this.component,i=this.isLit,s=t.el===t;this._originalLifecycles={connectedCallback:i||s?void 0:t.connectedCallback,disconnectedCallback:i||s?void 0:t.disconnectedCallback,componentWillLoad:i?void 0:t.componentWillLoad,componentDidLoad:i?void 0:t.componentDidLoad,componentWillUpdate:i?void 0:t.componentWillUpdate,componentDidUpdate:i?void 0:t.componentDidUpdate,destroy:t.destroy};const o=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),e=this._update.bind(this),h=this._updated.bind(this);i?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:n,hostUpdate:e,hostUpdated:h}):(t.connectedCallback=o,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=e,t.componentDidUpdate=h),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${T} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,P(),t.enableReadonly?.(),this._controllers.forEach(I),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(N),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const i of t)"triggerLoad"in i?await i.triggerLoad():await o(i.hostLoad,i);await Promise.allSettled(Array.from(this._controllers,B,t)),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach(F),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach(G,this.component.changedProperties),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(z,t.changedProperties),this._originalLifecycles.componentDidUpdate?.call(this.component),this.isLit)t.changedProperties=new Map;else{const t=this._updatePromise;this._updatePromise=new s,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(H),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_setAutoDestroyTimeout(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=n((()=>{this.destroy().catch(console.error)}),$))}},T="autoDestroyDisabled",$=1e3,W=t=>t;function I(t){"triggerConnected"in t?t.triggerConnected():i(t.hostConnected,t)}function N(t){"triggerDisconnected"in t?t.triggerDisconnected():i(t.hostDisconnected,t)}async function B(t){this.has(t)||("triggerLoad"in t?await t.triggerLoad():await o(t.hostLoad,t))}function F(t){"triggerLoaded"in t?t.triggerLoaded():i(t.hostLoaded,t)}function G(t){"triggerUpdate"in t?t.triggerUpdate(this):i(t.hostUpdate,t,this)}function z(t){"triggerUpdated"in t?t.triggerUpdated(this):i(t.hostUpdated,t,this)}function H(t){"triggerDestroy"in t?t.triggerDestroy():i(t.hostDestroy,t)}function J(t,s,o){const n=t.manager.internals;return n.trackedValue!==R&&n.trackedValue!==o&&n.firePropTrackers(void 0,void 0),0===n.keyTrackers.length&&queueMicrotask((()=>n.firePropTrackers(void 0,void 0))),n.trackedValue=o,n.keyTrackers.push(((t,n)=>i(s,void 0,o===n?t:void 0))),o}function K(t,s,o){const n=Array.isArray(t)?t:[t];let e=n.length+1;const h=t=>{e-=1,void 0!==t&&(e=0),0===e&&s(t)};n.forEach((t=>function(t,s,o){const n=Object.keys(t),e=n.length;void 0===O&&queueMicrotask(P),O??(O=new Map);let h=O.get(t);return void 0===h&&(h={callbacks:[],keyCount:e},O.set(t,h)),h.keyCount!==e&&(h.callbacks.forEach((t=>t(n))),h.callbacks=[],h.keyCount=e),h.callbacks.push((n=>{const h=n[e];i(s,null,void 0===h?void 0:t[h]===o?h:void 0)})),o}(t,(i=>h(void 0===i?void 0:{key:i,host:t,isReactive:!1})),o)));const r=n.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return r&&J(r,(t=>h(void 0===t?void 0:{key:t,host:r,isReactive:void 0!==u(r,t)})),o),o}function Q(t,i){const s=l();return J(s,(o=>{const n=o,e=s.manager,h=s,r=h[n];if(null!=r&&r!==t&&"function"==typeof i.set&&(i.initialSet??1)){const s=i.set(r,t,n);if(s!==r)if(e.isLit)h[n]=s;else{let t=!0;e.onConnected((()=>{t&&(t=!0,V((()=>{h[n]=s})))}))}}!function(t,i,s){var o,n;const e=s,h=t.manager.internals,r="function"==typeof e.get?e.get:void 0;r&&((o=h.getters)[i]??(o[i]=[]),h.getters[i].unshift(r));const c="ignore"===e.set?Y:e.set;c&&((n=h.setters)[i]??(n[i]=[]),h.setters[i].unshift(c))}(s,n,i)}),t)}function V(t){j.setter=!0;try{return t()}finally{j.setter=!1}}function X(t){j.getter=!0;try{return t()}finally{j.getter=!1}}var Y=(t,i)=>i;function Z(t){return Q(t,{set:l().manager.internals.readonlySetter})}var tt,it=t=>(...i)=>{const s=p,o=new t(...i),n=o.exports;v(s.at(-1));const e=o.component.manager.internals;var h;return e.markExports(o,n),o.watchExports((t=>e.markExports(o,t))),y!==(h=o)&&(y=h,queueMicrotask((()=>{y===h&&(y=void 0)}))),K([o.component,...s].reverse(),(t=>void 0===t?void 0:function(t,{host:i,key:s,isReactive:o},n){const e=i,h=e[s]!==n;e[s]!==t.exports&&!h&&n!==t.exports&&(e[s]=t.exports);if(i===t.component){if(o){const i=t.component.manager.internals;h&&i.markExports(t,e[s]),M(t.component,s,(s=>{s!==t.exports&&i.markExports(t,s)}))}t.assignedProperty=o?void 0:s}t.watchExports((()=>{if(e[s]===t.exports)return;const i=t.component.manager,o=i.internals.setters[s]?.includes(i.internals.readonlySetter);o?function(){j.readOnly=!0;try{return void(e[s]=t.exports)}finally{j.readOnly=!1}}():e[s]=t.exports}))}(o,t,n)),n)},st=t=>ot(void 0,t),ot=it(class extends C{constructor(t,i){super(t);const s=this.exports;try{f(this.component);const t=i(this.component,this),o=this.exports!==s;if(t instanceof Promise){o||this.setProvisionalExports(t);const i=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await i))}else o&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),nt=t=>(i,s)=>ht(i,t,s),et=class extends x{constructor(t,i,s){super(t),this._loadAccessor=i,this._options=s,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(rt.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const o=t.manager.internals.reactiveUtilsIntegrations;o.add(this);const n=Array.from(o).find((t=>t instanceof at));n&&o.delete(n),o.add(n??new at(this.component)),J(t,(t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await async function(){return tt??(tt=c()),await tt}();const t=this.component,i=this._gatherParameters(),s=this._options?.editConstructorProperties?.call(t,i)??i,o=s instanceof Promise?await s:s,n="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=n&&n!==this.exports?(this._instance=n,n.set(o)):this._instance=await this._createInstance(o),t.manager.destroyed||(rt.watchComponentUpdates(this,this._instance,this._watchedProperties),rt.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,(([t,i])=>[i,this.component[t]])).filter((([,t])=>void 0!==t)))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},ht=it(et),rt={makeGetterProxy:(t,i,s)=>new Proxy({},{has:(t,i)=>"string"==typeof i||i in t,get:(o,n)=>{const e=Reflect.get(o,n);return"symbol"==typeof n||n in Promise.prototype||n in o||!(s?.value??1)?e:K(t,(t=>{void 0!==t&&i.set(t.key,n)}),e)}}),watchComponentUpdates(t,i,s){function o(t,o){const n=s.get(o),e=i[n];return"boolean"==typeof e&&n!==o&&o.toLowerCase().includes("disable")?!e:e}const n=(t,o,n)=>{const e=s.get(n),h=i[e],r="boolean"==typeof h&&e!==n&&n.toLowerCase().includes("disable");if((r?!h:h)===t)return t;i[e]=r?!t:t;const c=i[e];return r?!c:c},e=t.component.manager.internals;s.forEach(((t,i)=>{e.accessorGetter[i]=o,e.accessorSetter[i]=n}))},watchAccessorUpdates(t,i,s){const{component:o}=t,n=o,e=i,h=function(t){const i=t,s=Object.entries(i.__accessor__?.metadata??{});return new Set(s.filter((([t,i])=>!0===i?.readOnly)).map((([t])=>t)))}(i);X((()=>s.forEach(((t,i)=>{if(h.has(t))return;const s=n[i],o=e[t],r="boolean"==typeof s&&t!==i&&i.toLowerCase().includes("disable")?!s:s;null!=r&&o!==r&&(e[t]=r)})))),t.onLifecycle((()=>{if(!i.destroyed)return Array.from(s,(([i,s])=>t.reactiveUtils.watch((()=>e[s]),(()=>{const t=e[s],o="boolean"==typeof t&&s!==i&&i.toLowerCase().includes("disable")?!t:t;V((()=>{n[i]=o}))}),{initial:!0})))}))},reEmitAccessorEvents(i,s,o,n){if(!("on"in s)||"function"!=typeof s.on)return;const e=Object.entries(i.component).map((([t,i])=>{const s=i;if(!t.startsWith(n)||t===n||"object"!=typeof s||null===s||!("emit"in s)||"function"!=typeof s.emit)return;const o=s.emit,e=t.slice(n.length);return[r(e).toLowerCase(),o]})).filter(t);if(0===e.length)return;const h=s,c=()=>h;i.onLifecycle((()=>{if(!s.destroyed)return e.map((([t,i])=>o.on(c,t,i)))}))},async reCreate(t,i){const s=i.manager.useRefSync(t);void 0!==s&&await s.reCreate()}},ct=Promise.all([e(),h()]),at=class extends x{async hostLoad(){const[t,{subclass:i,property:s}]=await ct;class o extends t{}const n=(t,i)=>a[i];function e(t,i,s){return void 0!==a&&(a[s]=t),t}const h=this.component,r=h.manager.internals,c=[];if(X((()=>Object.keys(r.members).forEach((t=>{r.accessorSetter[t]!==W||(c.push(t),r.accessorGetter[t]=n,r.accessorSetter[t]=e,s({value:h[t]})(o.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const a=new(i(h.el.tagName)(o));this._instance=a}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((i=>{t.accessorGetter[i]=W,t.accessorSetter[i]=W}))}};export{et as A,rt as a,st as b,Q as g,nt as m,it as p,Z as r,J as t,E as u,M as w}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,h as i,g as
|
|
6
|
+
import{r as s,c as t,h as i,g as e}from"./p-e220e9a6.js";import{u as a}from"./p-aae200a6.js";import{u as r,g as o}from"./p-62d75abb.js";import{c,z as h}from"./p-4e4e798c.js";import{u as n,m as d}from"./p-4b70012c.js";import{g as p}from"./p-370ede3a.js";import"./p-e9c5d6df.js";const b="esri-compass",l={base:b,iconContainer:`${b}__icon-container`},m=d(h),f=class{constructor(i){s(this,i),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.arcgisReady=t(this,"arcgisReady",7),this.manager=r(this),this.messages=n(),this.viewModel=m(this),this.arcgisPropertyChange=a()("state","orientation"),this._toRotationTransform=s=>({transform:`rotateZ(${s.z}deg)`}),this._reset=()=>{this.viewModel.reset()},this.autoDestroyDisabled=!1,this.icon=o(void 0,{get:s=>s||("rotation"===this.state?"arrow-up":"compass-needle")}),this.label=void 0,this.position="top-left",this.orientation=this.viewModel.orientation,this.referenceElement=void 0,this.state=this.viewModel.state}render(){const{messages:s,icon:t}=this;return i("div",{key:"eb5e036effd29818384b05026657282e9b5869fe",class:c(l.base,p.widget)},i("calcite-button",{key:"d2c5acb2e2e067b19740596d2babcb5d3eaf7653",class:p.widgetButton,disabled:"disabled"===this.state,kind:"neutral",label:s.reset,onClick:this._reset,round:!0,scale:"s",title:s.reset},i("div",{key:"904a629753af5dfa23cb2f7a3653b273e71ab812","aria-hidden":"true",class:l.iconContainer,title:s.reset},i("calcite-icon",{key:"bd08568a036e28714a70e39c7f7513c4e9f3ad0a",icon:t,style:this._toRotationTransform(this.orientation)}))))}async reset(){return this.viewModel.reset()}async destroy(){await this.manager.destroy()}static get assetsDirs(){return["assets"]}get el(){return e(this)}};export{f as arcgis_compass}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as i,h as s,F as t,g as r}from"./p-e220e9a6.js";import{l as n}from"./p-aae200a6.js";import{u as o}from"./p-62d75abb.js";import{aj as a,i as c}from"./p-4e4e798c.js";import{u as l,m as h}from"./p-4b70012c.js";import"./p-e9c5d6df.js";const d=h(a),g=class{constructor(s){e(this,s),this.arcgisReady=i(this,"arcgisReady",7),this.arcgisVersioningStateChanged=i(this,"arcgisVersioningStateChanged",7),this.manager=o(this),this.reactiveUtils=n(c),this.viewModel=d(this),this.messages=l({blocking:!0}),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.icon=void 0,this.label=void 0,this.mode=void 0,this.pageSize=5,this.position="top-right",this.referenceElement=void 0,this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view}async componentWillLoad(){const{watch:e}=this.reactiveUtils;this.manager.onLifecycle((()=>[e((()=>this.viewModel.state),(e=>{const{flowElement:i}=this,s=i?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=i?.getElementsByTagName("arcgis-version-management-version-list")[0];if("disabled"===e)return s&&this._removeVersionPropertiesFlowItem(i),void(t&&this._removeVersionListFlowItem(i));t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:e}),s&&(s.versionPropertiesElementProps={...s.versionPropertiesElementProps,state:e})}))]))}async destroy(){await this.manager.destroy()}render(){const{allowEditingDisabled:e,closable:i,flowElement:r,label:n,messages:o,pageSize:a,viewModel:c,viewModel:{loadError:l,state:h}}=this,d=Array.from(c.serviceNameLookup,(([e,i])=>({url:e,name:i}))),g="disabled"!==h?s(t,null,d.map((t=>{const l={allowEditing:!e,closable:i,currentUser:c.userLookup.get(t.url),currentVersionIdentifier:c.versioningStateLookup.get(t.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,hasAdvEditingUte:c.advancedEditingUserTypeExtensionLookup.get(t.url),heading:n,isVersioningApiAvailable:(c.serverVersionLookup.get(t.url)??0)>=11.2,pageSize:a,serviceName:t.name,state:h,serviceUrl:t.url,strings:o,versionInfos:c.versioningStateLookup.get(t.url)?.versionInfos??[]};return s("arcgis-version-management-service-item",{serviceItemElementProps:l,onArcgisGetVersions:async e=>{await this._refreshVersionList(e.detail.serviceUrl)},onArcgisFlowItemBack:()=>{this._removeVersionListFlowItem(r)},onArcgisFlowItemClose:()=>{this._handleFlowItemClose()},onArcgisManageVersion:e=>{this._handleManageVersionAction(e,r)},onArcgisNewVersion:e=>{const i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);r?.appendChild(i)}})}))):void 0,m="disabled"===h?s("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer",width:"full"},s("div",{slot:"message"},this._getLoadError(l))):void 0;return s("calcite-flow",{ref:e=>{this.flowElement=e},class:"dialog"===this.mode?"":"calcite-flow-widget"},s("calcite-flow-item",{closable:this.closable,heading:n,onCalciteFlowItemClose:()=>{this._handleFlowItemClose()}},s("calcite-panel",{loading:"loading"===h||"executing"===h},g,m)))}_createVersionPropertiesFlowItem(e,i){const{closable:s,flowElement:t,viewModel:r,viewModel:{state:n}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:s,currentUser:r.userLookup.get(e),hasAdvEditingUte:r.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i},o.addEventListener("arcgisCreateVersion",(i=>{const{createVersionParameters:s,switchToVersion:n}=i.detail;r.createVersion(s).then((async i=>{i&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:i.versionIdentifier,versioningState:r.versioningStateLookup.get(e)}),n&&await this.viewModel.changeVersion(e,i.versionIdentifier.name,i.versionIdentifier.guid).then((s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:i.versionIdentifier,versioningState:r.versioningStateLookup.get(e)})}))})).finally((async()=>{await this._refreshVersionList(e),this._removeVersionPropertiesFlowItem(t)}))})),o.addEventListener("arcgisAlterVersion",(async i=>{const{flowElement:s}=this,{alterVersionParameters:t}=i.detail;await r.alterVersion(t).then((async i=>{i&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:r.versioningStateLookup.get(e)}),await this._refreshVersionList(e)})).finally((()=>{this._removeVersionPropertiesFlowItem(s)}))})),o.addEventListener("arcgisFlowItemBack",(()=>{this._removeVersionPropertiesFlowItem(this.flowElement)})),o.addEventListener("calciteFlowItemBack",(e=>{e.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement)})),o.addEventListener("calciteFlowItemClose",(()=>{this._handleFlowItemClose()})),o}_getLoadError(e){const{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){const e=document.querySelector("arcgis-version-management"),i=e.parentElement;i?.removeChild(e)}async _handleManageVersionAction(e,i){const{actionType:s,serviceUrl:t,versionInfo:r}=e.detail,{viewModel:n}=this;switch(s){case"changeVersion":n.changeVersion(t,r.versionIdentifier.name,r.versionIdentifier.guid).then((e=>{e&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:r.versionIdentifier,versioningState:n.versioningStateLookup.get(t)});const s=i?.getElementsByTagName("arcgis-version-management-version-list")[0];s&&s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier})}));break;case"deleteVersion":n.deleteVersion(t,r.versionIdentifier.name,r.versionIdentifier.guid).then((async e=>{e&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:r.versionIdentifier,versioningState:n.versioningStateLookup.get(t)}),await this._refreshVersionList(t)}));break;case"editVersion":{const e=this._createVersionPropertiesFlowItem(t,r);i.appendChild(e);break}}}async _refreshVersionList(e){const{flowElement:i,viewModel:s}=this;if(i){const t=await s.getVersionInfos(e),r=i.getElementsByTagName("arcgis-version-management-service-item");for(const i of r)i.serviceItemElementProps.serviceUrl===e&&(i.serviceItemElementProps={...i.serviceItemElementProps,versionInfos:t});const n=i.getElementsByTagName("arcgis-version-management-version-list")[0];n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:t})}}_removeVersionListFlowItem(e){for(const i of e.childNodes)"ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"===i.nodeName.toUpperCase()&&e.removeChild(i),"CALCITE-FLOW-ITEM"===i.nodeName.toUpperCase()&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(const i of e.childNodes)"ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"===i.nodeName.toUpperCase()&&e.removeChild(i),"ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"===i.nodeName.toUpperCase()&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}};g.style=".calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}";export{g as arcgis_version_management}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{x as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as o}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetBookmarkEdit=t(this,"arcgisEdit",7),this.widgetBookmarkSelect=t(this,"arcgisSelect",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="";export{c as arcgis_bookmarks}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{_ as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(h),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("activeTool","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}get el(){return i(this)}};m.style="arcgis-measurement{}";export{m 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{H as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(h),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};m.style="";export{m 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{X as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as o}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.referenceElement=void 0,this.activeLayerInfos=this.widget.activeLayerInfos,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.legendStyle=this.widget.style,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_legend}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{ab as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as o}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.leadingLayers=this.widget.leadingLayers,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.position="manual",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="arcgis-swipe{}";export{p 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{T as h}from"./p-4e4e798c.js";import{m as a}from"./p-b8219a87.js";import{u as r}from"./p-aae200a6.js";import{u as o}from"./p-62d75abb.js";import"./p-e9c5d6df.js";const e=a(h),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=o(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};m.style="arcgis-histogram{}";export{m as arcgis_histogram}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-e220e9a6.js";import{l as e}from"./p-aae200a6.js";import{u as r,r as a,g as o,a as c,m as n}from"./p-62d75abb.js";import{a3 as g,a4 as d,i as w}from"./p-4e4e798c.js";import{p,c as y,e as v,i as V}from"./p-e9c5d6df.js";const l=n(g),u=n(d),m=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.manager=r(this),this.reactiveUtils=e(w),this._map=l(this,{editConstructorProperties:this._editMapProperties}),this._setChildElement=i=>{this.el.childElem=i},this.autoDestroyDisabled=!1,this.view=a(u(this,{editConstructorProperties:this._editViewProperties})),this.map=this.view.map,this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.basemapView=this.view.basemapView,this.basemap=this._map.basemap,this.camera=o(void 0,{get:()=>this.view.camera,set:(i,t)=>y(t,i)?i:t}),this.center=o(void 0,{get:i=>this.view.center??i,set:i=>{const t=p(i,this.ready?this.view:void 0);return this.ready?(this.view.center=t,this.view.center):t}}),this.clippingArea=o(this.view.clippingArea,{set:(i,t)=>t?.equals(i)?t:i}),this.constraints=this.view.constraints,this.environment=o(this.view.environment,{set:(i,t)=>v(t,i)?i:t}),this.extent=o(void 0,{get:i=>this.view.extent??i,set:(i,t)=>this.view.ready?(i&&!t?.equals(i)&&(this.view.extent=i),this.view.extent):i}),this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.gamepad=o(void 0,{get:()=>this.ready?this.view.input.gamepad:void 0,set:"ignore"}),this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlightOptions=this.view.highlightOptions,this.interacting=o(!1,{get:()=>this.view.interacting,set:"ignore"}),this.itemId=o(void 0,{get:i=>this._map.portalItem?.id??i,set:i=>(this.ready&&c.reCreate(this._map,this).then((()=>{this.view.map=this._map})).catch(console.error),i)}),this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.navigating=o(!1,{get:()=>this.view.navigating,set:"ignore"}),this.navigation=this.view.navigation,this.padding=this.view.padding,this.performanceInfo=o(void 0,{get:()=>this.view.performanceInfo,set:"ignore"}),this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.resolution=o(void 0,{get:()=>this.view.resolution,set:"ignore"}),this.scale=o(void 0,{get:i=>this.view.scale??i,set:i=>(this.ready&&(this.view.scale=i),i)}),this.spatialReference=o(this.view.spatialReference,{set:(i,t)=>t?.equals(i)?t:i}),this.stationary=o(!0,{get:()=>this.view.stationary,set:"ignore"}),this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.toMap=a(((...i)=>this.view.toMap(...i))),this.toScreen=a(((...i)=>this.view.toScreen(...i))),this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.viewpoint=o(void 0,{get:()=>this.view.viewpoint,set:(i,t)=>V(t,i)?i:t}),this.zoom=o(void 0,{get:i=>this.view.zoom??i,set:i=>(this.ready&&(this.view.zoom=i),i)})}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.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){await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}async whenLayerView(i){return await(this.view?.whenLayerView(i))}componentDidLoad(){var i;(i=this.view).container??(i.container=this.el.childElem);const{watch:t}=this.reactiveUtils;this.manager.onLifecycle((()=>[t((()=>this.view.stationary),(()=>{this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.ready),(()=>this.arcgisViewReadyChange.emit()),{initial:this.view.ready})])),c.reEmitAccessorEvents(this.manager,this.view,this.reactiveUtils,"arcgisView")}render(){return s("div",{key:"223dda89248073690d1efdc7959c8081326989ff",class:"arcgis-scene",ref:this._setChildElement})}_editMapProperties(i){return this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap||(i.basemap="topo-vector"),this.ground||(i.ground="world-elevation"),i}_editViewProperties(i){this.view.ui||(i.ui={components:["attribution"]}),i.map??(i.map=this._map);const t=p(this.center,void 0);return t&&(i.center=t),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.scale&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.camera&&(i.camera=this.camera),void 0!==this.zoom&&(i.zoom=this.zoom),i}get el(){return h(this)}};m.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{m as arcgis_scene}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{u as h}from"./p-aae200a6.js";import{u as e}from"./p-62d75abb.js";import{Q as r}from"./p-4e4e798c.js";import{m as a}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const c=a(r),o=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.manager=e(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=h()("selectedFeature","selectedFeatureIndex","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.collapsed=this.widget.collapsed,this.actions=this.viewModel.actions,this.active=this.widget.active,this.content=this.widget.content,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.icon=this.widget.icon,this.label=this.widget.label,this.map=this.widget.map,this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.spatialReference=this.widget.spatialReference,this.featuresTitle=this.widget.title,this.timeZone=this.widget.timeZone,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async fetchFeatures(s,t){return await(this.widget?.fetchFeatures(s,t))}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async next(){return this.widget?.next()}async open(s){this.widget?.open(s)}async previous(){return this.widget?.previous()}async triggerAction(s){this.widget?.triggerAction(s)}get el(){return i(this)}};o.style="arcgis-features{}";export{o as arcgis_features}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-e220e9a6.js";import{ag as h,i as a}from"./p-4e4e798c.js";import{r,d as c,a as o,f as d}from"./p-e9c5d6df.js";import{o as l}from"./p-f5bd619b.js";const n=class{constructor(i){t(this,i),this.arcgisReady=s(this,"arcgisReady",7),this.arcgisAddFlag=s(this,"arcgisAddFlag",7),this.arcgisAddFlagComplete=s(this,"arcgisAddFlagComplete",7),this.arcgisAddFlagError=s(this,"arcgisAddFlagError",7),this.arcgisAddResultArea=s(this,"arcgisAddResultArea",7),this.arcgisRemoveResultArea=s(this,"arcgisRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnCompleteDisabled=!1,this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=!t)}showGraphicsOnCompleteDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=!t)}showSelectionAttributesDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=!t)}positionWatcher(t){void 0!==t&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),c(this),o(this)}disconnectedCallback(){l(this)}render(){return i("div",{key:"d7bb5bf98a0ca05b2fcaba64a06e75d443ebbc75",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){const{watch:t}=await a();d(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnCompleteDisabled&&(t.selectOnComplete=!this.selectOnCompleteDisabled),void 0!==this.showGraphicsOnCompleteDisabled&&(t.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),void 0!==this.showSelectionAttributesDisabled&&(t.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.arcgisAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.arcgisAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.arcgisAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.arcgisAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.arcgisRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnCompleteDisabled:["selectOnCompleteDisabledWatcher"],showGraphicsOnCompleteDisabled:["showGraphicsOnCompleteDisabledWatcher"],showSelectionAttributesDisabled:["showSelectionAttributesDisabledWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_utility_network_trace}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
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-e220e9a6.js";const a=class{constructor(i){e(this,i),this.arcgisFlowItemBack=t(this,"arcgisFlowItemBack",7),this.arcgisFlowItemClose=t(this,"arcgisFlowItemClose",7),this.arcgisGetVersions=t(this,"arcgisGetVersions",7),this.arcgisManageVersion=t(this,"arcgisManageVersion",7),this.arcgisNewVersion=t(this,"arcgisNewVersion",7),this._versionListEventListeners=new Map,this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this.serviceItemElementProps=void 0}disconnectedCallback(){this._versionList&&this._removeVersionListEventListeners(this._versionList)}render(){const{serviceItemElementProps:{allowEditing:e,closable:t,currentUser:s,executionError:a,currentVersionIdentifier:c,flowElement:r,hasAdvEditingUte:n,heading:o,isVersioningApiAvailable:l,pageSize:d,serviceName:h,serviceUrl:f,state:b,strings:m,versionInfos:p}}=this;let{_versionList:g}=this;const v=i("calcite-combobox",{key:"dae8a4548a792a7acc020483ddc808a57b529f8a",clearDisabled:!0,label:h,maxItems:5,overlayPositioning:"fixed",selectionMode:"single-persist",onCalciteComboboxChange:e=>{const t=e.target,i=p.find((e=>e.versionIdentifier.guid===t.value));this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:f,versionInfo:i})}},p?p.map((e=>i("calcite-combobox-item",{selected:c.guid===e.versionIdentifier.guid&&c.name===e.versionIdentifier.name,textLabel:e.versionIdentifier.name,value:e.versionIdentifier.guid}))):void 0);let u,k;return e&&(u=i("calcite-action",{key:"63e33575295e50b9d65820ef10d1f4250bdefb14",id:`actionManageVersions_${h}`,icon:"list",scale:"s",slot:"control",text:"",onClick:async()=>{g=document.createElement("arcgis-version-management-version-list"),g.versionListElementProps={closable:t,currentUser:s,currentVersionIdentifier:c,executionError:a,hasAdvEditingUte:n,heading:o,isVersioningApiAvailable:l,pageSize:d,serviceName:h,serviceUrl:f,state:b,strings:m,versionInfos:p},g.addEventListener("calciteFlowItemBack",(e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()})),g.addEventListener("calciteFlowItemClose",(()=>{this.arcgisFlowItemClose.emit()})),this._addVersionListEventListeners(g),r.append(g)}}),k=i("calcite-tooltip",{key:"b1974bcdb0cab6919d938ea86faf9afed8d9ac3d",overlayPositioning:"fixed",referenceElement:`actionManageVersions_${h}`},i("span",{key:"e8e52efb0441d969c3cb591821dc920b4b7f1b1a"},m.headers.manageVersions))),i("calcite-block",{key:"e42e3061a9397abe7154754976ac3914b7397733",open:!0,heading:h},v,u,k)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(const[t,i]of this._versionListEventListeners)e.removeEventListener(t,i)}get el(){return s(this)}},c=class{constructor(i){e(this,i),this.arcgisAlterVersion=t(this,"arcgisAlterVersion",7),this.arcgisCreateVersion=t(this,"arcgisCreateVersion",7),this.arcgisFlowItemBack=t(this,"arcgisFlowItemBack",7),this.arcgisFlowItemClose=t(this,"arcgisFlowItemClose",7),this._switchToVersion=!0,this._handleCancel=()=>{this.arcgisFlowItemBack.emit()},this._handleChange=e=>{const{_mode:t,_ownerName:i,_versionName:s,versionPropertiesElementProps:{currentUser:a,serviceUrl:c,versionInfo:r}}=this;let{_alterVersionParameters:n,_createVersionParameters:o}=this;switch("create"===t&&(o||(o={access:"public",description:"",featureServerUrl:c,ownerName:a.toUpperCase(),versionName:""})),"edit"===t&&(n||(n={featureServerUrl:c,versionIdentifier:r.versionIdentifier,ownerName:i,versionName:s,access:r.access,description:r.description})),e.type){case"calciteChipGroupSelect":{const i=e.target.label,s=e.target.selectedItems[0].value;"create"===t&&(o={...o,[i]:s}),"edit"===t&&(n={...n,[i]:s});break}case"calciteInputTextInput":{const i=e.target.name,s=e.target.value;"create"===t&&(o={...o,[i]:s}),"edit"===t&&(n={...n,[i]:s});break}case"calciteTextAreaInput":{const i=e.target.name,s=e.target.value;"create"===t&&(o={...o,[i]:s}),"edit"===t&&(n={...n,[i]:s});break}}"create"===t&&("public"!==o.access&&a.toUpperCase()!==o.ownerName?.toUpperCase()?(this.switchToVersionCheckboxElement.checked=!1,this.switchToVersionCheckboxElement.disabled=!0):this.switchToVersionCheckboxElement.disabled=!1,this._createVersionParameters=o),"edit"===t&&(this._alterVersionParameters=n)},this._handleClose=()=>{this.arcgisFlowItemClose.emit()},this._handleSave=()=>{const{_alterVersionParameters:e,_createVersionParameters:t,_mode:i,_switchToVersion:s}=this;"create"===i&&this.arcgisCreateVersion.emit({createVersionParameters:t,switchToVersion:s}),"edit"===i&&this.arcgisAlterVersion.emit({alterVersionParameters:e})},this._handleSwitchToVersionChange=e=>{this._switchToVersion=e.target.checked},this.versionPropertiesElementProps=void 0}async componentWillLoad(){const{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")).toUpperCase(),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}componentDidRender(){"create"===this._mode&&this.versionNameInputElement?.setFocus()}render(){const{versionPropertiesElementProps:{closable:e,currentUser:t,hasAdvEditingUte:s,state:a,strings:c,versionInfo:r},_mode:n,_ownerName:o,_versionName:l}=this,d=i("div",{key:"2d7a449b0d81d16a13de4e9353f8ff603039add6"},i("calcite-button",{key:"cdc1300b9833fb4a14c4f1f8ac21115f0575f832",appearance:"outline",slot:"footer",width:"half",onClick:this._handleCancel},c.actions.cancelSave),i("calcite-button",{key:"0ef3a40dafb3895d8619f7897a84f066ec91f223",slot:"footer",width:"half",onClick:this._handleSave},c.actions.saveVersion)),h=i("calcite-label",{key:"91aa3b1285eb442fd275a4fb5d59d49ec11275fc"},c.input.versionAccess,i("calcite-chip-group",{key:"95cdd65a470442ac678f19328f3ea0f5e1bda063",label:"access",onCalciteChipGroupSelect:this._handleChange,selectionMode:"single-persist"},i("calcite-chip",{key:"0873812db758e104c017c712bbf73f6297db3c36",selected:"edit"===n&&"public"===r.access||"create"===n,value:"public"},c.accessLevels.public),i("calcite-chip",{key:"f77ea3f4907eb9d799f92804cfc8946e5c80fc99",selected:"edit"===n&&"protected"===r.access,value:"protected"},c.accessLevels.protected),i("calcite-chip",{key:"11a9aa2e311ffa9b0e7e40a651a0e330b80ae0f0",selected:"edit"===n&&"private"===r.access,value:"private"},c.accessLevels.private))),f=i("calcite-label",{key:"9cf1c72340082e8f85a4edb140ef3d0199310561"},c.input.versionDescription,i("calcite-text-area",{key:"d2247d3194b42270ac325694118fdaab25f01e51",name:"description",onCalciteTextAreaInput:this._handleChange,resize:"vertical",value:"edit"===n?r.description:""})),b=i("calcite-label",{key:"51fb6ef789fa8e2b4429ebafdda6020e9a1c4cfd"},c.input.versionName,i("calcite-input-text",{key:"83147dd472aabf3e6f4d4c01755ce63ac9f653dd",ref:e=>{this.versionNameInputElement=e},name:"versionName",onCalciteInputTextInput:this._handleChange,maxLength:62,value:"edit"===n?l:""})),m=i("calcite-label",{key:"32d7cbef6bf01158ef4667cd848143cd59ebdfdb"},c.input.versionOwner,i("calcite-input-text",{key:"fd24c2c201d2ff484a0d58f07ecf8b3f036630ec",name:"ownerName",onCalciteInputTextInput:this._handleChange,disabled:!s,value:"edit"===n?o:t.toUpperCase()})),p="create"===n?i("calcite-label",{layout:"inline"},i("calcite-checkbox",{ref:e=>{this.switchToVersionCheckboxElement=e},checked:!0,name:"switchToVersion",onCalciteCheckboxChange:this._handleSwitchToVersionChange}),c.actions.switchToVersion):void 0;return i("calcite-flow-item",{key:"7ec5d9ad67a0878f93b9e36afaad15b158022b72",closable:e,description:r?r.versionIdentifier.name:"",heading:r?c.actions.editVersion:c.actions.newVersion,onCalciteFlowItemClose:this._handleClose},i("calcite-panel",{key:"7ed24c1a881d0bed334539989625dbc4ba085255",loading:"executing"===a},i("calcite-block",{key:"aff079fddb738fe2cd57ec4a096ab5635f17de99",heading:"",open:!0},b,f,h,m,p,d)))}get el(){return s(this)}};export{a as arcgis_version_management_service_item,c as arcgis_version_management_version_properties}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{q as a}from"./p-4e4e798c.js";import{u as h}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as e}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const o=e(a),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=h()("analysis","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.analysis=this.widget.analysis,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}get el(){return i(this)}};m.style="";export{m as arcgis_area_measurement_3d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,g as i}from"./p-
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-e220e9a6.js";import{a6 as h}from"./p-4e4e798c.js";import{u as a}from"./p-aae200a6.js";import{u as r}from"./p-62d75abb.js";import{m as o}from"./p-b8219a87.js";import"./p-e9c5d6df.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideTooltip=this.widget.visibleElements.tooltip,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async getDuration(s){return this.widget?.viewModel.getDuration(s)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}get el(){return i(this)}};c.style="arcgis-shadow-cast{}";export{c as arcgis_shadow_cast}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.22
|
|
5
5
|
*/
|
|
6
|
-
import{b as n,w as s}from"./p-
|
|
6
|
+
import{b as n,w as s}from"./p-62d75abb.js";import{s as t,g as e}from"./p-4e4e798c.js";var o=s=>n(s),r=o=>(r={})=>n(((n,c)=>{const i=n;function l(n){const s=c.exports,t=s._original??s,e=a(t,n);e._original=t,c.exports=e}if(c.onLifecycle((()=>t(n.el,o("./assets"),(({t9nLocale:s,t9nStrings:t,lang:e})=>{const o={...t,_lang:e,_t9nLocale:s,_loading:!1};c.exports=o;const r=t.componentLabel??t.widgetLabel;"string"==typeof r&&"label"in n&&null==n.label&&(n.label??(n.label=r)),l(i.messageOverrides)}),r.name))),"messageOverrides"in i&&c.onLifecycle((()=>s(i,"messageOverrides",l))),r.blocking)return c.ready;const g=e(n.el);return{_lang:g.lang,_t9nLocale:g.t9nLocale,_loading:!0}}));function a(n,s){if(!s)return n;const t={...n};return Object.entries(s).forEach((([s,e])=>{t[s]="object"==typeof e?a(n[s],e):e??n[s]})),t}var c=()=>l,i="arcgisPropertyChange",l=(...t)=>n(((n,e)=>{const o=n;if(n.manager.isLit){const s=n.constructor.createEvent(i,void 0,n);o[i]=s}const r=o[i];return e.onLoad((()=>e.onLifecycle((()=>t.map((t=>s(n,t,(()=>r.emit({name:t}))))))))),r}));export{o as l,r as m,c as u}
|