@arcgis/map-components 4.30.0 → 4.30.1
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-c8fb0ddc.entry.js → p-06830f9e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-521b7610.entry.js → p-07993d5c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5c5afdb6.entry.js → p-0b5f3186.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-206ddea1.entry.js → p-108316a9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e2464940.entry.js → p-11831dc4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-15de7199.entry.js → p-180b96f1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ed52a6c6.entry.js → p-1a0f1eed.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-19a58e9f.entry.js → p-2734ca37.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-600c653f.entry.js → p-28b26644.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f92c6511.entry.js → p-2a082795.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f602fc86.js → p-2cfc4d18.js} +1 -1
- package/dist/arcgis-map-components/p-322713b2.js +6 -0
- package/dist/arcgis-map-components/{p-6f7a84ff.entry.js → p-379a514e.entry.js} +2 -2
- package/dist/arcgis-map-components/p-3a977b2d.entry.js +6 -0
- package/dist/arcgis-map-components/{p-9fe675f8.entry.js → p-3b6740df.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-58736db8.entry.js → p-4083bf5c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6ea9a7b6.entry.js → p-4489c45f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5df5f493.entry.js → p-46a25f27.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ebdf4ed3.entry.js → p-492ae5e6.entry.js} +2 -2
- package/dist/arcgis-map-components/p-4df7c391.js +6 -0
- package/dist/arcgis-map-components/{p-09f1f89e.entry.js → p-52622c1c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-95f20b58.entry.js → p-55ef2b90.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e53b9535.entry.js → p-5b7b0e17.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8d33a858.entry.js → p-5c8c7a76.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-146ed61a.js → p-5febcb60.js} +1 -1
- package/dist/arcgis-map-components/{p-f2f71c66.entry.js → p-62d01a12.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b5468ec7.entry.js → p-644fb859.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1bf6ecf7.entry.js → p-64eadec0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-16a96da5.entry.js → p-65dcbfda.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bdf18ef6.entry.js → p-68d24641.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-992c914d.js → p-690bc92f.js} +2 -2
- package/dist/arcgis-map-components/p-6a97c2b7.entry.js +6 -0
- package/dist/arcgis-map-components/{p-1697b946.entry.js → p-6cc000ba.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f4e57a35.entry.js → p-6cc567f0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bf01fd9f.entry.js → p-7257a45c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bee0b338.entry.js → p-748aa59c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5fb231fd.entry.js → p-75590459.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-35dceaf7.entry.js → p-78547a3e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-171506bb.entry.js → p-82c5721d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c6700b40.entry.js → p-8bce89d3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ac2f6e62.entry.js → p-8e2f2c40.entry.js} +2 -2
- package/dist/arcgis-map-components/p-92dff9c2.entry.js +6 -0
- package/dist/arcgis-map-components/{p-89471120.entry.js → p-96d938c4.entry.js} +2 -2
- package/dist/arcgis-map-components/p-9d9a97c7.js +6 -0
- package/dist/arcgis-map-components/{p-a4cb93dc.entry.js → p-a3b7a6c0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-87f53bdb.entry.js → p-abdb4c01.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-64ce2787.entry.js → p-ac153e67.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-83d750fb.entry.js → p-aca71c74.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4a04853c.entry.js → p-b7b1c0ad.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-724591d0.entry.js → p-b9957fa8.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1779884a.entry.js → p-bbd6433c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-29189384.entry.js → p-c2ccdf4d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0be7ad8e.entry.js → p-c3bd1b47.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-74da56b4.entry.js → p-cbfc1153.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-59de0e0c.entry.js → p-cca72cef.entry.js} +2 -2
- package/dist/arcgis-map-components/p-cfd6bf22.entry.js +6 -0
- package/dist/arcgis-map-components/{p-44160e73.entry.js → p-d769e0e9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fe8c3a58.js → p-d7c46a95.js} +1 -1
- package/dist/arcgis-map-components/{p-87f0f1ac.js → p-dcc97ab4.js} +2 -2
- package/dist/arcgis-map-components/{p-d61c2316.entry.js → p-df802053.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-babdc07d.entry.js → p-e5e28f3f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-aa5c3b57.entry.js → p-e6ef03ee.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-2fcad002.js → p-e8206751.js} +2 -2
- package/dist/arcgis-map-components/{p-0fcf328d.entry.js → p-eaca0a56.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cf464b50.entry.js → p-eea3e421.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-bdce9c0c.entry.js → p-fbd84aad.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c1b22cee.entry.js → p-fdd4b3bf.entry.js} +2 -2
- package/dist/cjs/{app-globals-18ba6880.js → app-globals-c2e3e121.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 -8
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-compass.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-daylight.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directions.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-expand.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-features_2.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-histogram.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-home.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +7 -9
- package/dist/cjs/arcgis-legend.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-locate.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-map-components.cjs.js +4 -4
- package/dist/cjs/arcgis-measurement.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-oriented-imagery-viewer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-placement.cjs.entry.js +3 -3
- package/dist/cjs/arcgis-print.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-scene.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-search.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-sketch.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slice.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-swipe.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-table-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-track.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-version-management.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-weather.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-zoom.cjs.entry.js +7 -7
- package/dist/cjs/{chunk-PVEVZB4O-c098f55a.js → chunk-PVEVZB4O-a01ed374.js} +3 -3
- package/dist/cjs/{component-utils-22cd5970.js → component-utils-9852cfbb.js} +12 -5
- package/dist/cjs/{disconnected-2fbf1248.js → disconnected-b5e6f652.js} +2 -2
- package/dist/cjs/{index-aed895fe.js → index-502ae5a2.js} +1 -1
- package/dist/cjs/{index-c9205ffd.js → index-616f9251.js} +2 -2
- package/dist/cjs/{index-99ee7e64.js → index-7dcd7af7.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{useT9n-f0c18067.js → useT9n-84d4f567.js} +7 -7
- package/dist/cjs/{useWidget-34e425f5.js → useWidget-133b594d.js} +5 -5
- 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 +2 -3
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +2 -4
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +1 -1
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -1
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.js +1 -1
- package/dist/components/arcgis-utility-network-trace.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
- package/dist/components/arcgis-value-picker.js +1 -1
- package/dist/components/arcgis-version-management-service-item.js +1 -1
- package/dist/components/arcgis-version-management-version-item.js +1 -1
- package/dist/components/arcgis-version-management-version-list.js +1 -1
- package/dist/components/arcgis-version-management-version-properties.js +1 -1
- package/dist/components/arcgis-version-management.js +1 -1
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/chunk-PVEVZB4O.js +1 -1
- package/dist/components/component-utils.js +12 -5
- package/dist/components/disconnected.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/useT9n.js +2 -2
- package/dist/components/useWidget.js +2 -2
- package/dist/components/version-management-service-item.js +1 -1
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +1 -1
- package/dist/components/version-management-version-properties.js +1 -1
- package/dist/esm/{app-globals-2a0e9afb.js → app-globals-2bae24b0.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 -8
- package/dist/esm/arcgis-basemap-toggle.entry.js +7 -7
- package/dist/esm/arcgis-bookmarks.entry.js +7 -7
- package/dist/esm/arcgis-building-explorer.entry.js +7 -7
- package/dist/esm/arcgis-compass.entry.js +7 -7
- package/dist/esm/arcgis-coordinate-conversion.entry.js +7 -7
- package/dist/esm/arcgis-daylight.entry.js +6 -6
- package/dist/esm/arcgis-directional-pad.entry.js +7 -7
- package/dist/esm/arcgis-directions.entry.js +7 -7
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-editor.entry.js +7 -7
- package/dist/esm/arcgis-elevation-profile.entry.js +7 -7
- package/dist/esm/arcgis-expand.entry.js +6 -6
- package/dist/esm/arcgis-feature-form.entry.js +7 -7
- package/dist/esm/arcgis-feature-table.entry.js +7 -7
- package/dist/esm/arcgis-feature-templates.entry.js +7 -7
- package/dist/esm/arcgis-feature.entry.js +7 -7
- package/dist/esm/arcgis-features_2.entry.js +7 -7
- package/dist/esm/arcgis-floor-filter.entry.js +6 -6
- package/dist/esm/arcgis-fullscreen.entry.js +7 -7
- package/dist/esm/arcgis-histogram-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-histogram.entry.js +7 -7
- package/dist/esm/arcgis-home.entry.js +7 -7
- package/dist/esm/arcgis-layer-list.entry.js +7 -9
- package/dist/esm/arcgis-legend.entry.js +7 -7
- package/dist/esm/arcgis-line-of-sight.entry.js +7 -7
- package/dist/esm/arcgis-locate.entry.js +7 -7
- package/dist/esm/arcgis-map-components.js +5 -5
- package/dist/esm/arcgis-measurement.entry.js +7 -7
- package/dist/esm/arcgis-navigation-toggle.entry.js +7 -7
- package/dist/esm/arcgis-oriented-imagery-viewer.entry.js +7 -7
- package/dist/esm/arcgis-placement.entry.js +3 -3
- package/dist/esm/arcgis-print.entry.js +7 -7
- package/dist/esm/arcgis-scale-bar.entry.js +6 -6
- package/dist/esm/arcgis-scale-range-slider.entry.js +7 -7
- package/dist/esm/arcgis-scene.entry.js +6 -6
- package/dist/esm/arcgis-search.entry.js +7 -7
- package/dist/esm/arcgis-shadow-cast.entry.js +7 -7
- package/dist/esm/arcgis-sketch.entry.js +7 -7
- package/dist/esm/arcgis-slice.entry.js +7 -7
- package/dist/esm/arcgis-slider.entry.js +7 -7
- package/dist/esm/arcgis-swipe.entry.js +7 -7
- package/dist/esm/arcgis-table-list.entry.js +7 -7
- package/dist/esm/arcgis-time-slider.entry.js +7 -7
- package/dist/esm/arcgis-track.entry.js +7 -7
- package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
- package/dist/esm/arcgis-value-picker.entry.js +7 -7
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +2 -2
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +2 -2
- package/dist/esm/arcgis-version-management.entry.js +7 -7
- package/dist/esm/arcgis-weather.entry.js +7 -7
- package/dist/esm/arcgis-zoom.entry.js +7 -7
- package/dist/esm/{chunk-PVEVZB4O-de851bbe.js → chunk-PVEVZB4O-34fd5542.js} +3 -3
- package/dist/esm/{component-utils-d7a21069.js → component-utils-cf6598c1.js} +12 -5
- package/dist/esm/{disconnected-ee112c72.js → disconnected-e7423ffe.js} +2 -2
- package/dist/esm/{index-8552f550.js → index-21b7d20a.js} +2 -2
- package/dist/esm/{index-782d6c13.js → index-d3348234.js} +1 -1
- package/dist/esm/{index-703918f6.js → index-de713c04.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{useT9n-2b559f0f.js → useT9n-c91a1579.js} +7 -7
- package/dist/esm/{useWidget-32976bb1.js → useWidget-265aa6bb.js} +5 -5
- 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/basemap-layer-list/basemap-layer-list.d.ts +1 -2
- package/dist/types/components/features/features.d.ts +1 -1
- package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +1 -1
- package/dist/types/components/layer-list/layer-list.d.ts +8 -3
- package/dist/types/components/map/map.d.ts +1 -1
- package/dist/types/components/scene/scene.d.ts +1 -1
- package/dist/types/components/value-picker/value-picker.d.ts +1 -1
- package/dist/types/components.d.ts +0 -24
- package/package.json +10 -10
- package/dist/arcgis-map-components/p-2f40c0c4.entry.js +0 -6
- package/dist/arcgis-map-components/p-6c646022.js +0 -6
- package/dist/arcgis-map-components/p-8420dd5c.js +0 -6
- package/dist/arcgis-map-components/p-8ec1ca0f.js +0 -6
- package/dist/arcgis-map-components/p-aa0a71ca.entry.js +0 -6
- package/dist/arcgis-map-components/p-b7a333b1.entry.js +0 -6
- package/dist/arcgis-map-components/p-bca9c3e7.entry.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as t,h as i,g as e}from"./p-
|
|
6
|
+
import{r as s,c as t,h as i,g as e}from"./p-d7c46a95.js";import{Q as a,R as o}from"./p-5febcb60.js";import{u as h}from"./p-e8206751.js";import{u as c}from"./p-dcc97ab4.js";import{u as r,m as n}from"./p-322713b2.js";import"./p-9d9a97c7.js";const d=n(o),l=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.viewModelGo=t(this,"arcgisGo",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=c(this),this.messages=r(),this.viewModel=d(this),this.arcgisPropertyChange=h()("state"),this._go=()=>{const{viewModel:s}=this;"going-home"===s.state?s.cancelGo():s.go()},this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.label=void 0,this.position="top-left",this.referenceElement=void 0,this.viewpoint=this.viewModel.viewpoint,this.state=this.viewModel.state,this.autoDestroyDisabled=!1}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}render(){const{messages:s,icon:t}=this,e=this.viewModel?.state,o="going-home"===e;return i("div",{key:"1cad33e6ced15f9d1983419cfea451283142b84e",class:a("esri-home","esri-widget")},i("calcite-button",{key:"8667cb2f7e0204af1c28f9f4fcbaab4607ad5acd",class:"esri-widget--button",disabled:"disabled"===e,"icon-start":o?void 0:t,kind:"neutral",label:s.componentLabel,onClick:this._go,scale:o?"s":"m",title:"going-home"===e?s.cancel:s.title},o?i("calcite-loader",{inline:!0,label:""}):null))}static get assetsDirs(){return["assets"]}get el(){return e(this)}};export{l as arcgis_home}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{v as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("orientation","state"),this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.orientation=this.viewModel.orientation,this.position="bottom-left",this.referenceElement=void 0,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async reset(){this.widget.reset()}get el(){return i(this)}};e.style="";export{e as arcgis_compass}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{a3 as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as r}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=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=c(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)}};p.style="arcgis-shadow-cast{}";export{p as arcgis_shadow_cast}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-d7c46a95.js";import{C as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=c(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.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)}};e.style="";export{e as arcgis_distance_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as e,g as s}from"./p-
|
|
6
|
+
import{r as t,c as i,h as e,g as s}from"./p-d7c46a95.js";import{ae as a}from"./p-5febcb60.js";import{r,d as o,a as h}from"./p-9d9a97c7.js";import{o as c}from"./p-4df7c391.js";const n=class{constructor(e){t(this,e),this.arcgisReady=i(this,"arcgisReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}positionWatcher(t){void 0!==t&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,this._addContainer(),o(this),h(this)}disconnectedCallback(){c(this)}render(){return e("div",{key:"b799fc1c383c67bd8690ce4b0df49625493d1b1e",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();const t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="arcgis-utility-network-validate-topology{}";export{n as arcgis_utility_network_validate_topology}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.1
|
|
5
|
+
*/
|
|
6
|
+
function n(n,e){Array.isArray(e)?n._watchHandles=[...n._watchHandles,...e]:n._watchHandles.push(e)}function e(n){const e=function({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(t.has(e.tagName.toLowerCase()))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&t.has(e.ownedBy.tagName.toLowerCase()))return e.ownedBy}}(n);if(!e){const e=p(n.referenceElement);if(!e)return;return r(e,n,!1),e}return function(n,e){if(n!==e)return!1;const t=n.tagName.toLowerCase();return"arcgis-expand"===t||"arcgis-placement"===t}(e,n.el.parent)||(n.el.parent=e,n.el.childElem&&(n.el.childElem.ownedBy=n.el),"arcgis-expand"===e.tagName.toLowerCase()?o(e,n):"arcgis-placement"===e.tagName.toLowerCase()?c(e,n):r(e,n,!0)),e}const t=new Set(["arcgis-map","arcgis-scene","arcgis-expand","arcgis-placement"]);function i(n,e,t="arcgisReady"){const o=n;"boolean"==typeof o.view?.ready?e(o.view):n.addEventListener(t,(()=>i(n,e,t)),{once:!0})}const o=(n,e)=>i(n,(t=>{e.el.childElem&&"object"==typeof n.content&&n.content?.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t})),c=(n,e)=>i(n,(t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t})),r=(n,e,t)=>i(n,(i=>{t?function(n,e){const t=e.el.childElem??e.el,i=[...n.children],o={};for(const n of i){const e=n.getAttribute("position")??"manual";o[e]??(o[e]=[]),o[e].push({child:n,position:e,index:i.indexOf(n)})}const c=o[e.position??"manual"]?.findIndex((({child:n})=>n===e.el));n.view.ui.remove(t),n.view.ui.add(t,{position:e.position,index:c})}(n,e):e.el.childElem&&e.el.append(e.el.childElem),e.el.view=i}),"arcgisViewReadyChange");function a(n){let e=!1,t=n.el.view;const i=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:n=>t=n};Object.defineProperty(n.el,"view",{get:i.get.bind(n),set:t=>{i.set.call(n,t),t&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function s(n){return null==n||""===n}function u(n,e){return void 0===e||n.position!==e.position||n.heading!==e.heading||n.tilt!==e.tilt}function f(n,e){return void 0===e||e?.atmosphereEnabled!==n?.atmosphereEnabled||(e?.lighting).date!==(n?.lighting).date||(e?.lighting).directShadowsEnabled!==(n?.lighting).directShadowsEnabled||(e?.lighting).cameraTrackingEnabled!==(n?.lighting).cameraTrackingEnabled||(e?.lighting).date!==(n?.lighting).date||(e?.lighting).displayUTCOffset!==(n?.lighting).displayUTCOffset}function l(n,e){return void 0===e||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function d(n,e){if("string"==typeof n){const t=n.split(",").map(Number);if(t[0]!==e?.center.longitude&&t[1]!==e?.center.latitude)return t}else if(Array.isArray(n)){if(n[0]!==e?.center.longitude&&n[1]!==e?.center.latitude)return n}else if(n&&!e?.center.equals(n))return n}async function g(n,e){null!=e&&("string"==typeof e?n.el.view=await async function(n){const e=p(n);return await new Promise((n=>{"boolean"==typeof e?.view?.ready?n(e.view):e&&e.addEventListener("arcgisViewReadyChange",(()=>n(e.view)),{once:!0})}))}(e):n.widget&&(n.el.view=e.view))}function p(n){return"string"!=typeof n?n??void 0:(n.includes("#")||n.includes(".")||n.includes("[")?void 0:document.querySelector(`#${n}`))??document.querySelector(n)??void 0}export{e as a,s as b,u as c,a as d,f as e,n as f,l as i,d as p,g as r}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{l as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.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=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.label=this.widget.label,this.icon=this.widget.icon,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)}};c.style="";export{c as arcgis_area_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{P as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as e}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("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.excludedBarColor=this.widget.excludedBarColor,this.includedBarColor=this.widget.includedBarColor,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.values=this.widget.values,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async generateWhereClause(s){return this.widget.generateWhereClause(s)}get el(){return i(this)}};c.style="arcgis-histogram-range-slider{}";export{c as arcgis_histogram_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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{y as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as r}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=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=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.visualScale=this.widget.visualScale,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="arcgis-directional-pad{}";export{p as arcgis_directional_pad}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{F as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.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=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("input","effectiveUnits","progress","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.effectiveUnits=this.viewModel.effectiveUnits,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.label=this.widget.label,this.input=this.widget.input,this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.unit=this.widget.unit,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unitOptions=this.widget.unitOptions,this.hideLegend=this.widget.visibleElements.legend,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}get el(){return i(this)}};c.style="";export{c as arcgis_elevation_profile}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as i,h as t,g as s}from"./p-
|
|
6
|
+
import{r as e,c as i,h as t,g as s}from"./p-d7c46a95.js";const n=class{constructor(t){e(this,t),this.arcgisManageVersion=i(this,"arcgisManageVersion",7),this.versionItemElementProps=void 0}render(){const{versionItemElementProps:{currentUser:e,currentVersionIdentifier:i,hasAdvEditingUte:s,isVersioningApiAvailable:n,serviceUrl:r,strings:{actions:a},versionInfo:o}}=this,c=o.versionIdentifier.name,l=c.substring(c.lastIndexOf(".")+1),d=c.substring(0,c.lastIndexOf(".")).toUpperCase(),h=o.versionIdentifier.guid,v=`actionSwitchToVersion_${h}`,g=d.toUpperCase()===e.toUpperCase()&&n&&s,p=i.guid===o.versionIdentifier.guid,f=t("calcite-action",{key:"2f6e3eeea7fc7736a1199a29668894dd80dac94a",disabled:p,id:v,icon:"code-branch",text:"",onClick:()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:r,versionInfo:o})},slot:"actions-start"}),b=p?void 0:t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:v},t("span",null,a.switchToVersion));return t("calcite-list-item",{key:"74b8319a683737aaaf8cfc5f06147eaa401195a6",description:d,label:l,selected:!1,value:h},f,b,t("calcite-action-menu",{key:"535784b416984e07bbfc44a275dfc5c81fb55daf","overlay-positioning":"fixed",slot:"actions-end",label:""},t("calcite-action",{key:"5e89410767d43ab3ce8a6e3ac6ef5d2db5542ea7",disabled:p,icon:"code-branch",onClick:()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:r,versionInfo:o})},scale:"s",text:a.switchToVersion,textEnabled:!0}),t("calcite-action",{key:"cf3ab694540fb02bcfa7c5ef9557fcb6a93746c1",disabled:!g||p,icon:"code-branch-edit",onClick:()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:r,versionInfo:o})},scale:"s",text:a.editVersion,textEnabled:!0}),t("calcite-action",{key:"bb646b907dbbc62283a15295a265912ba45d73a4",disabled:!g||g&&p,icon:"trash",onClick:()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:r,versionInfo:o})},scale:"s",text:a.deleteVersion,textEnabled:!0})))}get el(){return s(this)}},r=class{constructor(t){e(this,t),this.arcgisNewVersion=i(this,"arcgisNewVersion",7),this.arcgisGetVersions=i(this,"arcgisGetVersions",7),this.arcgisManageVersion=i(this,"arcgisManageVersion",7),this._handleFilterChange=()=>{const{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.toUpperCase();this._filteredVersionInfos=""===i?e:e.filter((e=>e.versionIdentifier.name.toUpperCase().includes(i)||e.versionIdentifier.guid.toUpperCase().includes(i))),this._filteredVersionInfos.length&&(this.currentPage=1)},this._handleNoticeClosed=()=>{this.versionListElementProps={...this.versionListElementProps,executionError:void 0}},this._handlePaginationChange=e=>{this.currentPage=e.target.startItem},this.currentPage=1,this.versionListElementProps=void 0,this._filteredVersionInfos=void 0}propertiesChangeHandler(){this._handleFilterChange()}componentWillLoad(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}componentDidRender(){this._filterInputElement?.setFocus()}render(){const{currentPage:e,versionListElementProps:{closable:i,currentUser:s,currentVersionIdentifier:n,executionError:r,hasAdvEditingUte:a,heading:o,isVersioningApiAvailable:c,pageSize:l,serviceName:d,serviceUrl:h,state:v,strings:{headers:g},strings:p,versionInfos:f}}=this,b=t("calcite-block",{heading:g.currentVersion,description:n.name,overlayPositioning:"fixed"}),u=t("calcite-action",{id:"actionRefreshVersions",icon:"refresh",text:"",onClick:()=>{this.arcgisGetVersions.emit({serviceUrl:h})},slot:"header-actions-end"},t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:"actionRefreshVersions"},t("span",null,p.actions.refreshVersions)));this._paginatedVersionInfos=this._filteredVersionInfos.length>l?this._paginate(this._filteredVersionInfos,l,e):this._filteredVersionInfos;const m=this._filteredVersionInfos.length>l?t("calcite-pagination",{onCalcitePaginationChange:this._handlePaginationChange,pageSize:1,startItem:e,totalItems:Math.ceil(this._filteredVersionInfos.length/l)}):void 0,x=this._paginate(this._paginatedVersionInfos,l,1).map((e=>t("arcgis-version-management-version-item",{versionItemElementProps:{currentUser:s,currentVersionIdentifier:n,isCurrentVersionCard:!1,hasAdvEditingUte:a,isVersioningApiAvailable:c,serviceUrl:h,strings:p,versionInfo:e}}))),E=f.length>l?t("calcite-block",{heading:"",open:!0},t("calcite-input-text",{ref:e=>{this._filterInputElement=e},clearable:!0,icon:"search",onCalciteInputTextInput:this._handleFilterChange,placeholder:p.actions.searchVersions})):void 0,V=t("calcite-list",null,x),I=c&&a?t("calcite-fab",{appearance:"outline-fill",slot:"fab",textEnabled:!0,text:p.actions.newVersion,onClick:()=>{this.arcgisNewVersion.emit({serviceUrl:h})}}):void 0,k=r?t("calcite-notice",{onCalciteNoticeClose:this._handleNoticeClosed,class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer",width:"full"},t("div",{slot:"message"},this._getExecutionError(r))):void 0;return t("calcite-flow-item",{closable:i,description:d,heading:o},t("calcite-panel",{loading:"executing"===v},b,t("calcite-panel",{heading:this._filteredVersionInfos.length?`${p.headers.manageVersions} (${this._filteredVersionInfos.length})`:p.headers.manageVersions},u,E,V,I),m,k))}_getExecutionError(e){const{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}get el(){return s(this)}static get watchers(){return{versionListElementProps:["propertiesChangeHandler"]}}};export{n as arcgis_version_management_version_item,r as arcgis_version_management_version_list}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{t as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=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=a(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};e.style="";export{e as arcgis_bookmarks}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{V as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as r}from"./p-dcc97ab4.js";import{m as c}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const o=c(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetLocate=t(this,"arcgisSuccess",7),this.widgetLocateError=t(this,"arcgisError",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.error=this.viewModel.error,this.geolocationOptions=this.widget.geolocationOptions,this.goToLocationDisabled=this.widget.goToLocationEnabled,this.graphic=this.widget.graphic,this.icon=this.widget.icon,this.label=this.widget.label,this.popupDisabled=this.widget.popupEnabled,this.scale=this.widget.scale,this.state=this.viewModel.state,this.position="bottom-left"}async destroy(){await this.manager.destroy()}async cancelLocate(){this.widget?.cancelLocate()}async locate(){return await(this.widget?.locate())}get el(){return i(this)}};e.style="arcgis-locate{}";export{e as arcgis_locate}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{l as h,u as o}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{i as r,ai as c}from"./p-5febcb60.js";import{m}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const p=m(c),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=p(this),this.viewModel=this.widget.viewModel,this.reactiveUtils=h(r),this.arcgisPropertyChange=o()("state"),this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.autoDestroyDisabled=!1}async destroy(){await this.manager.destroy()}async zoomIn(){this.widget?.viewModel.zoomIn()}async zoomOut(){this.widget?.viewModel.zoomOut()}get el(){return i(this)}};e.style="arcgis-zoom{}";export{e as arcgis_zoom}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{W as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as r}from"./p-dcc97ab4.js";import{m as e}from"./p-690bc92f.js";import"./p-9d9a97c7.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()("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)}};c.style="arcgis-measurement{}";export{c as arcgis_measurement}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-
|
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-d7c46a95.js";import{ad as h,i as a}from"./p-5febcb60.js";import{r,d as c,a as o,f as d}from"./p-9d9a97c7.js";import{o as l}from"./p-4df7c391.js";const n=class{constructor(i){t(this,i),this.arcgisReady=s(this,"arcgisReady",7),this.arcgisAddFlag=s(this,"arcgisAddFlag",7),this.arcgisAddFlagComplete=s(this,"arcgisAddFlagComplete",7),this.arcgisAddFlagError=s(this,"arcgisAddFlagError",7),this.arcgisAddResultArea=s(this,"arcgisAddResultArea",7),this.arcgisRemoveResultArea=s(this,"arcgisRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnComplete=!0,this.showGraphicsOnComplete=!0,this.showSelectionAttributes=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=t)}showGraphicsOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=t)}showSelectionAttributesWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=t)}positionWatcher(t){void 0!==t&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),c(this),o(this)}disconnectedCallback(){l(this)}render(){return i("div",{key:"4257b9b2ace37e83f8aa3c6f0d6fb3d69353112a",ref:t=>this.el.childElem=t})}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){const{watch:t}=await a();d(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnComplete&&(t.selectOnComplete=this.selectOnComplete),void 0!==this.showGraphicsOnComplete&&(t.showGraphicsOnComplete=this.showGraphicsOnComplete),void 0!==this.showSelectionAttributes&&(t.showSelectionAttributes=this.showSelectionAttributes),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.arcgisAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.arcgisAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.arcgisAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.arcgisAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.arcgisRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnComplete:["selectOnCompleteWatcher"],showGraphicsOnComplete:["showGraphicsOnCompleteWatcher"],showSelectionAttributes:["showSelectionAttributesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_utility_network_trace}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{m as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as r}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=c(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)}};e.style="";export{e as arcgis_area_measurement_3d}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as s,c as t,g as i}from"./p-d7c46a95.js";import{S as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.collapsed=this.widget.collapsed,this.headingLevel=this.widget.headingLevel,this.catalogLayerList=this.widget.catalogLayerList,this.catalogOptions=this.widget.catalogOptions,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.tableList=this.widget.tableList,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.visibilityAppearance=this.widget.visibilityAppearance,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async triggerAction(s,t){this.widget?.triggerAction(s,t)}get el(){return i(this)}};e.style="";export{e as arcgis_layer_list}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as s,g as i}from"./p-
|
|
6
|
+
import{r as t,c as s,g as i}from"./p-d7c46a95.js";import{E as h}from"./p-5febcb60.js";import{u as a}from"./p-e8206751.js";import{u as e}from"./p-dcc97ab4.js";import{m as r}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const o=r(h),c=class{constructor(i){t(this,i),this.arcgisReady=s(this,"arcgisReady",7),this.arcgisPropertyChange=s(this,"arcgisPropertyChange",7),this.manager=e(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("activeWorkflow","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.snappingOptions=this.widget.snappingOptions,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.position="bottom-left",this.state=this.viewModel.state}async cancelWorkflow(){await(this.widget?.cancelWorkflow())}async destroy(){await this.manager.destroy()}async deleteFeatureFromWorkflow(){await(this.widget?.deleteFeatureFromWorkflow())}async startCreateFeaturesWorkflowAtFeatureCreation(t){await(this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t))}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await(this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection())}async startUpdateWorkflowAtFeatureEdit(t){await(this.widget?.startUpdateWorkflowAtFeatureEdit(t))}async startUpdateWorkflowAtFeatureSelection(){await(this.widget?.startUpdateWorkflowAtFeatureSelection())}async startUpdateWorkflowAtMultipleFeatureSelection(t){await(this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t))}get el(){return i(this)}};c.style="";export{c as arcgis_editor}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
var e=Object.defineProperty,n=e=>{const n=new URL(e,je.t);return n.origin!==ke.location.origin?n.href:n.pathname},t={},l=e=>"object"==(e=typeof e)||"function"===e;function o(e){var n,t,l;return null!=(l=null==(t=null==(n=e.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?l:void 0}((n,t)=>{for(var l in t)e(n,l,{get:t[l],enumerable:!0})})({},{err:()=>r,map:()=>i,ok:()=>s,unwrap:()=>u,unwrapErr:()=>a});var s=e=>({isOk:!0,isErr:!1,value:e}),r=e=>({isOk:!1,isErr:!0,value:e});function i(e,n){if(e.isOk){const t=n(e.value);return t instanceof Promise?t.then((e=>s(e))):s(t)}if(e.isErr)return r(e.value);throw"should never get here"}var c,f,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},d="slot-fb{display:contents}slot-fb[hidden]{display:none}",v=(e,n,...t)=>{let o=null,s=null,r=null,i=!1,c=!1;const f=[],u=n=>{for(let t=0;t<n.length;t++)o=n[t],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!l(o))&&(o+=""),i&&c?f[f.length-1].l+=o:f.push(i?p(null,o):o),c=i)};if(u(t),n){n.key&&(s=n.key),n.name&&(r=n.name);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,f,y);const a=p(e,null);return a.o=n,f.length>0&&(a.i=f),a.u=s,a.v=r,a},p=(e,n)=>({p:0,m:e,l:n,$:null,i:null,o:null,u:null,v:null}),m={},y={forEach:(e,n)=>e.map($).forEach(n),map:(e,n)=>e.map($).map(n).map(h)},$=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.l}),h=e=>{if("function"==typeof e.vtag){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),v(e.vtag,n,...e.vchildren||[])}const n=p(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.v=e.vname,n},b=e=>ve(e).$hostElement$,w=(e,n,t)=>{const l=b(e);return{emit:e=>k(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},k=(e,n,t)=>{const l=je.ce(n,t);return e.dispatchEvent(l),l},g=new WeakMap,j=e=>"sc-"+e.h,O=(e,n,t,o,s,r)=>{if(t!==o){let i=ye(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,l=C(t),s=C(o);n.remove(...l.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===n);else if("ref"===n)o&&o(e);else if(i||"o"!==n[0]||"n"!==n[1]){const c=l(o);if((i||c&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[n]=o;else{const l=null==o?"":o;"list"===n?i=!1:null!=t&&e[n]==l||(e[n]=l)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(n)||e.removeAttribute(n):(!i||4&r||s)&&!c&&e.setAttribute(n,o=!0===o?"":o)}else if(n="-"===n[2]?n.slice(3):ye(ke,c)?c.slice(2):c[2]+n.slice(3),t||o){const l=n.endsWith(E);n=n.replace(M,""),t&&je.rel(e,n,t,l),o&&je.ael(e,n,o,l)}}},S=/\s/,C=e=>e?e.split(S):[],E="Capture",M=RegExp(E+"$"),R=(e,n,l,o)=>{const s=11===n.$.nodeType&&n.$.host?n.$.host:n.$,r=e&&e.o||t,i=n.o||t;for(o of P(Object.keys(r)))o in i||O(s,o,r[o],void 0,l,n.p);for(o of P(Object.keys(i)))O(s,o,r[o],i[o],l,n.p)};function P(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var x=!1,L=!1,T=!1,U=!1,A=(e,n,t)=>{var l;const o=n.i[t];let s,r,i,u=0;if(x||(T=!0,"slot"===o.m&&(o.p|=o.i?2:1)),null!==o.l)s=o.$=ge.createTextNode(o.l);else if(1&o.p)s=o.$=ge.createTextNode("");else if(s=o.$=ge.createElement(2&o.p?"slot-fb":o.m),R(null,o,U),o.i)for(u=0;u<o.i.length;++u)r=A(e,o,u),r&&s.appendChild(r);return s["s-hn"]=f,3&o.p&&(s["s-sr"]=!0,s["s-cr"]=c,s["s-sn"]=o.v||"",s["s-rf"]=null==(l=o.o)?void 0:l.ref,i=e&&e.i&&e.i[t],i&&i.m===o.m&&e.$&&N(e.$,!1)),s},N=(e,n)=>{je.p|=1;const t=Array.from(e.childNodes);for(let e=t.length-1;e>=0;e--){const l=t[e];l["s-hn"]!==f&&l["s-ol"]&&(H(l).insertBefore(l,q(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,T=!0),n&&N(l,n)}je.p&=-2},W=(e,n,t,l,o,s)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)l[o]&&(r=A(null,t,o),r&&(l[o].$=r,i.insertBefore(r,q(n))))},D=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;I(n),e&&(L=!0,e["s-ol"]?e["s-ol"].remove():N(e,!0),e.remove())}}},F=(e,n,t=!1)=>e.m===n.m&&("slot"===e.m?e.v===n.v:!!t||e.u===n.u),q=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,V=(e,n,t=!1)=>{const l=n.$=e.$,o=e.i,s=n.i,r=n.l;let i;null===r?(("slot"!==n.m||x)&&R(e,n,U),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,r,i=0,c=0,f=0,u=0,a=n.length-1,d=n[0],v=n[a],p=l.length-1,m=l[0],y=l[p];for(;i<=a&&c<=p;)if(null==d)d=n[++i];else if(null==v)v=n[--a];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(F(d,m,o))V(d,m,o),d=n[++i],m=l[++c];else if(F(v,y,o))V(v,y,o),v=n[--a],y=l[--p];else if(F(d,y,o))"slot"!==d.m&&"slot"!==y.m||N(d.$.parentNode,!1),V(d,y,o),e.insertBefore(d.$,v.$.nextSibling),d=n[++i],y=l[--p];else if(F(v,m,o))"slot"!==d.m&&"slot"!==y.m||N(v.$.parentNode,!1),V(v,m,o),e.insertBefore(v.$,d.$),v=n[--a],m=l[++c];else{for(f=-1,u=i;u<=a;++u)if(n[u]&&null!==n[u].u&&n[u].u===m.u){f=u;break}f>=0?(r=n[f],r.m!==m.m?s=A(n&&n[c],t,f):(V(r,m,o),n[f]=void 0,s=r.$),m=l[++c]):(s=A(n&&n[c],t,c),m=l[++c]),s&&H(d.$).insertBefore(s,q(d.$))}i>a?W(e,null==l[p+1]?null:l[p+1].$,t,l,c,p):c>p&&D(n,i,a)})(l,o,n,s,t):null!==s?(null!==e.l&&(l.textContent=""),W(l,null,n,s,0,s.length-1)):null!==o&&D(o,0,o.length-1)):(i=l["s-cr"])?i.parentNode.textContent=r:e.l!==r&&(l.data=r)},_=e=>{const n=e.childNodes;for(const e of n)if(1===e.nodeType){if(e["s-sr"]){const t=e["s-sn"];e.hidden=!1;for(const l of n)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==t){if(1===l.nodeType&&(t===l.getAttribute("slot")||t===l["s-sn"])||3===l.nodeType&&t===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}_(e)}},z=[],B=e=>{let n,t,l;for(const o of e.childNodes){if(o["s-sr"]&&(n=o["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const e=o["s-sn"];for(l=t.length-1;l>=0;l--)if(n=t[l],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==o["s-hn"])if(G(n,e)){let t=z.find((e=>e.k===n));L=!0,n["s-sn"]=n["s-sn"]||e,t?(t.k["s-sh"]=o["s-hn"],t.j=o):(n["s-sh"]=o["s-hn"],z.push({j:o,k:n})),n["s-sr"]&&z.map((e=>{G(e.k,n["s-sn"])&&(t=z.find((e=>e.k===n)),t&&!e.j&&(e.j=t.j))}))}else z.some((e=>e.k===n))||z.push({k:n})}1===o.nodeType&&B(o)}},G=(e,n)=>1===e.nodeType?null===e.getAttribute("slot")&&""===n||e.getAttribute("slot")===n:e["s-sn"]===n||""===n,I=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(I)},J=(e,n)=>{n&&!e.O&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.O=n)))},K=(e,n)=>{if(e.p|=16,!(4&e.p))return J(e,e.S),Te((()=>Q(e,n)));e.p|=512},Q=(e,n)=>{const t=e.C;let l;return l=oe(t,n?"componentWillLoad":"componentWillUpdate"),X(l,(()=>Z(e,t,n)))},X=(e,n)=>Y(e)?e.then(n):n(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,n,t)=>{var l;const s=e.$hostElement$,r=s["s-rc"];t&&(e=>{const n=e.M;((e,n)=>{var t;const l=j(n),s=we.get(l);if(e=11===e.nodeType?e:ge,s)if("string"==typeof s){let r,i=g.get(e=e.head||e);if(i||g.set(e,i=new Set),!i.has(l)){{r=ge.createElement("style"),r.innerHTML=s;const n=null!=(t=je.R)?t:o(ge);null!=n&&r.setAttribute("nonce",n),e.insertBefore(r,e.querySelector("link"))}4&n.p&&(r.innerHTML+=d),i&&i.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.$hostElement$.getRootNode(),n)})(e);ee(e,n,s,t),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const n=null!=(l=s["s-p"])?l:[],t=()=>ne(e);0===n.length?t():(Promise.all(n).then(t),e.p|=4,n.length=0)}},ee=(e,n,t,l)=>{try{n=n.render&&n.render(),e.p&=-17,e.p|=2,((e,n,t=!1)=>{var l,o,s,r;const i=e.$hostElement$,u=e.M,a=e.P||p(null,null),d=(e=>e&&e.m===m)(n)?n:v(null,null,n);if(f=i.tagName,u.L&&(d.o=d.o||{},u.L.map((([e,n])=>d.o[n]=i[e]))),t&&d.o)for(const e of Object.keys(d.o))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.o[e]=i[e]);if(d.m=null,d.p|=4,e.P=d,d.$=a.$=i,x=!!(1&u.p),c=i["s-cr"],L=!1,V(a,d,t),je.p|=1,T){B(d.$);for(const e of z){const n=e.k;if(!n["s-ol"]){const e=ge.createTextNode("");e["s-nr"]=n,n.parentNode.insertBefore(n["s-ol"]=e,n)}}for(const e of z){const n=e.k,i=e.j;if(i){const e=i.parentNode;let t=i.nextSibling;{let s=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===n["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){t=l;break}}s=s.previousSibling}}(!t&&e!==n.parentNode||n.nextSibling!==t)&&n!==t&&(!n["s-hn"]&&n["s-ol"]&&(n["s-hn"]=n["s-ol"].parentNode.nodeName),e.insertBefore(n,t),1===n.nodeType&&(n.hidden=null!=(s=n["s-ih"])&&s)),n&&"function"==typeof i["s-rf"]&&i["s-rf"](n)}else 1===n.nodeType&&(t&&(n["s-ih"]=null!=(r=n.hidden)&&r),n.hidden=!0)}}L&&_(d.$),je.p&=-2,z.length=0,c=void 0})(e,n,l)}catch(n){$e(n,e.$hostElement$)}return null},ne=e=>{const n=e.$hostElement$,t=e.C,l=e.S;oe(t,"componentDidRender"),64&e.p?oe(t,"componentDidUpdate"):(e.p|=64,se(n),oe(t,"componentDidLoad"),e.T(n),l||le()),e.U(n),e.O&&(e.O(),e.O=void 0),512&e.p&&Le((()=>K(e,!1))),e.p&=-517},te=e=>{{const n=ve(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.p)&&K(n,!1),t}},le=()=>{se(ge.documentElement),Le((()=>k(ke,"appload",{detail:{namespace:"arcgis-map-components"}})))},oe=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){$e(e)}},se=e=>e.setAttribute("hydrated",""),re=(e,n,t)=>{var o;const s=e.prototype;if(n.A){e.watchers&&(n.N=e.watchers);const r=Object.entries(n.A);if(r.map((([e,[o]])=>{31&o||2&t&&32&o?Object.defineProperty(s,e,{get(){return((e,n)=>ve(this).W.get(n))(0,e)},set(t){((e,n,t,o)=>{const s=ve(e),r=s.$hostElement$,i=s.W.get(n),c=s.p,f=s.C;if(t=((e,n)=>null==e||l(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,o.A[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(s.W.set(n,t),f)){if(o.N&&128&c){const e=o.N[n];e&&e.map((e=>{try{f[e](t,i,n)}catch(e){$e(e,r)}}))}2==(18&c)&&K(s,!1)}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&o&&Object.defineProperty(s,e,{value(...n){var t;const l=ve(this);return null==(t=null==l?void 0:l.D)?void 0:t.then((()=>{var t;return null==(t=l.C)?void 0:t[e](...n)}))}})})),1&t){const t=new Map;s.attributeChangedCallback=function(e,l,o){je.jmp((()=>{var r;const i=t.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const t=ve(this),s=null==t?void 0:t.p;if(s&&!(8&s)&&128&s&&o!==l){const s=t.C,i=null==(r=n.N)?void 0:r[e];null==i||i.forEach((n=>{null!=s[n]&&s[n].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.N)?o:{}),...r.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const s=l[1]||e;return t.set(s,e),512&l[0]&&(null==(o=n.L)||o.push([e,s])),s}))]))}}return e},ie=e=>{oe(e,"connectedCallback")},ce=e=>{oe(e,"disconnectedCallback")},fe=(e,n={})=>{var t;const l=[],s=n.exclude||[],r=ke.customElements,i=ge.head,c=i.querySelector("meta[charset]"),f=ge.createElement("style"),u=[];let a,v=!0;Object.assign(je,n),je.t=new URL(n.resourcesUrl||"./",ge.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((n=>{var t;const o={p:n[0],h:n[1],A:n[2],F:n[3]};4&o.p&&(p=!0),o.A=n[2],o.L=[],o.N=null!=(t=n[4])?t:{};const i=o.h,c=class extends HTMLElement{constructor(e){super(e),me(e=this,o)}connectedCallback(){a&&(clearTimeout(a),a=null),v?u.push(this):je.jmp((()=>(e=>{if(!(1&je.p)){const n=ve(e),t=n.M,l=()=>{};if(1&n.p)(null==n?void 0:n.C)?ie(n.C):(null==n?void 0:n.q)&&n.q.then((()=>ie(n.C)));else{n.p|=1,12&t.p&&(e=>{const n=e["s-cr"]=ge.createComment("");n["s-cn"]=!0,e.insertBefore(n,e.firstChild)})(e);{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){J(n,n.S=t);break}}t.A&&Object.entries(t.A).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(!(32&n.p)){if(n.p|=32,t.H){if(l=be(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.N=l.watchers,re(l,t,2),l.isProxied=!0);const e=()=>{};n.p|=8;try{l.__forceUpdate=te,l.__registerControllers=e=>(pe(e,n),n.M.A??{}),new l(n),l.__registerControllers=void 0}catch(e){$e(e)}n.p&=-9,n.p|=128,e(),ie(n.C)}else l=e.constructor,customElements.whenDefined(t.h).then((()=>n.p|=128));if(l.style){let e=l.style;const n=j(t);if(!we.has(n)){const l=()=>{};((e,n,t)=>{let l=we.get(e);Se&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,we.set(e,l)})(n,e,!!(1&t.p)),l()}}}const o=n.S,s=()=>K(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}})(this)))}disconnectedCallback(){je.jmp((()=>(async()=>{if(!(1&je.p)){const e=ve(this);(null==e?void 0:e.C)?ce(e.C):(null==e?void 0:e.q)&&e.q.then((()=>ce(e.C)))}})()))}componentOnReady(){return ve(this).q}};o.H=e[0],s.includes(i)||r.get(i)||(l.push(i),r.define(i,re(c,o,1)))}))})),l.length>0&&(p&&(f.textContent+=d),f.textContent+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!=(t=je.R)?t:o(ge);null!=e&&f.setAttribute("nonce",e),i.insertBefore(f,c?c.nextSibling:i.firstChild)}v=!1,u.length?u.map((e=>e.connectedCallback())):je.jmp((()=>a=setTimeout(le,30)))},ue=(e,n)=>n,ae=e=>je.R=e,de=new WeakMap,ve=e=>de.get(e),pe=(e,n)=>de.set(n.C=e,n),me=(e,n)=>{const t={p:0,$hostElement$:e,M:n,W:new Map};return t.D=new Promise((e=>t.U=e)),t.q=new Promise((e=>t.T=e)),e["s-p"]=[],e["s-rc"]=[],de.set(e,t)},ye=(e,n)=>n in e,$e=(e,n)=>(0,console.error)(e,n),he=new Map,be=e=>{const n=e.h.replace(/-/g,"_"),t=e.H,l=he.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(he.set(t,e),e[n])),$e)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},we=new Map,ke="undefined"!=typeof window?window:{},ge=ke.document||{head:{}},je={p:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},Oe=e=>Promise.resolve(e),Se=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Ce=!1,Ee=[],Me=[],Re=(e,n)=>t=>{e.push(t),Ce||(Ce=!0,n&&4&je.p?Le(xe):je.raf(xe))},Pe=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){$e(e)}e.length=0},xe=()=>{Pe(Ee),Pe(Me),(Ce=Ee.length>0)&&je.raf(xe)},Le=e=>Oe().then(e),Te=Re(Me,!0);export{ue as F,n as a,fe as b,w as c,b as g,v as h,Oe as p,pe as r,ae as s}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{D as t,c as s,d as e,e as i,f as o,h as n,j as r,k as h,i as c}from"./p-146ed61a.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>!!(63&s))).map((([t])=>t))),d=(t,s)=>t.manager.internals.members?.[s]?.[0];function u(t,s){const e=d(t,s);return void 0===e?void 0:32&e?"state":"prop"}var p,f=Symbol("controller"),y=["The value you passed is not a controller and not a controller exports. If ","your controller exports a literal value, try making your controller export ","an object instead"].join(""),v=class s{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new t,this._lifecycleDisconnected=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=w(this),this._exportWatchers=new Set;const i=function(t){if("addController"in t)return t;throw new Error("Component does not implement ControllerHost. This might be because you forgot to add 'manager: Controller<this> = useControllerManager(this);' in your component, or you tried to use some controller before that line")}(e??s.internals.retrieveComponent(new.target.name));Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:i}),this.component.addController(this),s.internals.setParentController(this),"hostDestroy"in this&&this.component.manager.ensureHasDestroy(),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){this._exports!==t&&(this._exports=t,this.connectedCalled&&this.component.requestUpdate(),this._exportWatchers.forEach(e)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=w(t),this._exportWatchers.forEach(e)}watchExports(t){const s=()=>t(this._exports);return this._exportWatchers.add(s),()=>{this._exportWatchers.delete(s)}}get use(){return s.internals.setAmbientComponent(this.component),s.internals.use}get useRef(){return s.internals.setAmbientComponent(this.component),s.internals.useRef}get useRefSync(){return s.internals.setAmbientComponent(this.component),s.internals.useRefSync}bypassSetter(t){s.internals.shouldBypassSetter=!0;try{return t()}finally{s.internals.shouldBypassSetter=!1}}bypassReadonly(t){s.internals.shouldBypassReadonly=!0;try{return t()}finally{s.internals.shouldBypassReadonly=!1}}bypassGetter(t){s.internals.shouldBypassGetter=!0;try{return t()}finally{s.internals.shouldBypassGetter=!1}}dynamicGetSet(t,s){this.genericGetSet(t,s)}genericGetSet(t,s){var e,i;const o=s,n=this.component.manager.internals;"function"==typeof o.get&&((e=n.getters)[t]??(e[t]=[]),n.getters[t].unshift(o.get));const r="ignore"===o.set?k:o.set;r&&((i=n.setters)[t]??(i[t]=[]),n.setters[t].unshift(r))}watch(t,s){var i;if(void 0===d(this.component,t))throw new Error(`Trying to watch a non-@property, non-@state property "${t}". Either convert it into a @state() or use get/set syntax`);const o=this.component.manager.internals;(i=o.allWatchers)[t]??(i[t]=[]);const n=o.allWatchers[t],r=s,h=(t,s,i)=>e(r,null,t,s,i);return n.push(h),()=>{const t=n.indexOf(h);-1!==t&&n.splice(t,1)}}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this.component.manager.ensureHasDestroy(),this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&e(t.hostConnected,t),this._callbacks.hostConnected.forEach(e),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&e(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(e),this._lifecycleDisconnected.forEach(e),this._lifecycleDisconnected=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await i(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(i)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&e(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(e),this.didLoadCalled=!0}triggerUpdate(){const t=this;t.hostUpdate&&e(t.hostUpdate,t),this._callbacks.hostUpdate.forEach(e)}triggerUpdated(){const t=this;t.hostUpdated&&e(t.hostUpdated,t),this._callbacks.hostUpdated.forEach(e)}triggerDestroy(){const t=this;t.hostDestroy&&e(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(e)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach((t=>this._callLifecycle(t)))}_callLifecycle(t){s.internals.setAmbientComponent(this.component);const i=e(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleDisconnected.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleDisconnected.push(t.remove)}))}};p=f,v.internals=new class{constructor(){this._ambientControllers=[],this.use=async(t,s)=>{const e=this.useRefSync(t);if(void 0===e){if("function"==typeof s){const t=new Error(`Unable to resolve a controller from the provided value, so can't watch it's exports. ${y}`);console.error(t)}return t}if(await e.ready,"function"==typeof s){if(void 0===e.watchExports)throw new Error("The controller must implement watchExports method to support watching exports");const t=e.watchExports((e=>s(e,t)))}return e.exports},this.useRef=async t=>{const s=this.useRefSync(t);if(void 0===s)throw new Error(`Unable to resolve a controller from the provided value. ${y}`);return await s.ready,s},this.useRefSync=t=>{const s=this.retrieveAmbientChildController();if(void 0!==s)return s;const e=m.internals.retrieveComponent().manager.internals.resolveExports(t);return void 0!==e?e:(t=>"object"==typeof t&&null!==t&&(f in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},this.shouldBypassSetter=!1,this.shouldBypassGetter=!1,this.shouldBypassReadonly=!1,this.elementToInstance=new WeakMap}setAmbientComponent(t){this._ambientComponent!==t&&(this._ambientComponent=t,queueMicrotask((()=>{this._ambientComponent===t&&(this._ambientComponent=void 0)})))}retrieveComponent(t){if(void 0===this._ambientComponent)throw new Error([`Unable to find out which component ${t||"this"} controller `,"belongs to. This might happen if you tried to create a controller ","outside the component. If so, please wrap your controller ","definition in an arrow function, ","`const myController = ()=>makeController(...);` and call that","function inside the component `my = myController();`, or ","define your controller using makeGenericController/GenericController ","instead.\n","If you wish to use a controller inside an async controller, ","make sure you are using controller.use.\n","You might also have multiple instances of Controllers loaded"].join("\n"));return this._ambientComponent}setParentController(t){if(void 0===t)return void(this._ambientControllers=[]);const s=this._ambientControllers.indexOf(t);this._ambientControllers=-1===s?[...this._ambientControllers,t]:this._ambientControllers.slice(0,s+1),queueMicrotask((()=>{this._ambientControllers=[]}))}retrieveParentControllers(){return this._ambientControllers}setAmbientChildController(t){this._ambientChildController!==t&&(this._ambientChildController=t,queueMicrotask((()=>{this._ambientChildController===t&&(this._ambientChildController=void 0)})))}retrieveAmbientChildController(){const t=this._ambientChildController;return this._ambientChildController=void 0,t}};var m=v,g=class extends m{constructor(t){super(t)}watch(t,s){return super.watch(t,s)}dynamicGetSet(t,s){super.genericGetSet(t,s)}};function w(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const s=new Proxy(t,{get(t,e,i){if(!b.has(e)||!(e in t)||t[e]!==s)return e in t||e in Promise.prototype||"symbol"==typeof e?"function"==typeof t?t[e]:Reflect.get(t,e,i):void console.error(`Trying to access "${e.toString()}" on the controller before it's loaded. ${C}`)},set:(t,s,e,i)=>(console.error(`Trying to set "${s.toString()}" on the controller before it's loaded. ${C}`),Reflect.set(t,s,e,i))});return s}var b=new Set(["exports","_exports"]),C="",k=(t,s)=>s;function x(t,s,i){const o=Object.keys(t),n=o.length;void 0===D&&queueMicrotask(j),D??(D=new Map);let r=D.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},D.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(o))),r.callbacks=[],r.keyCount=n),r.callbacks.push((o=>{const r=o[n];e(s,null,void 0===r?void 0:t[r]===i?r:void 0)})),i}var D=void 0;function j(){Array.from(D?.entries()??[]).forEach((([t,{callbacks:s}])=>{const e=Object.keys(t);s.forEach((t=>t(e)))})),D=void 0}var S=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.trackKey=(t,s,e)=>{const i=Array.isArray(t)?t:[t];let o=i.length+1;const n=t=>{o-=1,void 0!==t&&(o=0),0===o&&s(t)};return i.forEach((t=>this.component.manager.trackPropertyKey(t,(s=>n(void 0===s?void 0:{key:s,host:t,type:"property",domValue:void 0})),e))),this.component.manager.trackPropKey(((t,s)=>{const e=void 0===t?void 0:u(this.component,t);n(void 0===t?void 0:{key:t,host:this.component,type:e??"prop",domValue:"prop"===e?s:void 0})}),e),e},this.trackPropKey=(t,s)=>(this._trackedValue!==P&&this._trackedValue!==s&&this._firePropertyTrackers(void 0,void 0,void 0),0===this._keyTrackers.length&&queueMicrotask((()=>this._firePropertyTrackers(void 0,void 0,void 0))),this._trackedValue=s,this._keyTrackers.push(((i,o,n)=>e(t,void 0,s===o?i:void 0,n))),s),this._trackedValue=P,this._keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:t})}_firePropertyTrackers(t,s,e){const i=this._keyTrackers;this._trackedValue=P,this._keyTrackers=[],i.forEach((i=>i(t,s,e)))}getSetProxy(t,s,e){const i=this.component,o=i.constructor.prototype;if(this._getSetProxy(o,t,s,e,"class"),i.manager.isLit)return;const n=i.el.constructor.prototype;o!==n&&this._getSetProxy(n,t,s,e,"html")}_getSetProxy(t,s,e,i,o){const n=this.component,r=d(n,s),h=Object.getOwnPropertyDescriptor(t,s),c="html"===o;if(void 0===h?.set||void 0===h.get){if(void 0!==h&&"value"in h)throw new Error(`getSet() should only be used on @Prop/@property/@State/@state properties. For internal component properties, use regular get/set syntax. Tried to use it on "${s}" in ${n.el.tagName}`);if(c)return;throw new Error(`Unable to find "${s}" property on the ${n.el.tagName} component`)}const{get:a,set:l}=h,u=!(E in a)&&e,p=!(E in l)&&i;if(!u&&!p)return;const f=u?function(){let t=a.call(this);const e=m.internals.elementToInstance.get(this);if(m.internals.shouldBypassGetter||void 0===e)return t;const i=e.manager.internals;t=i.accessorGetter[s](t,s);const o=i.getters[s]??U;for(let e=0;e<o.length;e++)t=o[e](t,s);return t}:a,y=p?function(t){const e=a.call(this),i=m.internals.elementToInstance.get(this);if(void 0===i)return void l.call(this,t);let o=i.manager.isLit?t:function(t,s=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&s?"false"!==t&&(""===t||!!t):2&s?Number.parseFloat(t):1&s?String(t):t}(t,r);const n=i.manager.internals;if(o===e)l.call(this,t);else{const t=m.internals.shouldBypassSetter?U:n.setters[s]??U;for(let i=0;i<t.length&&(o=t[i](o,e,s),o!==e);i++);o=n.accessorSetter[s](o,e,s),l.call(this,o),o!==e&&n.enabledWatchers[s]?.forEach((t=>t(o,e,s)))}n._keyTrackers.length>0&&n?._firePropertyTrackers(s,t,e)}:l;u&&Object.defineProperty(f,E,{value:!0}),p&&Object.defineProperty(y,E,{value:!0}),Object.defineProperty(t,s,{...h,get:f,set:y})}markExports(t,s){("object"==typeof s&&null!==s||"function"==typeof s)&&this._exports.set(s,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},U=[],E=Symbol("controllersCustomAccessor"),P=Symbol("nothing"),L=(t,s)=>new A(t,s),A=class extends g{constructor(e,i){const o="addController"in e,n=new Set,r=e;if(r.addController=function(t){n.add(t),o&&!(f in t)&&e.el.isConnected&&t.hostConnected?.()},r.removeController=function(t){n.delete(t),t.controllerRemoved?.()},!o){const t=i??e.constructor.__forceUpdate;r.requestUpdate=()=>t(e)}super(e),this.internals=new S(this.component),this.destroyed=!1,this._updatePromise=new t,this._originalLifecycles={},this.trackPropertyKey=x,this.trackPropKey=this.internals.trackPropKey,this.trackKey=this.internals.trackKey,this._readonlySetter=(t,e,i)=>{if(m.internals.shouldBypassReadonly)return t;const o=this.component;if("prop"===u(o,i))if(this.isLit){const t=a(o).get(i);t&&!1!==t?.attribute&&o.el.setAttribute("string"==typeof t.attribute?t.attribute:s(i),String(e))}else o.requestUpdate();throw new Error(`Cannot assign to read-only property "${i}" of ${o.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.devOnlySetPersistentControllerData=void 0,this.devOnlyGetPersistentControllerData=void 0,this.isLit=o,this.component.manager=this,function(t,s){if(s){const s=a(t);t.manager.internals.members=Object.fromEntries(Array.from(s,(([t,{state:s,type:e}])=>[t,[s?32:e===Number?2:e===Boolean?4:1]])))}else{const s=t.constructor,e=s.__registerControllers?.(t)??void 0;if(s.__registerControllers=void 0,"object"!=typeof e)throw new Error("Failed to retrieve internal component meta. Make sure you have the useComponentsControllers() Rollup Plugin for Stencil Controllers configured in your Stencil config.");t.manager.internals.members=e}}(e,o),this._controllers=n,this.exports=void 0,this.hasDestroy="autoDestroyDisabled"in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&this.watch("autoDestroyDisabled",(()=>this._autoDestroyDisabledWatcher())),this._bindLifecycleMethods(),o||Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise});const h=l(e),c=e.manager.internals;h.forEach((t=>{c.accessorGetter[t]=O,c.accessorSetter[t]=O,c.getSetProxy(t,!0,!0)})),m.internals.setParentController(void 0),m.internals.setAmbientComponent(e),m.internals.elementToInstance.set(e.el,e),m.internals.elementToInstance.set(e,e)}_bindLifecycleMethods(){const t=this.component,s=this.isLit,e=t.el===t;this._originalLifecycles={connectedCallback:s||e?void 0:t.connectedCallback,disconnectedCallback:s||e?void 0:t.disconnectedCallback,componentWillLoad:s?void 0:t.componentWillLoad,componentDidLoad:s?void 0:t.componentDidLoad,componentWillUpdate:s?void 0:t.componentWillUpdate,componentDidUpdate:s?void 0:t.componentDidUpdate,destroy:t.destroy};const i=this._connectedCallback.bind(this),o=this._disconnectedCallback.bind(this),n=this._update.bind(this),r=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:i,hostDisconnected:o,hostUpdate:n,hostUpdated:r}):(t.connectedCallback=i,t.disconnectedCallback=o,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=r),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}ensureHasDestroy(){if(!this.hasDestroy)throw new Error($)}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the autoDestroyDisabled prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.internals.enabledWatchers=this.internals.allWatchers,j(),this._controllers.forEach((t=>"triggerConnected"in t?t.triggerConnected():e(t.hostConnected,t))),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach((t=>"triggerDisconnected"in t?t.triggerDisconnected():e(t.hostDisconnected,t))),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._autoDestroyDisabledWatcher())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const s of t)"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s);await Promise.allSettled(Array.from(this._controllers,(async s=>t.has(s)?void 0:"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s)))),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach((t=>"triggerLoaded"in t?t.triggerLoaded():e(t.hostLoaded,t))),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach((t=>"triggerUpdate"in t?t.triggerUpdate():e(t.hostUpdate,t))),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){if(this._controllers.forEach((t=>"triggerUpdated"in t?t.triggerUpdated():e(t.hostUpdated,t))),this._originalLifecycles.componentDidUpdate?.call(this.component),!this.isLit){const s=this._updatePromise;this._updatePromise=new t,s.resolve(!0)}}async destroy(){if(this.ensureHasDestroy(),!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach((t=>"triggerDestroy"in t?t.triggerDestroy():e(t.hostDestroy,t))),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_autoDestroyDisabledWatcher(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),M))}readonly(t){return this.getSet(t,{set:this._readonlySetter})}getSet(t,s){return this.component.manager.trackPropKey((e=>{var i;if(void 0===e)throw new Error("Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})");s.set===this._readonlySetter&&((i=this.internals).readonlyProps??(i.readonlyProps=new Set),this.internals.readonlyProps.add(e));const o=this.component,n=o[e];if(null!=n&&n!==t&&"function"==typeof s.set&&(s.initialSet??1)){const i=s.set(n,t,e);if(i!==n)if(this.isLit)o[e]=i;else{let t=!0;this.onConnected((()=>{t&&(t=!0,this.bypassSetter((()=>{o[e]=i})))}))}}this.genericGetSet(e,s)}),t)}},$="\nIf the component uses a controller that uses destroy() method, then the\ncomponent must have the following properties:\nautoDestroyDisabled and destroy\n".trim(),M=1e3,O=t=>t,_=t=>(...s)=>{const e=m.internals.retrieveParentControllers(),i=new t(...s),o=i.exports;m.internals.setParentController(e.at(-1));const n=i.component.manager.internals;n.markExports(i,o),i.watchExports((t=>n.markExports(i,t))),m.internals.setAmbientChildController(i);const r=[i.component,...e].reverse();return n.trackKey(r,(t=>void 0===t?void 0:function(t,{host:s,key:e,type:i},o){const n=s,r=n[e]!==o;if(n[e]!==t.exports&&!r&&o!==t.exports&&(n[e]=t.exports),s===t.component&&"prop"===i){const s=t.component.manager.internals;r&&s.markExports(t,n[e]),t.component.manager.watch(e,(e=>{e!==t.exports&&s.markExports(t,e)}))}t.watchExports((()=>{if(n[e]===t.exports)return;const s=t.component.manager;!0===s.internals.readonlyProps?.has(e)?s.bypassReadonly((()=>{n[e]=t.exports})):n[e]=t.exports}))}(i,t,o)),o)},T=t=>R(void 0,t),R=_(class extends m{constructor(t,s){super(t);const e=this.exports;try{m.internals.setAmbientComponent(this.component);const t=s(this.component,this),i=this.exports!==e;if(t instanceof Promise){i||this.setProvisionalExports(t);const s=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await s))}else i&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),q=t=>(s,e)=>I(s,t,e),G=class extends g{constructor(t,s,e){super(t),this._loadAccessor=s,this._options=e,this.reactiveUtils=this.component.reactiveUtils,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(W.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);const o=Array.from(i).find((t=>t instanceof F));o&&i.delete(o),i.add(o??new F(this.component)),t.manager.trackPropKey((t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){const t=this.component;this.reactiveUtils=void 0===t.reactiveUtils?await c():await this.use(t.reactiveUtils);const s=W.gatherParameters(this,this._watchedProperties),e=this._options?.editConstructorProperties?.call(t,s)??s,i=e instanceof Promise?await e:e,o="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=o&&o!==this.exports?(this._instance=o,o.set(i)):this._instance=await this._createInstance(i),t.manager.destroyed||(W.watchComponentUpdates(this,this._instance,this._watchedProperties),W.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},I=_(G),W={makeGetterProxy:(t,s,e)=>new Proxy({},{has:(t,s)=>"string"==typeof s||s in t,get:(i,o)=>{const n=Reflect.get(i,o);return"symbol"==typeof o||o in Promise.prototype||o in i||!(e?.value??1)?n:t.manager.trackKey(t,(t=>{void 0!==t&&s.set(t.key,o)}),n)}}),watchComponentUpdates(t,s,e){function i(t,i){const o=e.get(i),n=s[o];return"boolean"==typeof n&&o!==i&&i.toLowerCase().includes("disable")?!n:n}const o=(t,i,o)=>{const n=e.get(o),r=s[n],h="boolean"==typeof r&&n!==o&&o.toLowerCase().includes("disable");if((h?!r:r)===t)return t;s[n]=h?!t:t;const c=s[n];return h?!c:c},n=t.component.manager.internals;e.forEach(((t,s)=>{n.accessorGetter[s]=i,n.accessorSetter[s]=o}))},watchAccessorUpdates(t,s,e){const{component:i}=t,o=i,n=s,r=function(t){const s=t,e=Object.entries(s.__accessor__?.metadata??{});return new Set(e.filter((([t,s])=>!0===s?.readOnly)).map((([t])=>t)))}(s);i.manager.bypassGetter((()=>e.forEach(((t,s)=>{if(r.has(t))return;const e=o[s],i=n[t],h="boolean"==typeof e&&t!==s&&s.toLowerCase().includes("disable")?!e:e;null!=h&&i!==h&&(n[t]=h)})))),t.onLifecycle((()=>{if(!s.destroyed)return Array.from(e,(([s,e])=>t.reactiveUtils.watch((()=>n[e]),(()=>{const t=n[e],r="boolean"==typeof t&&e!==s&&s.toLowerCase().includes("disable")?!t:t;i.manager.bypassSetter((()=>{o[s]=r}))}),{initial:!0})))}))},gatherParameters(t,s){const{component:e}=t;return Object.fromEntries(Array.from(s,(([t,s])=>[s,e[t]])).filter((([,t])=>void 0!==t)))},reEmitAccessorEvents(t,e,i,o){if(!("on"in e)||"function"!=typeof e.on)return;const n=Object.entries(t.component).map((([t,e])=>{const i=e;if(!t.startsWith(o)||t===o||"object"!=typeof i||null===i||!("emit"in i)||"function"!=typeof i.emit)return;const n=i.emit,r=t.slice(o.length);return[s(r).toLowerCase(),n]})).filter(h);if(0===n.length)return;const r=e,c=()=>r;t.onLifecycle((()=>{if(!e.destroyed)return n.map((([t,s])=>i.on(c,t,s)))}))},async reCreate(t,s){const e=s.manager.useRefSync(t);void 0!==e&&await e.reCreate()}},V=Promise.all([n(),r()]),F=class extends g{async hostLoad(){const[t,{subclass:s,property:e}]=await V;class i extends t{}const o=(t,s)=>d[s];function n(t,s,e){return void 0!==d&&(d[e]=t),t}const r=this.component,h=r.manager.internals,c=[],a=l(this.component);if(r.manager.bypassGetter((()=>a.forEach((t=>{h.accessorSetter[t]!==O||(c.push(t),h.accessorGetter[t]=o,h.accessorSetter[t]=n,e({value:r[t]})(i.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const d=new(s(r.el.tagName)(i));this._instance=d}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((s=>{t.accessorGetter[s]=O,t.accessorSetter[s]=O}))}};export{G as A,W as a,T as b,q as m,_ as p,L as u}
|
|
6
|
+
import{D as t,c as s,d as e,e as i,f as o,h as n,j as r,k as h,i as c}from"./p-5febcb60.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>!!(63&s))).map((([t])=>t))),d=(t,s)=>t.manager.internals.members?.[s]?.[0];function u(t,s){const e=d(t,s);return void 0===e?void 0:32&e?"state":"prop"}var p,f=Symbol("controller"),y=["The value you passed is not a controller and not a controller exports. If ","your controller exports a literal value, try making your controller export ","an object instead"].join(""),v=class s{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new t,this._lifecycleDisconnected=[],this.connectedCalled=!1,this.willLoadCalled=!1,this.didLoadCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=w(this),this._exportWatchers=new Set;const i=function(t){if("addController"in t)return t;throw new Error("Component does not implement ControllerHost. This might be because you forgot to add 'manager: Controller<this> = useControllerManager(this);' in your component, or you tried to use some controller before that line")}(e??s.internals.retrieveComponent(new.target.name));Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:i}),this.component.addController(this),s.internals.setParentController(this),"hostDestroy"in this&&this.component.manager.ensureHasDestroy(),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.willLoadCalled||this.triggerLoad().then((()=>{!t.didLoadCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){this._exports!==t&&(this._exports=t,this.connectedCalled&&this.component.requestUpdate(),this._exportWatchers.forEach(e)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=w(t),this._exportWatchers.forEach(e)}watchExports(t){const s=()=>t(this._exports);return this._exportWatchers.add(s),()=>{this._exportWatchers.delete(s)}}get use(){return s.internals.setAmbientComponent(this.component),s.internals.use}get useRef(){return s.internals.setAmbientComponent(this.component),s.internals.useRef}get useRefSync(){return s.internals.setAmbientComponent(this.component),s.internals.useRefSync}bypassSetter(t){s.internals.shouldBypassSetter=!0;try{return t()}finally{s.internals.shouldBypassSetter=!1}}bypassReadonly(t){s.internals.shouldBypassReadonly=!0;try{return t()}finally{s.internals.shouldBypassReadonly=!1}}bypassGetter(t){s.internals.shouldBypassGetter=!0;try{return t()}finally{s.internals.shouldBypassGetter=!1}}dynamicGetSet(t,s){this.genericGetSet(t,s)}genericGetSet(t,s){var e,i;const o=s,n=this.component.manager.internals;"function"==typeof o.get&&((e=n.getters)[t]??(e[t]=[]),n.getters[t].unshift(o.get));const r="ignore"===o.set?k:o.set;r&&((i=n.setters)[t]??(i[t]=[]),n.setters[t].unshift(r))}watch(t,s){var i;if(void 0===d(this.component,t))throw new Error(`Trying to watch a non-@property, non-@state property "${t}". Either convert it into a @state() or use get/set syntax`);const o=this.component.manager.internals;(i=o.allWatchers)[t]??(i[t]=[]);const n=o.allWatchers[t],r=s,h=(t,s,i)=>e(r,null,t,s,i);return n.push(h),()=>{const t=n.indexOf(h);-1!==t&&n.splice(t,1)}}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this.component.manager.ensureHasDestroy(),this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&e(t.hostConnected,t),this._callbacks.hostConnected.forEach(e),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&e(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(e),this._lifecycleDisconnected.forEach(e),this._lifecycleDisconnected=[]}async triggerLoad(){if(this.willLoadCalled)return;this.willLoadCalled=!0;const t=this;t.hostLoad&&await i(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(i)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.didLoadCalled)return;const t=this;t.hostLoaded&&e(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(e),this.didLoadCalled=!0}triggerUpdate(){const t=this;t.hostUpdate&&e(t.hostUpdate,t),this._callbacks.hostUpdate.forEach(e)}triggerUpdated(){const t=this;t.hostUpdated&&e(t.hostUpdated,t),this._callbacks.hostUpdated.forEach(e)}triggerDestroy(){const t=this;t.hostDestroy&&e(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(e)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach((t=>this._callLifecycle(t)))}_callLifecycle(t){s.internals.setAmbientComponent(this.component);const i=e(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleDisconnected.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleDisconnected.push(t.remove)}))}};p=f,v.internals=new class{constructor(){this._ambientControllers=[],this.use=async(t,s)=>{const e=this.useRefSync(t);if(void 0===e){if("function"==typeof s){const t=new Error(`Unable to resolve a controller from the provided value, so can't watch it's exports. ${y}`);console.error(t)}return t}if(await e.ready,"function"==typeof s){if(void 0===e.watchExports)throw new Error("The controller must implement watchExports method to support watching exports");const t=e.watchExports((e=>s(e,t)))}return e.exports},this.useRef=async t=>{const s=this.useRefSync(t);if(void 0===s)throw new Error(`Unable to resolve a controller from the provided value. ${y}`);return await s.ready,s},this.useRefSync=t=>{const s=this.retrieveAmbientChildController();if(void 0!==s)return s;const e=m.internals.retrieveComponent().manager.internals.resolveExports(t);return void 0!==e?e:(t=>"object"==typeof t&&null!==t&&(f in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},this.shouldBypassSetter=!1,this.shouldBypassGetter=!1,this.shouldBypassReadonly=!1,this.elementToInstance=new WeakMap}setAmbientComponent(t){this._ambientComponent!==t&&(this._ambientComponent=t,queueMicrotask((()=>{this._ambientComponent===t&&(this._ambientComponent=void 0)})))}retrieveComponent(t){if(void 0===this._ambientComponent)throw new Error([`Unable to find out which component ${t||"this"} controller `,"belongs to. This might happen if you tried to create a controller ","outside the component. If so, please wrap your controller ","definition in an arrow function, ","`const myController = ()=>makeController(...);` and call that","function inside the component `my = myController();`, or ","define your controller using makeGenericController/GenericController ","instead.\n","If you wish to use a controller inside an async controller, ","make sure you are using controller.use.\n","You might also have multiple instances of Controllers loaded"].join("\n"));return this._ambientComponent}setParentController(t){if(void 0===t)return void(this._ambientControllers=[]);const s=this._ambientControllers.indexOf(t);this._ambientControllers=-1===s?[...this._ambientControllers,t]:this._ambientControllers.slice(0,s+1),queueMicrotask((()=>{this._ambientControllers=[]}))}retrieveParentControllers(){return this._ambientControllers}setAmbientChildController(t){this._ambientChildController!==t&&(this._ambientChildController=t,queueMicrotask((()=>{this._ambientChildController===t&&(this._ambientChildController=void 0)})))}retrieveAmbientChildController(){const t=this._ambientChildController;return this._ambientChildController=void 0,t}};var m=v,g=class extends m{constructor(t){super(t)}watch(t,s){return super.watch(t,s)}dynamicGetSet(t,s){super.genericGetSet(t,s)}};function w(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const s=new Proxy(t,{get(t,e,i){if(!b.has(e)||!(e in t)||t[e]!==s)return e in t||e in Promise.prototype||"symbol"==typeof e?"function"==typeof t?t[e]:Reflect.get(t,e,i):void console.error(`Trying to access "${e.toString()}" on the controller before it's loaded. ${C}`)},set:(t,s,e,i)=>(console.error(`Trying to set "${s.toString()}" on the controller before it's loaded. ${C}`),Reflect.set(t,s,e,i))});return s}var b=new Set(["exports","_exports"]),C="",k=(t,s)=>s;function x(t,s,i){const o=Object.keys(t),n=o.length;void 0===D&&queueMicrotask(j),D??(D=new Map);let r=D.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},D.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(o))),r.callbacks=[],r.keyCount=n),r.callbacks.push((o=>{const r=o[n];e(s,null,void 0===r?void 0:t[r]===i?r:void 0)})),i}var D=void 0;function j(){Array.from(D?.entries()??[]).forEach((([t,{callbacks:s}])=>{const e=Object.keys(t);s.forEach((t=>t(e)))})),D=void 0}var S=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.trackKey=(t,s,e)=>{const i=Array.isArray(t)?t:[t];let o=i.length+1;const n=t=>{o-=1,void 0!==t&&(o=0),0===o&&s(t)};return i.forEach((t=>this.component.manager.trackPropertyKey(t,(s=>n(void 0===s?void 0:{key:s,host:t,type:"property",domValue:void 0})),e))),this.component.manager.trackPropKey(((t,s)=>{const e=void 0===t?void 0:u(this.component,t);n(void 0===t?void 0:{key:t,host:this.component,type:e??"prop",domValue:"prop"===e?s:void 0})}),e),e},this.trackPropKey=(t,s)=>(this._trackedValue!==P&&this._trackedValue!==s&&this._firePropertyTrackers(void 0,void 0,void 0),0===this._keyTrackers.length&&queueMicrotask((()=>this._firePropertyTrackers(void 0,void 0,void 0))),this._trackedValue=s,this._keyTrackers.push(((i,o,n)=>e(t,void 0,s===o?i:void 0,n))),s),this._trackedValue=P,this._keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,Object.defineProperty(this,"component",{writable:!1,enumerable:!1,configurable:!0,value:t})}_firePropertyTrackers(t,s,e){const i=this._keyTrackers;this._trackedValue=P,this._keyTrackers=[],i.forEach((i=>i(t,s,e)))}getSetProxy(t,s,e){const i=this.component,o=i.constructor.prototype;if(this._getSetProxy(o,t,s,e,"class"),i.manager.isLit)return;const n=i.el.constructor.prototype;o!==n&&this._getSetProxy(n,t,s,e,"html")}_getSetProxy(t,s,e,i,o){const n=this.component,r=d(n,s),h=Object.getOwnPropertyDescriptor(t,s),c="html"===o;if(void 0===h?.set||void 0===h.get){if(void 0!==h&&"value"in h)throw new Error(`getSet() should only be used on @Prop/@property/@State/@state properties. For internal component properties, use regular get/set syntax. Tried to use it on "${s}" in ${n.el.tagName}`);if(c)return;throw new Error(`Unable to find "${s}" property on the ${n.el.tagName} component`)}const{get:a,set:l}=h,u=!(E in a)&&e,p=!(E in l)&&i;if(!u&&!p)return;const f=u?function(){let t=a.call(this);const e=m.internals.elementToInstance.get(this);if(m.internals.shouldBypassGetter||void 0===e)return t;const i=e.manager.internals;t=i.accessorGetter[s](t,s);const o=i.getters[s]??U;for(let e=0;e<o.length;e++)t=o[e](t,s);return t}:a,y=p?function(t){const e=a.call(this),i=m.internals.elementToInstance.get(this);if(void 0===i)return void l.call(this,t);let o=i.manager.isLit?t:function(t,s=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&s?"false"!==t&&(""===t||!!t):2&s?Number.parseFloat(t):1&s?String(t):t}(t,r);const n=i.manager.internals;if(o===e)l.call(this,t);else{const t=m.internals.shouldBypassSetter?U:n.setters[s]??U;for(let i=0;i<t.length&&(o=t[i](o,e,s),o!==e);i++);o=n.accessorSetter[s](o,e,s),l.call(this,o),o!==e&&n.enabledWatchers[s]?.forEach((t=>t(o,e,s)))}n._keyTrackers.length>0&&n?._firePropertyTrackers(s,t,e)}:l;u&&Object.defineProperty(f,E,{value:!0}),p&&Object.defineProperty(y,E,{value:!0}),Object.defineProperty(t,s,{...h,get:f,set:y})}markExports(t,s){("object"==typeof s&&null!==s||"function"==typeof s)&&this._exports.set(s,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},U=[],E=Symbol("controllersCustomAccessor"),P=Symbol("nothing"),L=(t,s)=>new A(t,s),A=class extends g{constructor(e,i){const o="addController"in e,n=new Set,r=e;if(r.addController=function(t){n.add(t),o&&!(f in t)&&e.el.isConnected&&t.hostConnected?.()},r.removeController=function(t){n.delete(t),t.controllerRemoved?.()},!o){const t=i??e.constructor.__forceUpdate;r.requestUpdate=()=>t(e)}super(e),this.internals=new S(this.component),this.destroyed=!1,this._updatePromise=new t,this._originalLifecycles={},this.trackPropertyKey=x,this.trackPropKey=this.internals.trackPropKey,this.trackKey=this.internals.trackKey,this._readonlySetter=(t,e,i)=>{if(m.internals.shouldBypassReadonly)return t;const o=this.component;if("prop"===u(o,i))if(this.isLit){const t=a(o).get(i);t&&!1!==t?.attribute&&o.el.setAttribute("string"==typeof t.attribute?t.attribute:s(i),String(e))}else o.requestUpdate();throw new Error(`Cannot assign to read-only property "${i}" of ${o.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.devOnlySetPersistentControllerData=void 0,this.devOnlyGetPersistentControllerData=void 0,this.isLit=o,this.component.manager=this,function(t,s){if(s){const s=a(t);t.manager.internals.members=Object.fromEntries(Array.from(s,(([t,{state:s,type:e}])=>[t,[s?32:e===Number?2:e===Boolean?4:1]])))}else{const s=t.constructor,e=s.__registerControllers?.(t)??void 0;if(s.__registerControllers=void 0,"object"!=typeof e)throw new Error("Failed to retrieve internal component meta. Make sure you have the useComponentsControllers() Rollup Plugin for Stencil Controllers configured in your Stencil config.");t.manager.internals.members=e}}(e,o),this._controllers=n,this.exports=void 0,this.hasDestroy="autoDestroyDisabled"in this.component&&"function"==typeof this.component.destroy,this.hasDestroy&&this.watch("autoDestroyDisabled",(()=>this._autoDestroyDisabledWatcher())),this._bindLifecycleMethods(),o||Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise});const h=l(e),c=e.manager.internals;h.forEach((t=>{c.accessorGetter[t]=O,c.accessorSetter[t]=O,c.getSetProxy(t,!0,!0)})),m.internals.setParentController(void 0),m.internals.setAmbientComponent(e),m.internals.elementToInstance.set(e.el,e),m.internals.elementToInstance.set(e,e)}_bindLifecycleMethods(){const t=this.component,s=this.isLit,e=t.el===t;this._originalLifecycles={connectedCallback:s||e?void 0:t.connectedCallback,disconnectedCallback:s||e?void 0:t.disconnectedCallback,componentWillLoad:s?void 0:t.componentWillLoad,componentDidLoad:s?void 0:t.componentDidLoad,componentWillUpdate:s?void 0:t.componentWillUpdate,componentDidUpdate:s?void 0:t.componentDidUpdate,destroy:t.destroy};const i=this._connectedCallback.bind(this),o=this._disconnectedCallback.bind(this),n=this._update.bind(this),r=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:i,hostDisconnected:o,hostUpdate:n,hostUpdated:r}):(t.connectedCallback=i,t.disconnectedCallback=o,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=r),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}ensureHasDestroy(){if(!this.hasDestroy)throw new Error($)}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It can not be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the autoDestroyDisabled prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.internals.enabledWatchers=this.internals.allWatchers,j(),this._controllers.forEach((t=>"triggerConnected"in t?t.triggerConnected():e(t.hostConnected,t))),this._originalLifecycles.connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach((t=>"triggerDisconnected"in t?t.triggerDisconnected():e(t.hostDisconnected,t))),this._originalLifecycles.disconnectedCallback?.call(this.component),this.hasDestroy&&this._autoDestroyDisabledWatcher())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const s of t)"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s);await Promise.allSettled(Array.from(this._controllers,(async s=>t.has(s)?void 0:"triggerLoad"in s?await s.triggerLoad():await i(s.hostLoad,s)))),await(this._originalLifecycles.componentWillLoad?.call(this.component))}_loaded(){this._controllers.forEach((t=>"triggerLoaded"in t?t.triggerLoaded():e(t.hostLoaded,t))),this._originalLifecycles.componentDidLoad?.call(this.component)}_update(){this._controllers.forEach((t=>"triggerUpdate"in t?t.triggerUpdate():e(t.hostUpdate,t))),this._originalLifecycles.componentWillUpdate?.call(this.component)}_updated(){if(this._controllers.forEach((t=>"triggerUpdated"in t?t.triggerUpdated():e(t.hostUpdated,t))),this._originalLifecycles.componentDidUpdate?.call(this.component),!this.isLit){const s=this._updatePromise;this._updatePromise=new t,s.resolve(!0)}}async destroy(){if(this.ensureHasDestroy(),!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach((t=>"triggerDestroy"in t?t.triggerDestroy():e(t.hostDestroy,t))),this._controllers.clear(),await(this._originalLifecycles.destroy?.call(this.component))}}_autoDestroyDisabledWatcher(){this.component.el.isConnected||this.component.autoDestroyDisabled||(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),M))}readonly(t){return this.getSet(t,{set:this._readonlySetter})}getSet(t,s){return this.component.manager.trackPropKey((e=>{var i;if(void 0===e)throw new Error("Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})");s.set===this._readonlySetter&&((i=this.internals).readonlyProps??(i.readonlyProps=new Set),this.internals.readonlyProps.add(e));const o=this.component,n=o[e];if(null!=n&&n!==t&&"function"==typeof s.set&&(s.initialSet??1)){const i=s.set(n,t,e);if(i!==n)if(this.isLit)o[e]=i;else{let t=!0;this.onConnected((()=>{t&&(t=!0,this.bypassSetter((()=>{o[e]=i})))}))}}this.genericGetSet(e,s)}),t)}},$="\nIf the component uses a controller that uses destroy() method, then the\ncomponent must have the following properties:\nautoDestroyDisabled and destroy\n".trim(),M=1e3,O=t=>t,_=t=>(...s)=>{const e=m.internals.retrieveParentControllers(),i=new t(...s),o=i.exports;m.internals.setParentController(e.at(-1));const n=i.component.manager.internals;n.markExports(i,o),i.watchExports((t=>n.markExports(i,t))),m.internals.setAmbientChildController(i);const r=[i.component,...e].reverse();return n.trackKey(r,(t=>void 0===t?void 0:function(t,{host:s,key:e,type:i},o){const n=s,r=n[e]!==o;if(n[e]!==t.exports&&!r&&o!==t.exports&&(n[e]=t.exports),s===t.component&&"prop"===i){const s=t.component.manager.internals;r&&s.markExports(t,n[e]),t.component.manager.watch(e,(e=>{e!==t.exports&&s.markExports(t,e)}))}t.watchExports((()=>{if(n[e]===t.exports)return;const s=t.component.manager;!0===s.internals.readonlyProps?.has(e)?s.bypassReadonly((()=>{n[e]=t.exports})):n[e]=t.exports}))}(i,t,o)),o)},T=t=>R(void 0,t),R=_(class extends m{constructor(t,s){super(t);const e=this.exports;try{m.internals.setAmbientComponent(this.component);const t=s(this.component,this),i=this.exports!==e;if(t instanceof Promise){i||this.setProvisionalExports(t);const s=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await s))}else i&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}),q=t=>(s,e)=>I(s,t,e),G=class extends g{constructor(t,s,e){super(t),this._loadAccessor=s,this._options=e,this.reactiveUtils=this.component.reactiveUtils,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(W.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));const i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);const o=Array.from(i).find((t=>t instanceof F));o&&i.delete(o),i.add(o??new F(this.component)),t.manager.trackPropKey((t=>{t&&(this._instancePropName=t)}),this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){const t=this.component;this.reactiveUtils=void 0===t.reactiveUtils?await c():await this.use(t.reactiveUtils);const s=W.gatherParameters(this,this._watchedProperties),e=this._options?.editConstructorProperties?.call(t,s)??s,i=e instanceof Promise?await e:e,o="string"==typeof this._instancePropName?t[this._instancePropName]:void 0;null!=o&&o!==this.exports?(this._instance=o,o.set(i)):this._instance=await this._createInstance(i),t.manager.destroyed||(W.watchComponentUpdates(this,this._instance,this._watchedProperties),W.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},I=_(G),W={makeGetterProxy:(t,s,e)=>new Proxy({},{has:(t,s)=>"string"==typeof s||s in t,get:(i,o)=>{const n=Reflect.get(i,o);return"symbol"==typeof o||o in Promise.prototype||o in i||!(e?.value??1)?n:t.manager.trackKey(t,(t=>{void 0!==t&&s.set(t.key,o)}),n)}}),watchComponentUpdates(t,s,e){function i(t,i){const o=e.get(i),n=s[o];return"boolean"==typeof n&&o!==i&&i.toLowerCase().includes("disable")?!n:n}const o=(t,i,o)=>{const n=e.get(o),r=s[n],h="boolean"==typeof r&&n!==o&&o.toLowerCase().includes("disable");if((h?!r:r)===t)return t;s[n]=h?!t:t;const c=s[n];return h?!c:c},n=t.component.manager.internals;e.forEach(((t,s)=>{n.accessorGetter[s]=i,n.accessorSetter[s]=o}))},watchAccessorUpdates(t,s,e){const{component:i}=t,o=i,n=s,r=function(t){const s=t,e=Object.entries(s.__accessor__?.metadata??{});return new Set(e.filter((([t,s])=>!0===s?.readOnly)).map((([t])=>t)))}(s);i.manager.bypassGetter((()=>e.forEach(((t,s)=>{if(r.has(t))return;const e=o[s],i=n[t],h="boolean"==typeof e&&t!==s&&s.toLowerCase().includes("disable")?!e:e;null!=h&&i!==h&&(n[t]=h)})))),t.onLifecycle((()=>{if(!s.destroyed)return Array.from(e,(([s,e])=>t.reactiveUtils.watch((()=>n[e]),(()=>{const t=n[e],r="boolean"==typeof t&&e!==s&&s.toLowerCase().includes("disable")?!t:t;i.manager.bypassSetter((()=>{o[s]=r}))}),{initial:!0})))}))},gatherParameters(t,s){const{component:e}=t;return Object.fromEntries(Array.from(s,(([t,s])=>[s,e[t]])).filter((([,t])=>void 0!==t)))},reEmitAccessorEvents(t,e,i,o){if(!("on"in e)||"function"!=typeof e.on)return;const n=Object.entries(t.component).map((([t,e])=>{const i=e;if(!t.startsWith(o)||t===o||"object"!=typeof i||null===i||!("emit"in i)||"function"!=typeof i.emit)return;const n=i.emit,r=t.slice(o.length);return[s(r).toLowerCase(),n]})).filter(h);if(0===n.length)return;const r=e,c=()=>r;t.onLifecycle((()=>{if(!e.destroyed)return n.map((([t,s])=>i.on(c,t,s)))}))},async reCreate(t,s){const e=s.manager.useRefSync(t);void 0!==e&&await e.reCreate()}},V=Promise.all([n(),r()]),F=class extends g{async hostLoad(){const[t,{subclass:s,property:e}]=await V;class i extends t{}const o=(t,s)=>d[s];function n(t,s,e){return void 0!==d&&(d[e]=t),t}const r=this.component,h=r.manager.internals,c=[],a=l(this.component);if(r.manager.bypassGetter((()=>a.forEach((t=>{h.accessorSetter[t]!==O||(c.push(t),h.accessorGetter[t]=o,h.accessorSetter[t]=n,e({value:r[t]})(i.prototype,t))})))),this._enabledMembers=c,0===c.length)return;const d=new(s(r.el.tagName)(i));this._instance=d}controllerRemoved(){super.controllerRemoved();const t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach((s=>{t.accessorGetter[s]=O,t.accessorSetter[s]=O}))}};export{G as A,W as a,T as b,q as m,_ as p,L as u}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{$ as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("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)}};e.style="arcgis-scale-range-slider{}";export{e 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{w as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as o}from"./p-dcc97ab4.js";import{m as a}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const c=a(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=o(this),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("currentLocation","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.headingLevel=this.widget.headingLevel,this.mode=this.widget.mode,this.multipleConversions=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.storageEnabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async reverseConvert(s,t){return await(this.widget?.reverseConvert(s,t))}get el(){return i(this)}};e.style="";export{e as arcgis_coordinate_conversion}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
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-d7c46a95.js";import{I as h}from"./p-5febcb60.js";import{u as r}from"./p-e8206751.js";import{u as a}from"./p-dcc97ab4.js";import{m as o}from"./p-690bc92f.js";import"./p-9d9a97c7.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetSubmit=t(this,"arcgisSubmit",7),this.widgetValueChange=t(this,"arcgisValueChange",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.referenceElement=void 0,this.position="bottom-left",this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.layer=this.widget.layer,this.timeZone=this.widget.timeZone,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}get el(){return i(this)}};c.style="";export{c as arcgis_feature_form}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{b as n}from"./p-
|
|
6
|
+
import{b as n}from"./p-dcc97ab4.js";import{s as t,g as a}from"./p-5febcb60.js";var e=t=>n(t),s=e=>({blocking:s=!1,name:r}={})=>n(((n,o)=>{if(o.onLifecycle((()=>t(n.el,e("./assets"),(({t9nLocale:t,t9nStrings:a,lang:e})=>{o.exports={...a,_lang:e,_t9nLocale:t};const s=a.componentLabel??a.widgetLabel;"string"==typeof s&&"label"in n&&null==n.label&&(n.label??(n.label=s))}),r))),s)return o.ready;const c=a(n.el);return{_lang:c.lang,_t9nLocale:c.t9nLocale}})),r=()=>c,o="arcgisPropertyChange",c=(...t)=>n(((n,a)=>{const e=n;n.manager.isLit&&(e[o]={emit:t=>{const a=new CustomEvent(o,{detail:t,cancelable:!0});return n.el.dispatchEvent(a),a}});const s=e[o];return a.onLoad((()=>a.onLifecycle((()=>t.map((t=>n.manager.watch(t,(()=>s.emit({name:t}))))))))),s}));export{e as l,s as m,r as u}
|