@arcgis/map-components 4.30.0-next.76 → 4.30.0-next.78
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-bee1db12.entry.js → p-01cc74df.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-62e31837.entry.js → p-072edc88.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-8a733acc.entry.js → p-09485647.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c5c5c80e.entry.js → p-0a41c912.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-97581304.entry.js → p-10981c01.entry.js} +2 -2
- package/dist/arcgis-map-components/p-1ae6f11f.entry.js +6 -0
- package/dist/arcgis-map-components/{p-fc4ef9a3.entry.js → p-22ab9d7f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9454113c.entry.js → p-236a203e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e087332e.entry.js → p-24f494ac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-28682cb3.js → p-2c7c4f5c.js} +2 -2
- package/dist/arcgis-map-components/{p-d3bcb502.entry.js → p-2d9a58fd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9cef6448.entry.js → p-2f063ed3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0b2c7083.entry.js → p-30cf8381.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d8a057a5.entry.js → p-3afb4568.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1567c0ea.entry.js → p-3d0fb801.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ee0b58dd.js → p-3e0365dc.js} +2 -2
- package/dist/arcgis-map-components/{p-1bded6ff.entry.js → p-3e05102e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a124a29c.js → p-3e4680a8.js} +2 -2
- package/dist/arcgis-map-components/{p-70bd7c3c.entry.js → p-3ef3876d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-06d29512.entry.js → p-3f69d544.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-dae96192.entry.js → p-4bc0ec29.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-cfd30086.entry.js → p-4cfcb07f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ce06fed9.entry.js → p-4eea0402.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-00c8334a.entry.js → p-5b77f2a1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1c019914.entry.js → p-5f749e5c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-73f19501.entry.js → p-60d4b22b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7afabec4.entry.js → p-6cf57b77.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5f1a78e6.entry.js → p-6d77300f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1a503aec.entry.js → p-6ebbf181.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-276b10da.entry.js → p-6fb41fd0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fdfa0a9e.entry.js → p-6fe01e9d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-92161381.js → p-7085683b.js} +2 -2
- package/dist/arcgis-map-components/{p-47dc921a.entry.js → p-75bb5e01.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-6ef1bdc0.entry.js → p-779bfe71.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-45edd424.entry.js → p-7803e064.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-aee7c320.entry.js → p-7ac2e097.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-26df1109.entry.js → p-8028ed2c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-847f25b7.entry.js → p-8ae30adf.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a85fb1db.entry.js → p-8b40c5eb.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-00d4a5e2.entry.js → p-8b53e7a9.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4e629845.entry.js → p-8da50bfb.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7de014bc.entry.js → p-928b7962.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3cc285d7.entry.js → p-974d04db.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-330171a0.entry.js → p-975b2180.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c8503063.entry.js → p-9769c718.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d7f8b674.entry.js → p-9c24474e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-9beefc2b.entry.js → p-9eda6f46.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-13115824.entry.js → p-aa1048c3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3a2b0b6a.js → p-aa61482c.js} +1 -1
- package/dist/arcgis-map-components/{p-f5adf4a1.entry.js → p-b12daafa.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-049629f2.entry.js → p-baae46e6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-da22c669.js → p-be8e03f4.js} +2 -2
- package/dist/arcgis-map-components/{p-5d6a38da.entry.js → p-c03bc44a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-c14fb1a7.entry.js → p-c870d70f.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d462e009.entry.js → p-d89134ba.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f04aafce.js → p-e0da3a49.js} +1 -1
- package/dist/arcgis-map-components/{p-37d64dcc.entry.js → p-e3de07bd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-51e3f2b1.entry.js → p-e7d001ac.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-d4252220.entry.js → p-e8f8fc9c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-ece8fd45.entry.js → p-ec90ddc0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-361e3b4d.js → p-ef319dc8.js} +1 -1
- package/dist/arcgis-map-components/{p-a8082ca3.entry.js → p-efee5f2b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5de8dd98.entry.js → p-f105e8fb.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-50a68f78.entry.js → p-f624223c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-65887c29.entry.js → p-f822ae38.entry.js} +2 -2
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-attachments.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-compass.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-daylight.cjs.entry.js +6 -6
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directions.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-expand.cjs.entry.js +8 -7
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +10 -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_3.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 -7
- package/dist/cjs/arcgis-legend.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-locate.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-map-components.cjs.js +3 -3
- package/dist/cjs/arcgis-measurement.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-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-BF2OAJ7S-afee166d.js → chunk-BF2OAJ7S-9140f4c5.js} +3 -3
- package/dist/cjs/{component-utils-689dc1bf.js → component-utils-4d9c0c83.js} +1 -1
- package/dist/cjs/{disconnected-39e74c5c.js → disconnected-abb47534.js} +2 -2
- package/dist/cjs/{index-aa8874e8.js → index-a80cfc56.js} +2 -2
- package/dist/cjs/{index-fc2b3176.js → index-a91a1513.js} +1 -1
- package/dist/cjs/{index-1149f368.js → index-b809ce15.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{useT9n-d2332160.js → useT9n-68989b0e.js} +6 -6
- package/dist/cjs/{useWidget-92bd17c5.js → useWidget-5c363aa4.js} +4 -4
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -1
- package/dist/components/arcgis-basemap-layer-list.js +1 -1
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +4 -3
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +5 -2
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +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-BF2OAJ7S.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/useWidget.js +1 -1
- package/dist/components/version-management-service-item.js +1 -1
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +1 -1
- package/dist/components/version-management-version-properties.js +1 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-area-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-attachments.entry.js +7 -7
- package/dist/esm/arcgis-basemap-gallery.entry.js +7 -7
- package/dist/esm/arcgis-basemap-layer-list.entry.js +7 -7
- package/dist/esm/arcgis-basemap-toggle.entry.js +7 -7
- package/dist/esm/arcgis-bookmarks.entry.js +7 -7
- package/dist/esm/arcgis-building-explorer.entry.js +7 -7
- package/dist/esm/arcgis-compass.entry.js +7 -7
- package/dist/esm/arcgis-coordinate-conversion.entry.js +7 -7
- package/dist/esm/arcgis-daylight.entry.js +6 -6
- package/dist/esm/arcgis-directional-pad.entry.js +7 -7
- package/dist/esm/arcgis-directions.entry.js +7 -7
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +7 -7
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -7
- package/dist/esm/arcgis-editor.entry.js +7 -7
- package/dist/esm/arcgis-elevation-profile.entry.js +7 -7
- package/dist/esm/arcgis-expand.entry.js +8 -7
- package/dist/esm/arcgis-feature-form.entry.js +7 -7
- package/dist/esm/arcgis-feature-table.entry.js +10 -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_3.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 -7
- package/dist/esm/arcgis-legend.entry.js +7 -7
- package/dist/esm/arcgis-line-of-sight.entry.js +7 -7
- package/dist/esm/arcgis-locate.entry.js +7 -7
- package/dist/esm/arcgis-map-components.js +4 -4
- package/dist/esm/arcgis-measurement.entry.js +7 -7
- package/dist/esm/arcgis-navigation-toggle.entry.js +7 -7
- package/dist/esm/arcgis-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-BF2OAJ7S-4d9525e6.js → chunk-BF2OAJ7S-9e9dba5c.js} +3 -3
- package/dist/esm/{component-utils-dacd3af8.js → component-utils-4c792295.js} +1 -1
- package/dist/esm/{disconnected-842293eb.js → disconnected-77f45cc0.js} +2 -2
- package/dist/esm/{index-4ec17697.js → index-bcb91ccc.js} +1 -1
- package/dist/esm/{index-17037755.js → index-be92431e.js} +1 -1
- package/dist/esm/{index-74c2e8bb.js → index-e5c9c5cf.js} +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{useT9n-7d127721.js → useT9n-ebeae134.js} +6 -6
- package/dist/esm/{useWidget-7d06b74d.js → useWidget-8290c0c7.js} +4 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/expand/expand.d.ts +4 -2
- package/dist/types/components/feature-table/feature-table.d.ts +4 -1
- package/dist/types/components.d.ts +32 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stencil.config.d.ts +2 -0
- package/package.json +10 -10
- package/dist/arcgis-map-components/p-1f207caa.entry.js +0 -6
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stencil.config.d.ts +0 -2
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/AddLayersMap.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/AddLayersScene.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/FeatureTable.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/Fullscreen.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/QuickMap.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/QuickScene.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/Swipe.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/internal/stories/ValuePicker.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/AreaMeasurement2D.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/AreaMeasurement3D.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/BasemapGallery.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/BasemapLayerList.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/BasemapToggle.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Bookmarks.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/BuildingExplorer.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Compass.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/CoordinateConversion.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Daylight.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/DirectionalPad.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Directions.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/DirectlineMeasurement3D.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/DistanceMeasurement2D.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Editor.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/ElevationProfile.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Expand.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/FloorFilter.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Home.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/LayerList.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Legend.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/LineOfSight.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Locate.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Map.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/NavigationToggle.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Print.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/ScaleBar.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/ScaleRangeSlider.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Scene.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Search.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/ShadowCast.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Sketch.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Slice.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/TableList.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/TimeSlider.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Track.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/UtilityNetworkAssociations.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/UtilityNetworkTrace.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/UtilityNetworkValidateTopology.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/VersionManagement.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Weather.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories/Zoom.stories.d.ts +0 -0
- /package/dist/types/data/{arcgis-web-compoments/actions-runner-1 → actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/map-components/.stencil/stories/reference/stories-utils.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{a6 as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.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.excludedLayers=this.viewModel.excludedLayers,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.shape=this.viewModel.shape,this.tiltEnabled=this.viewModel.tiltEnabled,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="arcgis-slice{}";export{e as arcgis_slice}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{ah as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_weather}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{p as t,A as e,a as s}from"./p-
|
|
6
|
+
import{p as t,A as e,a as s}from"./p-3e4680a8.js";import"./p-ef319dc8.js";import{a as i}from"./p-aa61482c.js";const o=t=>(e,s)=>h(e,t,s),h=t(class extends e{constructor(t,e,i){super(t,e,i),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:s.makeGetterProxy(t,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.didLoadCalled&&i(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),s.reEmitAccessorEvents(this,this._instance,this.reactiveUtils,"widget"),this.onLifecycle((()=>this.reactiveUtils.watch((()=>this._instance.viewModel),(t=>{this.component.viewModel=t}),{initial:!0})));const t=this._instance.viewModel;if("object"==typeof t)s.reEmitAccessorEvents(this,t,this.reactiveUtils,"viewModel"),s.watchComponentUpdates(this,t,this._watchedViewModelProperties),s.watchAccessorUpdates(this,t,this._watchedViewModelProperties);else if(this._watchedViewModelProperties.size>0)throw new Error(`The widget does not have a viewModel to bind to. Tried to bind the following properties: ${Array.from(this._watchedViewModelProperties.keys()).join(", ")}`);const e=Object.entries(this._watchedVisibleElementsProperties);e.length>0&&this.onLifecycle((()=>e.map((([t,e])=>{let s,i=this._instance.visibleElements??{};for(const t of e.slice(0,-1)){if("object"!=typeof i[t]||null===i[t]){s=Boolean(i[t]);break}i=i[t]}void 0===s&&(s=Boolean(i[e.slice(-1)[0]]??!0)),t.startsWith("hide");const o=t.startsWith("hide")||t.startsWith("show")?t.startsWith("hide"):s,h=this.component;return"boolean"==typeof h[t]?this._updateWidgetVisibleElement(e,h[t],o):h[t]=!1,this.watch(t,(t=>this._updateWidgetVisibleElement(e,t,o)))}))))}_updateWidgetVisibleElement(t,e,s){let i=this._instance.visibleElements??{};for(const e of t.slice(0,-1))"object"==typeof i[e]&&null!==i[e]||(i[e]={}),i=i[e];const o=Boolean(s?!e:e);i[t.at(-1)]=o}hostLoaded(){const{el:t}=this.component;t.childElem??(t.childElem=document.createElement("div")),this._instance.container=t.childElem;let e=!1;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{"view"in this._instance||"object"!=typeof this._instance.viewModel?this._instance.view=t:this._instance.viewModel.view=t,this._watchViewDestroy(),e||this.component.arcgisReady.emit(),e=!0},configurable:!0,enumerable:!0}),this.component.el.isConnected&&(i(this.component),this._watchViewDestroy())}hostDisconnected(){"object"==typeof this.component.el.childElem&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){this.watch("position",(t=>{null!=this.component.el.childElem&&"string"==typeof t&&i(this.component)})),this.watch("referenceElement",(()=>i(this.component)))}_makeVisibleElementsBinder(){return new Proxy({},{has:(t,e)=>"string"==typeof e||Reflect.has(t,e),get:(t,e)=>{if("symbol"==typeof e||e in Promise.prototype)return Reflect.get(t,e);const s=[e],i=this._makeRecursiveProxy(s);return this.component.manager.trackPropKey((t=>{if(void 0===t)throw new Error("Unable to bind visibleElements property. Check for incorrect this.widget.visibleElements usage");this.component[t]=!1,this._watchedVisibleElementsProperties[t]=s}),i)}})}_makeRecursiveProxy(t){const e=new Proxy({},{get:(s,i)=>{const o=Reflect.get(s,i);return"symbol"==typeof i||i in Promise.prototype?o:(t.push(i),e)}});return e}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when((()=>!0===this.component.el.view?.destroyed),(()=>{this.component.destroy().catch(console.error)}),{sync:!0})}});export{o as m}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{r as h}from"./p-ef319dc8.js";import{u as r}from"./p-7085683b.js";import{u as a}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=a(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.label=this.widget.label,this.referenceElement=void 0,this.baseFilterText=this.widget.baseFilterText,this.baseItems=this.widget.baseItems,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.icon=this.widget.icon,this.minFilterItems=this.widget.minFilterItems,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.visibilityAppearance=this.widget.visibilityAppearance,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_basemap_layer_list}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{D as t,d as s,e,f as i,h as o,j as n,k as r,l as h,i as c}from"./p-361e3b4d.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>0!=(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:0!=(4&s)?"false"!==t&&(""===t||!!t):0!=(2&s)?Number.parseFloat(t):0!=(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;this._originalLifecycles={connectedCallback:s?void 0:t.connectedCallback,disconnectedCallback:s?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 e=this._connectedCallback.bind(this),i=this._disconnectedCallback.bind(this),o=this._update.bind(this),n=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:e,hostDisconnected:i,hostUpdate:o,hostUpdated:n}):(t.connectedCallback=e,t.disconnectedCallback=i,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=o,t.componentDidUpdate=n),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,d as s,e,f as i,h as o,j as n,k as r,l as h,i as c}from"./p-ef319dc8.js";var a=t=>t.constructor.elementProperties,l=(63,t=>Object.entries(t.manager.internals.members??{}).filter((([t,[s]])=>0!=(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:0!=(4&s)?"false"!==t&&(""===t||!!t):0!=(2&s)?Number.parseFloat(t):0!=(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;this._originalLifecycles={connectedCallback:s?void 0:t.connectedCallback,disconnectedCallback:s?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 e=this._connectedCallback.bind(this),i=this._disconnectedCallback.bind(this),o=this._update.bind(this),n=this._updated.bind(this);s?t.constructor.prototype.addController.call(t,{hostConnected:e,hostDisconnected:i,hostUpdate:o,hostUpdated:n}):(t.connectedCallback=e,t.disconnectedCallback=i,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=o,t.componentDidUpdate=n),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.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{y as h}from"./p-ef319dc8.js";import{u as a}from"./p-3e4680a8.js";import{m as r}from"./p-3e0365dc.js";import"./p-aa61482c.js";const o=r(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.manager=a(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.currentSeason=this.viewModel.currentSeason,this.dayPlaying=this.viewModel.dayPlaying,this.yearPlaying=this.viewModel.yearPlaying,this.dateOrSeason=this.widget.dateOrSeason,this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.timeSliderSteps=this.widget.timeSliderSteps,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimezone=this.widget.visibleElements.timezone,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.position="bottom-left"}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="";export{c as arcgis_daylight}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{r as s,c as i,g as t}from"./p-
|
|
6
|
+
import{r as s,c as i,g as t}from"./p-e0da3a49.js";import{af as h}from"./p-ef319dc8.js";import{m as a}from"./p-3e0365dc.js";import{u as r}from"./p-7085683b.js";import{u as e}from"./p-3e4680a8.js";import"./p-aa61482c.js";const c=a(h),o=class{constructor(t){s(this,t),this.arcgisReady=i(this,"arcgisReady",7),this.arcgisPropertyChange=i(this,"arcgisPropertyChange",7),this.widgetAnimate=i(this,"arcgisAnimate",7),this.widgetNext=i(this,"arcgisNext",7),this.widgetPause=i(this,"arcgisPause",7),this.widgetPlay=i(this,"arcgisPlay",7),this.widgetPrevious=i(this,"arcgisPrevious",7),this.manager=e(this),this.widget=c(this),this.arcgisPropertyChange=r()("values"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.position="bottom-left",this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.values=this.widget.values}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}get el(){return t(this)}};o.style="arcgis-value-picker{}";export{o as arcgis_value_picker}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{_ as a}from"./p-ef319dc8.js";import{u as h}from"./p-3e4680a8.js";import{m as r}from"./p-3e0365dc.js";import"./p-aa61482c.js";const o=r(a),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.manager=h(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.barStyle=this.widget.style,this.unit=this.widget.unit,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left"}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="arcgis-scale-bar{}";export{c as arcgis_scale_bar}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{V as a}from"./p-ef319dc8.js";import{u as h}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const c=o(a),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=h()("analysis","state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.analysis=this.widget.analysis,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}get el(){return i(this)}};e.style="arcgis-line-of-sight{}";export{e as arcgis_line_of_sight}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{$ as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as e}from"./p-3e0365dc.js";import"./p-aa61482c.js";const o=e(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=o(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.region=this.widget.region,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="arcgis-scale-range-slider{}";export{c as arcgis_scale_range_slider}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{M as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as e}from"./p-3e0365dc.js";import"./p-aa61482c.js";const o=e(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetSelect=t(this,"arcgisSelect",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.position="bottom-left",this.icon=this.widget.icon,this.label=this.widget.label,this.headingLevel=this.widget.headingLevel,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.layers=this.widget.layers,this.selectionMode=this.widget.selectionMode,this.hideFilter=this.widget.visibleElements.filter,this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};p.style="";export{p as arcgis_feature_templates}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{r as i,c as t,h as s,g as h}from"./p-
|
|
6
|
+
import{r as i,c as t,h as s,g as h}from"./p-e0da3a49.js";import{l as e}from"./p-7085683b.js";import{u as r,a,m as o}from"./p-3e4680a8.js";import{i as n,a0 as c,a1 as g}from"./p-ef319dc8.js";import{c as w,p as d,e as p,i as v}from"./p-aa61482c.js";const y=o(c),V=o(g),l=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this.manager=r(this),this.reactiveUtils=e(n),this._map=y(this,{editConstructorProperties:this._editMapProperties}),this._setChildElement=i=>{this.el.childElem=i},this.autoDestroyDisabled=!1,this.view=this.manager.readonly(V(this,{editConstructorProperties:this._editViewProperties})),this.map=this.view.map,this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.basemapView=this.view.basemapView,this.basemap=this._map.basemap,this.camera=this.manager.getSet(void 0,{get:()=>this.view.camera,set:(i,t)=>w(t,i)?i:t}),this.center=this.manager.getSet(void 0,{get:i=>this.view.center??i,set:i=>{const t=d(i,this.ready?this.view:void 0);return this.ready?(this.view.center=t,this.view.center):t}}),this.clippingArea=this.manager.getSet(this.view.clippingArea,{set:(i,t)=>t?.equals(i)?t:i}),this.constraints=this.view.constraints,this.environment=this.manager.getSet(this.view.environment,{set:(i,t)=>p(t,i)?i:t}),this.extent=this.manager.getSet(void 0,{get:i=>this.view.extent??i,set:(i,t)=>this.view.ready?(i&&!t?.equals(i)&&(this.view.extent=i),this.view.extent):i}),this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.gamepad=this.manager.getSet(void 0,{get:()=>this.ready?this.view.input.gamepad:void 0,set:"ignore"}),this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlightOptions=this.view.highlightOptions,this.interacting=this.manager.getSet(!1,{get:()=>this.view.interacting,set:"ignore"}),this.itemId=this.manager.getSet(void 0,{get:i=>this._map.portalItem?.id??i,set:i=>(this.ready&&a.reCreate(this._map,this).then((()=>{this.view.map=this._map})).catch(console.error),i)}),this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.navigating=this.manager.getSet(!1,{get:()=>this.view.navigating,set:"ignore"}),this.navigation=this.view.navigation,this.padding=this.view.padding,this.performanceInfo=this.manager.getSet(void 0,{get:()=>this.view.performanceInfo,set:"ignore"}),this.popup=this.view.popup,this.popupEnabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.resolution=this.manager.getSet(void 0,{get:()=>this.view.resolution,set:"ignore"}),this.scale=this.manager.getSet(void 0,{get:i=>this.view.scale??i,set:i=>(this.ready&&(this.view.scale=i),i)}),this.spatialReference=this.manager.getSet(this.view.spatialReference,{set:(i,t)=>t?.equals(i)?t:i}),this.stationary=this.manager.getSet(!0,{get:()=>this.view.stationary,set:"ignore"}),this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.toMap=this.manager.readonly(((...i)=>this.view.toMap(...i))),this.toScreen=this.manager.readonly(((...i)=>this.view.toScreen(...i))),this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.viewpoint=this.manager.getSet(void 0,{get:()=>this.view.viewpoint,set:(i,t)=>v(t,i)?i:t}),this.zoom=this.manager.getSet(void 0,{get:i=>this.view.zoom??i,set:i=>(this.ready&&(this.view.zoom=i),i)})}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}async whenLayerView(i){return await(this.view?.whenLayerView(i))}componentDidLoad(){var i;(i=this.view).container??(i.container=this.el.childElem);const{watch:t}=this.reactiveUtils;this.manager.onLifecycle((()=>[t((()=>this.view.stationary),(i=>{if(this.arcgisViewChange.emit(),i){const i=this.view.zoom;i&&this.el.setAttribute("zoom",Math.round(i).toString())}}),{initial:!0}),t((()=>this.view.ready),(()=>this.arcgisViewReadyChange.emit()),{initial:this.view.ready})])),a.reEmitAccessorEvents(this.manager,this.view,this.reactiveUtils,"arcgisView")}render(){return s("div",{class:"arcgis-scene",ref:this._setChildElement})}_editMapProperties(i){return this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap||(i.basemap="topo-vector"),this.ground||(i.ground="world-elevation"),i}_editViewProperties(i){this.view.ui||(i.ui={components:["attribution"]}),i.map??(i.map=this._map);const t=d(this.center,void 0);return t&&(i.center=t),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.scale&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.camera&&(i.camera=this.camera),void 0!==this.zoom&&(i.zoom=this.zoom),i}get el(){return h(this)}};l.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{l as arcgis_scene}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{E as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),m=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};m.style="";export{m as arcgis_distance_measurement_2d}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{r as e,c as s,h as i,F as t,g as o}from"./p-
|
|
6
|
+
import{r as e,c as s,h as i,F as t,g as o}from"./p-e0da3a49.js";import{l as r}from"./p-7085683b.js";import{u as a}from"./p-3e4680a8.js";import{i as n,ag as c}from"./p-ef319dc8.js";import{u as l,m as h}from"./p-be8e03f4.js";import"./p-aa61482c.js";const m=h(c),g=class{constructor(i){e(this,i),this.arcgisReady=s(this,"arcgisReady",7),this.manager=a(this),this.reactiveUtils=r(n),this.viewModel=m(this),this.allowEditing=!0,this.autoDestroyDisabled=!1,this.closable=!1,this.icon=void 0,this.label=void 0,this.mode=void 0,this.pageSize=5,this.position="top-right",this.referenceElement=void 0,this.messages=this.manager.readonly(l({blocking:!0})),this.state=this.viewModel.state,this.view=this.viewModel.view}async componentWillLoad(){const{watch:e}=this.reactiveUtils;this.manager.onLifecycle((()=>[e((()=>this.viewModel.state),(e=>{const{flowElement:s}=this,i=s?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=s?.getElementsByTagName("arcgis-version-management-version-list")[0];if("disabled"===e)return i&&this._removeVersionPropertiesFlowItem(s),void(t&&this._removeVersionListFlowItem(s));t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:e}),i&&(i.versionPropertiesElementProps={...i.versionPropertiesElementProps,state:e})}))]))}async destroy(){await this.manager.destroy()}render(){const{allowEditing:e,closable:s,flowElement:o,label:r,messages:a,pageSize:n,viewModel:c,viewModel:{loadError:l,state:h}}=this,m=Array.from(c.serviceNameLookup,(([e,s])=>({url:e,name:s}))),g="disabled"!==h?i(t,null,m.map((t=>{c.versionIdentifierLookup.get(t.url)||c.versionIdentifierLookup.set(t.url,c.versionManagementServiceLookup.get(t.url).defaultVersionIdentifier);const l=c.versionIdentifierLookup.get(t.url),m={allowEditing:e,closable:s,currentUser:c.userLookup.get(t.url),currentVersionIdentifier:l,executionError:void 0,flowElement:o,hasAdvEditingUte:c.advancedEditingUserTypeExtensionLookup.get(t.url),heading:r,isVersioningApiAvailable:(c.serverVersionLookup.get(t.url)??0)>=11.2,pageSize:n,serviceName:t.name,state:h,serviceUrl:t.url,strings:a,versionInfos:c.versionInfoLookup.get(t.url)};return i("arcgis-version-management-service-item",{serviceItemElementProps:m,onArcgisChangeVersion:async e=>{const{serviceUrl:s,versionInfo:i}=e.detail;await c.changeVersion(s,i.versionIdentifier.name,i.versionIdentifier.guid),await this._refreshVersionList(s)},onArcgisGetVersions:async e=>{await this._refreshVersionList(e.detail.serviceUrl)},onArcgisFlowItemBack:()=>{this._removeVersionListFlowItem(o)},onArcgisFlowItemClose:()=>{this._handleFlowItemClose()},onArcgisManageVersion:e=>{this._handleManageVersionAction(e,o)},onArcgisNewVersion:e=>{const s=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);o?.appendChild(s)}})}))):void 0,d="disabled"===h?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer",width:"full"},i("div",{slot:"message"},this._getLoadError(l))):void 0;return i("calcite-flow",{ref:e=>{this.flowElement=e},class:"dialog"===this.mode?"":"calcite-flow-widget"},i("calcite-flow-item",{closable:this.closable,heading:r,onCalciteFlowItemClose:()=>{this._handleFlowItemClose()}},i("calcite-panel",{loading:"loading"===h||"executing"===h},g,d)))}_createVersionPropertiesFlowItem(e,s){const{closable:i,flowElement:t,viewModel:o,viewModel:{state:r}}=this,a=document.createElement("arcgis-version-management-version-properties");return a.versionPropertiesElementProps={closable:i,currentUser:o.userLookup.get(e),hasAdvEditingUte:o.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:r,strings:this.messages,versionInfo:s},a.addEventListener("arcgisCreateVersion",(s=>{const{createVersionParameters:i,switchToVersion:r}=s.detail;o.createVersion(i).then((async s=>{r&&await this.viewModel.changeVersion(e,s.versionIdentifier.name,s.versionIdentifier.guid),await this._refreshVersionList(e)})).finally((()=>{this._removeVersionPropertiesFlowItem(t)}))})),a.addEventListener("arcgisAlterVersion",(async s=>{const{flowElement:i}=this,{alterVersionParameters:t}=s.detail;await o.alterVersion(t),await this._refreshVersionList(e),this._removeVersionPropertiesFlowItem(i)})),a.addEventListener("arcgisFlowItemBack",(()=>{this._removeVersionPropertiesFlowItem(this.flowElement)})),a.addEventListener("calciteFlowItemBack",(e=>{e.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement)})),a.addEventListener("calciteFlowItemClose",(()=>{this._handleFlowItemClose()})),a}_getLoadError(e){const{messages:s}=this;switch(e){case"no-feature-services":return s.loadErrors.noFeatureServices;case"no-view-property":return s.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){const e=document.querySelector("arcgis-version-management"),s=e.parentElement;s?.removeChild(e)}async _handleManageVersionAction(e,s){const{actionType:i,serviceUrl:t,versionInfo:o}=e.detail;switch(i){case"deleteVersion":await this.viewModel.deleteVersion(t,o.versionIdentifier.name,o.versionIdentifier.guid);break;case"editVersion":{const e=this._createVersionPropertiesFlowItem(t,o);s.appendChild(e);break}}await this._refreshVersionList(t)}async _refreshVersionList(e){const{flowElement:s}=this;if(s){const i=await this.viewModel.getVersionInfos(e),t=s.getElementsByTagName("arcgis-version-management-service-item");for(const s of t)s.serviceItemElementProps.serviceUrl===e&&(s.serviceItemElementProps={...s.serviceItemElementProps,versionInfos:[]});const o=s.getElementsByTagName("arcgis-version-management-version-list")[0],r=this.viewModel.versionIdentifierLookup.get(e);o&&(o.versionListElementProps={...o.versionListElementProps,currentVersionIdentifier:r,versionInfos:i})}}_removeVersionListFlowItem(e){for(const s of e.childNodes)"ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"===s.nodeName.toUpperCase()&&e.removeChild(s),"CALCITE-FLOW-ITEM"===s.nodeName.toUpperCase()&&(s.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(const s of e.childNodes)"ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"===s.nodeName.toUpperCase()&&e.removeChild(s),"ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"===s.nodeName.toUpperCase()&&(s.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}static get assetsDirs(){return["assets"]}get el(){return o(this)}};g.style=".calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}";export{g as arcgis_version_management}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{w as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),p=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("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)}};p.style="";export{p as arcgis_compass}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{a8 as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const p=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.leadingLayers=this.widget.leadingLayers,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.position="manual",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};e.style="arcgis-swipe{}";export{e as arcgis_swipe}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{P as h}from"./p-ef319dc8.js";import{m as a}from"./p-3e0365dc.js";import{u as r}from"./p-7085683b.js";import{u as o}from"./p-3e4680a8.js";import"./p-aa61482c.js";const m=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=m(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=r()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.icon=this.widget.icon,this.label=this.widget.label,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};e.style="arcgis-histogram{}";export{e as arcgis_histogram}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{u as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.widgetBookmarkEdit=t(this,"arcgisEdit",7),this.widgetBookmarkSelect=t(this,"arcgisSelect",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="";export{c as arcgis_bookmarks}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
5
5
|
*/
|
|
6
|
-
import{b as n}from"./p-
|
|
6
|
+
import{b as n}from"./p-3e4680a8.js";import{s as t,g as a}from"./p-ef319dc8.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 l=a(n.el);return{_lang:l.lang,_t9nLocale:l.t9nLocale}})),r=()=>l,o="arcgisPropertyChange",l=(...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}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{H as h}from"./p-ef319dc8.js";import{u as a}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const r=o(h),e=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.manager=a(this),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.content=this.widget.content,this.label=this.widget.label,this.autoCollapse=this.widget.autoCollapse,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.expanded=this.widget.expanded,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.group=this.widget.group,this.iconNumber=this.widget.iconNumber,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.referenceElement=void 0,this.content??(this.content=document.createElement("div"))}async destroy(){await this.manager.destroy()}async collapse(){this.widget?.collapse()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}get el(){return i(this)}};e.style="arcgis-expand{pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}";export{e as arcgis_expand}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";const r=class{constructor(t){e(this,t),this.arcgisChangeVersion=i(this,"arcgisChangeVersion",7),this.arcgisFlowItemBack=i(this,"arcgisFlowItemBack",7),this.arcgisFlowItemClose=i(this,"arcgisFlowItemClose",7),this.arcgisGetVersions=i(this,"arcgisGetVersions",7),this.arcgisManageVersion=i(this,"arcgisManageVersion",7),this.arcgisNewVersion=i(this,"arcgisNewVersion",7),this._versionListEventListeners=new Map,this._arcgisChangeVersion=e=>{this.arcgisChangeVersion.emit(e.detail)},this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this.serviceItemElementProps=void 0}disconnectedCallback(){this._versionList&&this._removeVersionListEventListeners(this._versionList)}render(){const{serviceItemElementProps:{allowEditing:e,closable:i,currentUser:s,executionError:r,currentVersionIdentifier:a,flowElement:n,hasAdvEditingUte:c,heading:o,isVersioningApiAvailable:l,pageSize:h,serviceName:d,serviceUrl:g,state:m,strings:p,versionInfos:v}}=this;let{_versionList:u}=this;const b=t("calcite-combobox",{clearDisabled:!0,label:d,maxItems:5,overlayPositioning:"fixed",selectionMode:"single-persist",onCalciteComboboxChange:e=>{e.stopPropagation();const i=e.target,t=v.find((e=>e.versionIdentifier.guid===i.value));this.arcgisChangeVersion.emit({serviceUrl:g,versionInfo:t})}},v?v.map((e=>t("calcite-combobox-item",{selected:a.guid===e.versionIdentifier.guid&&a.name===e.versionIdentifier.name,textLabel:e.versionIdentifier.name,value:e.versionIdentifier.guid}))):void 0);let V,I;return e&&(V=t("calcite-action",{id:`actionManageVersions_${d}`,icon:"list",scale:"s",slot:"control",text:"",onClick:async()=>{u=document.createElement("arcgis-version-management-version-list"),u.versionListElementProps={closable:i,currentUser:s,currentVersionIdentifier:a,executionError:r,hasAdvEditingUte:c,heading:o,isVersioningApiAvailable:l,pageSize:h,serviceName:d,serviceUrl:g,state:m,strings:p,versionInfos:v},u.addEventListener("calciteFlowItemBack",(e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()})),u.addEventListener("calciteFlowItemClose",(()=>{this.arcgisFlowItemClose.emit()})),this._addVersionListEventListeners(u),n.append(u)}}),I=t("calcite-tooltip",{overlayPositioning:"fixed",referenceElement:`actionManageVersions_${d}`},t("span",null,p.headers.manageVersions))),t("calcite-block",{open:!0,heading:d},b,V,I)}_addVersionListEventListeners(e){e.addEventListener("arcgisChangeVersion",this._arcgisChangeVersion),this._versionListEventListeners.set("arcgisChangeVersion",this._arcgisChangeVersion),e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(const[i,t]of this._versionListEventListeners)e.removeEventListener(i,t)}get el(){return s(this)}},a=class{constructor(t){e(this,t),this.arcgisAlterVersion=i(this,"arcgisAlterVersion",7),this.arcgisCreateVersion=i(this,"arcgisCreateVersion",7),this.arcgisFlowItemBack=i(this,"arcgisFlowItemBack",7),this.arcgisFlowItemClose=i(this,"arcgisFlowItemClose",7),this._switchToVersion=!0,this._handleCancel=()=>{this.arcgisFlowItemBack.emit()},this._handleChange=e=>{const{_mode:i,_ownerName:t,_versionName:s,versionPropertiesElementProps:{currentUser:r,serviceUrl:a,versionInfo:n}}=this;let{_alterVersionParameters:c,_createVersionParameters:o}=this;switch("create"===i&&(o||(o={access:"public",description:"",featureServerUrl:a,ownerName:r.toUpperCase(),versionName:""})),"edit"===i&&(c||(c={featureServerUrl:a,versionIdentifier:n.versionIdentifier,ownerName:t,versionName:s,access:n.access,description:n.description})),e.type){case"calciteChipGroupSelect":{const t=e.target.label,s=e.target.selectedItems[0].value;"create"===i&&(o={...o,[t]:s}),"edit"===i&&(c={...c,[t]:s});break}case"calciteInputTextInput":{const t=e.target.name,s=e.target.value;"create"===i&&(o={...o,[t]:s}),"edit"===i&&(c={...c,[t]:s});break}case"calciteTextAreaInput":{const t=e.target.name,s=e.target.value;"create"===i&&(o={...o,[t]:s}),"edit"===i&&(c={...c,[t]:s});break}}"create"===i&&(this._createVersionParameters=o),"edit"===i&&(this._alterVersionParameters=c)},this._handleClose=()=>{this.arcgisFlowItemClose.emit()},this._handleSave=()=>{const{_alterVersionParameters:e,_createVersionParameters:i,_mode:t,_switchToVersion:s}=this;"create"===t&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:s}),"edit"===t&&this.arcgisAlterVersion.emit({alterVersionParameters:e})},this._handleSwitchToVersionChange=e=>{this._switchToVersion=e.target.checked},this.versionPropertiesElementProps=void 0}async componentWillLoad(){const{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")).toUpperCase(),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}componentDidRender(){"create"===this._mode&&this.versionNameInputElement?.setFocus()}render(){const{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:s,state:r,strings:a,versionInfo:n},_mode:c,_ownerName:o,_versionName:l}=this,h=t("div",null,t("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:this._handleCancel},a.actions.cancelSave),t("calcite-button",{slot:"footer",width:"half",onClick:this._handleSave},a.actions.saveVersion)),d=t("calcite-label",null,a.input.versionAccess,t("calcite-chip-group",{label:"access",onCalciteChipGroupSelect:this._handleChange,selectionMode:"single-persist"},t("calcite-chip",{selected:"edit"===c&&"public"===n.access||"create"===c,value:"public"},a.accessLevels.public),t("calcite-chip",{selected:"edit"===c&&"protected"===n.access,value:"protected"},a.accessLevels.protected),t("calcite-chip",{selected:"edit"===c&&"private"===n.access,value:"private"},a.accessLevels.private))),g=t("calcite-label",null,a.input.versionDescription,t("calcite-text-area",{name:"description",onCalciteTextAreaInput:this._handleChange,resize:"vertical",value:"edit"===c?n.description:""})),m=t("calcite-label",null,a.input.versionName,t("calcite-input-text",{ref:e=>{this.versionNameInputElement=e},name:"versionName",onCalciteInputTextInput:this._handleChange,maxLength:62,value:"edit"===c?l:""})),p=t("calcite-label",null,a.input.versionOwner,t("calcite-input-text",{name:"ownerName",onCalciteInputTextInput:this._handleChange,disabled:!s,value:"edit"===c?o:i.toUpperCase()})),v="create"===c?t("calcite-label",{layout:"inline"},t("calcite-checkbox",{checked:!0,name:"switchToVersion",onCalciteCheckboxChange:this._handleSwitchToVersionChange}),a.actions.switchToVersion):void 0;return t("calcite-flow-item",{closable:e,description:n?n.versionIdentifier.name:"",heading:n?a.actions.editVersion:a.actions.newVersion,onCalciteFlowItemClose:this._handleClose},t("calcite-panel",{loading:"executing"===r},t("calcite-block",{heading:"",open:!0},m,g,d,p,v,h)))}get el(){return s(this)}};export{r as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{W as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as c}from"./p-3e0365dc.js";import"./p-aa61482c.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.0-next.
|
|
4
|
+
* v4.30.0-next.78
|
|
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-e0da3a49.js";import{a9 as h}from"./p-ef319dc8.js";import{u as a}from"./p-7085683b.js";import{u as r}from"./p-3e4680a8.js";import{m as o}from"./p-3e0365dc.js";import"./p-aa61482c.js";const e=o(h),c=class{constructor(i){s(this,i),this.arcgisReady=t(this,"arcgisReady",7),this.arcgisPropertyChange=t(this,"arcgisPropertyChange",7),this.widgetTriggerAction=t(this,"arcgisTriggerAction",7),this.manager=r(this),this.widget=e(this),this.viewModel=this.widget.viewModel,this.arcgisPropertyChange=a()("state"),this.autoDestroyDisabled=!1,this.referenceElement=void 0,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.position="bottom-left",this.state=this.viewModel.state}async destroy(){await this.manager.destroy()}get el(){return i(this)}};c.style="arcgis-table-list{}";export{c as arcgis_table_list}
|