@honua/app-platform 0.0.20-alpha.0
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/LICENSE +201 -0
- package/README.md +11 -0
- package/app/index.d.ts +164 -0
- package/app/index.d.ts.map +1 -0
- package/app/index.js +424 -0
- package/app-controller/controller.d.ts +425 -0
- package/app-controller/controller.d.ts.map +1 -0
- package/app-controller/controller.js +1173 -0
- package/app-controller/index.d.ts +14 -0
- package/app-controller/index.d.ts.map +1 -0
- package/app-controller/index.js +12 -0
- package/app-workspace/index.d.ts +421 -0
- package/app-workspace/index.d.ts.map +1 -0
- package/app-workspace/index.js +722 -0
- package/collaboration/client.d.ts +40 -0
- package/collaboration/client.d.ts.map +1 -0
- package/collaboration/client.js +299 -0
- package/collaboration/errors.d.ts +15 -0
- package/collaboration/errors.d.ts.map +1 -0
- package/collaboration/errors.js +17 -0
- package/collaboration/fixture.d.ts +41 -0
- package/collaboration/fixture.d.ts.map +1 -0
- package/collaboration/fixture.js +362 -0
- package/collaboration/index.d.ts +18 -0
- package/collaboration/index.d.ts.map +1 -0
- package/collaboration/index.js +14 -0
- package/collaboration/types.d.ts +240 -0
- package/collaboration/types.d.ts.map +1 -0
- package/collaboration/types.js +1 -0
- package/contract/analytics-sources.d.ts +149 -0
- package/contract/analytics-sources.d.ts.map +1 -0
- package/contract/analytics-sources.js +235 -0
- package/contract/edit-session.d.ts +203 -0
- package/contract/edit-session.d.ts.map +1 -0
- package/contract/edit-session.js +760 -0
- package/contract/edit-sketch.d.ts +91 -0
- package/contract/edit-sketch.d.ts.map +1 -0
- package/contract/edit-sketch.js +281 -0
- package/contract/index.d.ts +63 -0
- package/contract/index.d.ts.map +1 -0
- package/contract/index.js +52 -0
- package/contract/jobs.d.ts +149 -0
- package/contract/jobs.d.ts.map +1 -0
- package/contract/jobs.js +40 -0
- package/contract/pmtiles.d.ts +162 -0
- package/contract/pmtiles.d.ts.map +1 -0
- package/contract/pmtiles.js +155 -0
- package/contract/source.d.ts +447 -0
- package/contract/source.d.ts.map +1 -0
- package/contract/source.js +3909 -0
- package/contract/spatial-aggregation.d.ts +336 -0
- package/contract/spatial-aggregation.d.ts.map +1 -0
- package/contract/spatial-aggregation.js +298 -0
- package/contract/temporal.d.ts +455 -0
- package/contract/temporal.d.ts.map +1 -0
- package/contract/temporal.js +146 -0
- package/contract/tiles.d.ts +370 -0
- package/contract/tiles.d.ts.map +1 -0
- package/contract/tiles.js +519 -0
- package/contract/types.d.ts +694 -0
- package/contract/types.d.ts.map +1 -0
- package/contract/types.js +183 -0
- package/contract/widget-source.d.ts +205 -0
- package/contract/widget-source.d.ts.map +1 -0
- package/contract/widget-source.js +1473 -0
- package/control-plane/client.d.ts +95 -0
- package/control-plane/client.d.ts.map +1 -0
- package/control-plane/client.js +374 -0
- package/control-plane/index.d.ts +18 -0
- package/control-plane/index.d.ts.map +1 -0
- package/control-plane/index.js +14 -0
- package/control-plane/types.d.ts +233 -0
- package/control-plane/types.d.ts.map +1 -0
- package/control-plane/types.js +7 -0
- package/controls/basemap-style-binding.d.ts +54 -0
- package/controls/basemap-style-binding.d.ts.map +1 -0
- package/controls/basemap-style-binding.js +199 -0
- package/controls/basemap-switcher.d.ts +95 -0
- package/controls/basemap-switcher.d.ts.map +1 -0
- package/controls/basemap-switcher.js +379 -0
- package/controls/element-utils.d.ts +48 -0
- package/controls/element-utils.d.ts.map +1 -0
- package/controls/element-utils.js +78 -0
- package/controls/index.d.ts +33 -0
- package/controls/index.d.ts.map +1 -0
- package/controls/index.js +30 -0
- package/controls/layer-list.d.ts +98 -0
- package/controls/layer-list.d.ts.map +1 -0
- package/controls/layer-list.js +375 -0
- package/controls/legend-derive.d.ts +53 -0
- package/controls/legend-derive.d.ts.map +1 -0
- package/controls/legend-derive.js +196 -0
- package/controls/legend.d.ts +104 -0
- package/controls/legend.d.ts.map +1 -0
- package/controls/legend.js +381 -0
- package/controls/swipe-control.d.ts +80 -0
- package/controls/swipe-control.d.ts.map +1 -0
- package/controls/swipe-control.js +368 -0
- package/controls/types.d.ts +227 -0
- package/controls/types.d.ts.map +1 -0
- package/controls/types.js +11 -0
- package/core/auth/client-credentials-provider.d.ts +51 -0
- package/core/auth/client-credentials-provider.d.ts.map +1 -0
- package/core/auth/client-credentials-provider.js +115 -0
- package/core/auth/credential-store.d.ts +52 -0
- package/core/auth/credential-store.d.ts.map +1 -0
- package/core/auth/credential-store.js +82 -0
- package/core/auth/index.d.ts +23 -0
- package/core/auth/index.d.ts.map +1 -0
- package/core/auth/index.js +20 -0
- package/core/auth/oauth2-provider.d.ts +114 -0
- package/core/auth/oauth2-provider.d.ts.map +1 -0
- package/core/auth/oauth2-provider.js +408 -0
- package/core/auth/pkce.d.ts +25 -0
- package/core/auth/pkce.d.ts.map +1 -0
- package/core/auth/pkce.js +46 -0
- package/core/auth/static-providers.d.ts +20 -0
- package/core/auth/static-providers.d.ts.map +1 -0
- package/core/auth/static-providers.js +26 -0
- package/core/auth/token-endpoint.d.ts +40 -0
- package/core/auth/token-endpoint.d.ts.map +1 -0
- package/core/auth/token-endpoint.js +133 -0
- package/core/auth/types.d.ts +144 -0
- package/core/auth/types.d.ts.map +1 -0
- package/core/auth/types.js +8 -0
- package/core/batch.d.ts +37 -0
- package/core/batch.d.ts.map +1 -0
- package/core/batch.js +79 -0
- package/core/cache-state.d.ts +79 -0
- package/core/cache-state.d.ts.map +1 -0
- package/core/cache-state.js +87 -0
- package/core/client.d.ts +607 -0
- package/core/client.d.ts.map +1 -0
- package/core/client.js +1716 -0
- package/core/compatibility.d.ts +18 -0
- package/core/compatibility.d.ts.map +1 -0
- package/core/compatibility.js +245 -0
- package/core/errors.d.ts +139 -0
- package/core/errors.d.ts.map +1 -0
- package/core/errors.js +176 -0
- package/core/esri-geojson.d.ts +66 -0
- package/core/esri-geojson.d.ts.map +1 -0
- package/core/esri-geojson.js +363 -0
- package/core/geoparquet-sql.d.ts +162 -0
- package/core/geoparquet-sql.d.ts.map +1 -0
- package/core/geoparquet-sql.js +333 -0
- package/core/geoservices.d.ts +34 -0
- package/core/geoservices.d.ts.map +1 -0
- package/core/geoservices.js +434 -0
- package/core/grpc-adapter.d.ts +23 -0
- package/core/grpc-adapter.d.ts.map +1 -0
- package/core/grpc-adapter.js +688 -0
- package/core/odata.d.ts +347 -0
- package/core/odata.d.ts.map +1 -0
- package/core/odata.js +913 -0
- package/core/ogc-conformance.d.ts +35 -0
- package/core/ogc-conformance.d.ts.map +1 -0
- package/core/ogc-conformance.js +134 -0
- package/core/ogc-endpoint-layout.d.ts +70 -0
- package/core/ogc-endpoint-layout.d.ts.map +1 -0
- package/core/ogc-endpoint-layout.js +173 -0
- package/core/ogc-features.d.ts +23 -0
- package/core/ogc-features.d.ts.map +1 -0
- package/core/ogc-features.js +129 -0
- package/core/ogc-maps.d.ts +49 -0
- package/core/ogc-maps.d.ts.map +1 -0
- package/core/ogc-maps.js +126 -0
- package/core/ogc-processes.d.ts +118 -0
- package/core/ogc-processes.d.ts.map +1 -0
- package/core/ogc-processes.js +423 -0
- package/core/ogc-records.d.ts +75 -0
- package/core/ogc-records.d.ts.map +1 -0
- package/core/ogc-records.js +251 -0
- package/core/ogc-tiles.d.ts +125 -0
- package/core/ogc-tiles.d.ts.map +1 -0
- package/core/ogc-tiles.js +183 -0
- package/core/path-utils.d.ts +69 -0
- package/core/path-utils.d.ts.map +1 -0
- package/core/path-utils.js +123 -0
- package/core/pbf-decoder.d.ts +39 -0
- package/core/pbf-decoder.d.ts.map +1 -0
- package/core/pbf-decoder.js +702 -0
- package/core/process-runner.d.ts +104 -0
- package/core/process-runner.d.ts.map +1 -0
- package/core/process-runner.js +315 -0
- package/core/protocol-transport.d.ts +76 -0
- package/core/protocol-transport.d.ts.map +1 -0
- package/core/protocol-transport.js +15 -0
- package/core/query-builder.d.ts +261 -0
- package/core/query-builder.d.ts.map +1 -0
- package/core/query-builder.js +538 -0
- package/core/request-pipeline.d.ts +88 -0
- package/core/request-pipeline.d.ts.map +1 -0
- package/core/request-pipeline.js +273 -0
- package/core/spatial-filter.d.ts +93 -0
- package/core/spatial-filter.d.ts.map +1 -0
- package/core/spatial-filter.js +153 -0
- package/core/stac-static.d.ts +51 -0
- package/core/stac-static.d.ts.map +1 -0
- package/core/stac-static.js +195 -0
- package/core/stac.d.ts +67 -0
- package/core/stac.d.ts.map +1 -0
- package/core/stac.js +259 -0
- package/core/surfaces.d.ts +540 -0
- package/core/surfaces.d.ts.map +1 -0
- package/core/surfaces.js +1964 -0
- package/core/terrain-elevation.d.ts +114 -0
- package/core/terrain-elevation.d.ts.map +1 -0
- package/core/terrain-elevation.js +150 -0
- package/core/types.d.ts +1404 -0
- package/core/types.d.ts.map +1 -0
- package/core/types.js +13 -0
- package/core/wfs-capabilities.d.ts +153 -0
- package/core/wfs-capabilities.d.ts.map +1 -0
- package/core/wfs-capabilities.js +490 -0
- package/core/wfs-filter.d.ts +118 -0
- package/core/wfs-filter.d.ts.map +1 -0
- package/core/wfs-filter.js +634 -0
- package/core/wfs.d.ts +232 -0
- package/core/wfs.d.ts.map +1 -0
- package/core/wfs.js +426 -0
- package/core/wire-shared.d.ts +32 -0
- package/core/wire-shared.d.ts.map +1 -0
- package/core/wire-shared.js +76 -0
- package/core/wms-axis.d.ts +36 -0
- package/core/wms-axis.d.ts.map +1 -0
- package/core/wms-axis.js +73 -0
- package/core/wms-capabilities.d.ts +110 -0
- package/core/wms-capabilities.d.ts.map +1 -0
- package/core/wms-capabilities.js +559 -0
- package/core/wms-types.d.ts +128 -0
- package/core/wms-types.d.ts.map +1 -0
- package/core/wms-types.js +32 -0
- package/core/wms.d.ts +144 -0
- package/core/wms.d.ts.map +1 -0
- package/core/wms.js +338 -0
- package/core/wmts-capabilities.d.ts +82 -0
- package/core/wmts-capabilities.d.ts.map +1 -0
- package/core/wmts-capabilities.js +402 -0
- package/core/wmts.d.ts +103 -0
- package/core/wmts.d.ts.map +1 -0
- package/core/wmts.js +332 -0
- package/core/xml-text.d.ts +20 -0
- package/core/xml-text.d.ts.map +1 -0
- package/core/xml-text.js +85 -0
- package/esri-compat/basemap-gallery.d.ts +38 -0
- package/esri-compat/basemap-gallery.d.ts.map +1 -0
- package/esri-compat/basemap-gallery.js +159 -0
- package/esri-compat/basemap-layer-list.d.ts +35 -0
- package/esri-compat/basemap-layer-list.d.ts.map +1 -0
- package/esri-compat/basemap-layer-list.js +139 -0
- package/esri-compat/basemap.d.ts +32 -0
- package/esri-compat/basemap.d.ts.map +1 -0
- package/esri-compat/basemap.js +84 -0
- package/esri-compat/bookmarks.d.ts +36 -0
- package/esri-compat/bookmarks.d.ts.map +1 -0
- package/esri-compat/bookmarks.js +108 -0
- package/esri-compat/class-breaks-renderer.d.ts +50 -0
- package/esri-compat/class-breaks-renderer.d.ts.map +1 -0
- package/esri-compat/class-breaks-renderer.js +164 -0
- package/esri-compat/color.d.ts +22 -0
- package/esri-compat/color.d.ts.map +1 -0
- package/esri-compat/color.js +106 -0
- package/esri-compat/controls.d.ts +174 -0
- package/esri-compat/controls.d.ts.map +1 -0
- package/esri-compat/controls.js +479 -0
- package/esri-compat/coordinate-conversion.d.ts +41 -0
- package/esri-compat/coordinate-conversion.d.ts.map +1 -0
- package/esri-compat/coordinate-conversion.js +125 -0
- package/esri-compat/directions.d.ts +45 -0
- package/esri-compat/directions.d.ts.map +1 -0
- package/esri-compat/directions.js +123 -0
- package/esri-compat/editor.d.ts +47 -0
- package/esri-compat/editor.d.ts.map +1 -0
- package/esri-compat/editor.js +170 -0
- package/esri-compat/esri-config.d.ts +16 -0
- package/esri-compat/esri-config.d.ts.map +1 -0
- package/esri-compat/esri-config.js +23 -0
- package/esri-compat/esri-request.d.ts +17 -0
- package/esri-compat/esri-request.d.ts.map +1 -0
- package/esri-compat/esri-request.js +127 -0
- package/esri-compat/event-bus.d.ts +106 -0
- package/esri-compat/event-bus.d.ts.map +1 -0
- package/esri-compat/event-bus.js +90 -0
- package/esri-compat/expand.d.ts +36 -0
- package/esri-compat/expand.d.ts.map +1 -0
- package/esri-compat/expand.js +97 -0
- package/esri-compat/extent.d.ts +43 -0
- package/esri-compat/extent.d.ts.map +1 -0
- package/esri-compat/extent.js +140 -0
- package/esri-compat/feature-filter.d.ts +55 -0
- package/esri-compat/feature-filter.d.ts.map +1 -0
- package/esri-compat/feature-filter.js +109 -0
- package/esri-compat/feature-form.d.ts +64 -0
- package/esri-compat/feature-form.d.ts.map +1 -0
- package/esri-compat/feature-form.js +137 -0
- package/esri-compat/feature-layer.d.ts +173 -0
- package/esri-compat/feature-layer.d.ts.map +1 -0
- package/esri-compat/feature-layer.js +661 -0
- package/esri-compat/feature-set.d.ts +32 -0
- package/esri-compat/feature-set.d.ts.map +1 -0
- package/esri-compat/feature-set.js +80 -0
- package/esri-compat/feature-table.d.ts +141 -0
- package/esri-compat/feature-table.d.ts.map +1 -0
- package/esri-compat/feature-table.js +500 -0
- package/esri-compat/feature-templates.d.ts +41 -0
- package/esri-compat/feature-templates.d.ts.map +1 -0
- package/esri-compat/feature-templates.js +97 -0
- package/esri-compat/feature.d.ts +33 -0
- package/esri-compat/feature.d.ts.map +1 -0
- package/esri-compat/feature.js +83 -0
- package/esri-compat/geojson-layer.d.ts +86 -0
- package/esri-compat/geojson-layer.d.ts.map +1 -0
- package/esri-compat/geojson-layer.js +191 -0
- package/esri-compat/geometry-engine.d.ts +107 -0
- package/esri-compat/geometry-engine.d.ts.map +1 -0
- package/esri-compat/geometry-engine.js +266 -0
- package/esri-compat/graphic.d.ts +46 -0
- package/esri-compat/graphic.d.ts.map +1 -0
- package/esri-compat/graphic.js +103 -0
- package/esri-compat/graphics-layer.d.ts +49 -0
- package/esri-compat/graphics-layer.d.ts.map +1 -0
- package/esri-compat/graphics-layer.js +185 -0
- package/esri-compat/group-layer.d.ts +48 -0
- package/esri-compat/group-layer.d.ts.map +1 -0
- package/esri-compat/group-layer.js +212 -0
- package/esri-compat/identify.d.ts +71 -0
- package/esri-compat/identify.d.ts.map +1 -0
- package/esri-compat/identify.js +299 -0
- package/esri-compat/identity-manager.d.ts +74 -0
- package/esri-compat/identity-manager.d.ts.map +1 -0
- package/esri-compat/identity-manager.js +245 -0
- package/esri-compat/imagery-layer.d.ts +78 -0
- package/esri-compat/imagery-layer.d.ts.map +1 -0
- package/esri-compat/imagery-layer.js +167 -0
- package/esri-compat/label-class.d.ts +31 -0
- package/esri-compat/label-class.d.ts.map +1 -0
- package/esri-compat/label-class.js +102 -0
- package/esri-compat/layer-list.d.ts +77 -0
- package/esri-compat/layer-list.d.ts.map +1 -0
- package/esri-compat/layer-list.js +342 -0
- package/esri-compat/legend.d.ts +53 -0
- package/esri-compat/legend.d.ts.map +1 -0
- package/esri-compat/legend.js +254 -0
- package/esri-compat/map-image-layer.d.ts +162 -0
- package/esri-compat/map-image-layer.d.ts.map +1 -0
- package/esri-compat/map-image-layer.js +709 -0
- package/esri-compat/map-view.d.ts +323 -0
- package/esri-compat/map-view.d.ts.map +1 -0
- package/esri-compat/map-view.js +1175 -0
- package/esri-compat/map.d.ts +47 -0
- package/esri-compat/map.d.ts.map +1 -0
- package/esri-compat/map.js +209 -0
- package/esri-compat/measurement-2d.d.ts +61 -0
- package/esri-compat/measurement-2d.d.ts.map +1 -0
- package/esri-compat/measurement-2d.js +184 -0
- package/esri-compat/measurement.d.ts +45 -0
- package/esri-compat/measurement.d.ts.map +1 -0
- package/esri-compat/measurement.js +193 -0
- package/esri-compat/oauth-info.d.ts +50 -0
- package/esri-compat/oauth-info.d.ts.map +1 -0
- package/esri-compat/oauth-info.js +142 -0
- package/esri-compat/picture-marker-symbol.d.ts +35 -0
- package/esri-compat/picture-marker-symbol.d.ts.map +1 -0
- package/esri-compat/picture-marker-symbol.js +126 -0
- package/esri-compat/point.d.ts +31 -0
- package/esri-compat/point.d.ts.map +1 -0
- package/esri-compat/point.js +102 -0
- package/esri-compat/polygon.d.ts +31 -0
- package/esri-compat/polygon.d.ts.map +1 -0
- package/esri-compat/polygon.js +107 -0
- package/esri-compat/polyline.d.ts +31 -0
- package/esri-compat/polyline.d.ts.map +1 -0
- package/esri-compat/polyline.js +107 -0
- package/esri-compat/popup-template.d.ts +55 -0
- package/esri-compat/popup-template.d.ts.map +1 -0
- package/esri-compat/popup-template.js +128 -0
- package/esri-compat/popup.d.ts +54 -0
- package/esri-compat/popup.d.ts.map +1 -0
- package/esri-compat/popup.js +312 -0
- package/esri-compat/print.d.ts +47 -0
- package/esri-compat/print.d.ts.map +1 -0
- package/esri-compat/print.js +105 -0
- package/esri-compat/query.d.ts +58 -0
- package/esri-compat/query.d.ts.map +1 -0
- package/esri-compat/query.js +128 -0
- package/esri-compat/reactive-utils.d.ts +24 -0
- package/esri-compat/reactive-utils.d.ts.map +1 -0
- package/esri-compat/reactive-utils.js +193 -0
- package/esri-compat/request.d.ts +41 -0
- package/esri-compat/request.d.ts.map +1 -0
- package/esri-compat/request.js +253 -0
- package/esri-compat/route-layer.d.ts +59 -0
- package/esri-compat/route-layer.d.ts.map +1 -0
- package/esri-compat/route-layer.js +223 -0
- package/esri-compat/route-task.d.ts +88 -0
- package/esri-compat/route-task.d.ts.map +1 -0
- package/esri-compat/route-task.js +225 -0
- package/esri-compat/scene-view.d.ts +41 -0
- package/esri-compat/scene-view.d.ts.map +1 -0
- package/esri-compat/scene-view.js +68 -0
- package/esri-compat/search.d.ts +112 -0
- package/esri-compat/search.d.ts.map +1 -0
- package/esri-compat/search.js +820 -0
- package/esri-compat/simple-fill-symbol.d.ts +27 -0
- package/esri-compat/simple-fill-symbol.d.ts.map +1 -0
- package/esri-compat/simple-fill-symbol.js +85 -0
- package/esri-compat/simple-line-symbol.d.ts +27 -0
- package/esri-compat/simple-line-symbol.d.ts.map +1 -0
- package/esri-compat/simple-line-symbol.js +85 -0
- package/esri-compat/simple-marker-symbol.d.ts +29 -0
- package/esri-compat/simple-marker-symbol.d.ts.map +1 -0
- package/esri-compat/simple-marker-symbol.js +92 -0
- package/esri-compat/simple-renderer.d.ts +29 -0
- package/esri-compat/simple-renderer.d.ts.map +1 -0
- package/esri-compat/simple-renderer.js +92 -0
- package/esri-compat/sketch.d.ts +64 -0
- package/esri-compat/sketch.d.ts.map +1 -0
- package/esri-compat/sketch.js +227 -0
- package/esri-compat/spatial-reference.d.ts +31 -0
- package/esri-compat/spatial-reference.d.ts.map +1 -0
- package/esri-compat/spatial-reference.js +102 -0
- package/esri-compat/swipe.d.ts +34 -0
- package/esri-compat/swipe.d.ts.map +1 -0
- package/esri-compat/swipe.js +93 -0
- package/esri-compat/table-list.d.ts +36 -0
- package/esri-compat/table-list.d.ts.map +1 -0
- package/esri-compat/table-list.js +126 -0
- package/esri-compat/text-symbol.d.ts +37 -0
- package/esri-compat/text-symbol.d.ts.map +1 -0
- package/esri-compat/text-symbol.js +123 -0
- package/esri-compat/tile-layer.d.ts +52 -0
- package/esri-compat/tile-layer.d.ts.map +1 -0
- package/esri-compat/tile-layer.js +168 -0
- package/esri-compat/time-slider.d.ts +70 -0
- package/esri-compat/time-slider.d.ts.map +1 -0
- package/esri-compat/time-slider.js +208 -0
- package/esri-compat/track.d.ts +51 -0
- package/esri-compat/track.d.ts.map +1 -0
- package/esri-compat/track.js +174 -0
- package/esri-compat/unique-value-renderer.d.ts +41 -0
- package/esri-compat/unique-value-renderer.d.ts.map +1 -0
- package/esri-compat/unique-value-renderer.js +127 -0
- package/esri-compat/url.d.ts +13 -0
- package/esri-compat/url.d.ts.map +1 -0
- package/esri-compat/url.js +68 -0
- package/esri-compat/vector-tile-layer.d.ts +47 -0
- package/esri-compat/vector-tile-layer.d.ts.map +1 -0
- package/esri-compat/vector-tile-layer.js +130 -0
- package/esri-compat/web-map.d.ts +14 -0
- package/esri-compat/web-map.d.ts.map +1 -0
- package/esri-compat/web-map.js +24 -0
- package/esri-compat/wfs-layer.d.ts +64 -0
- package/esri-compat/wfs-layer.d.ts.map +1 -0
- package/esri-compat/wfs-layer.js +145 -0
- package/esri-compat/wms-layer.d.ts +76 -0
- package/esri-compat/wms-layer.d.ts.map +1 -0
- package/esri-compat/wms-layer.js +157 -0
- package/exploration/context.d.ts +25 -0
- package/exploration/context.d.ts.map +1 -0
- package/exploration/context.js +396 -0
- package/exploration/index.d.ts +27 -0
- package/exploration/index.d.ts.map +1 -0
- package/exploration/index.js +24 -0
- package/exploration/presets.d.ts +27 -0
- package/exploration/presets.d.ts.map +1 -0
- package/exploration/presets.js +114 -0
- package/exploration/reducer.d.ts +23 -0
- package/exploration/reducer.d.ts.map +1 -0
- package/exploration/reducer.js +332 -0
- package/exploration/selection.d.ts +25 -0
- package/exploration/selection.d.ts.map +1 -0
- package/exploration/selection.js +34 -0
- package/exploration/selectors.d.ts +56 -0
- package/exploration/selectors.d.ts.map +1 -0
- package/exploration/selectors.js +110 -0
- package/exploration/types.d.ts +294 -0
- package/exploration/types.d.ts.map +1 -0
- package/exploration/types.js +33 -0
- package/expr/expression.d.ts +457 -0
- package/expr/expression.d.ts.map +1 -0
- package/expr/expression.js +663 -0
- package/expr/index.d.ts +32 -0
- package/expr/index.d.ts.map +1 -0
- package/expr/index.js +30 -0
- package/filter-registry/index.d.ts +145 -0
- package/filter-registry/index.d.ts.map +1 -0
- package/filter-registry/index.js +531 -0
- package/gen/honua/v1/feature_service_pb.d.ts +918 -0
- package/gen/honua/v1/feature_service_pb.d.ts.map +1 -0
- package/gen/honua/v1/feature_service_pb.js +375 -0
- package/generated-app/errors.d.ts +41 -0
- package/generated-app/errors.d.ts.map +1 -0
- package/generated-app/errors.js +41 -0
- package/generated-app/index.d.ts +17 -0
- package/generated-app/index.d.ts.map +1 -0
- package/generated-app/index.js +12 -0
- package/generated-app/manifest.d.ts +183 -0
- package/generated-app/manifest.d.ts.map +1 -0
- package/generated-app/manifest.js +14 -0
- package/generated-app/projection.d.ts +44 -0
- package/generated-app/projection.d.ts.map +1 -0
- package/generated-app/projection.js +234 -0
- package/generated-app/runtime.d.ts +215 -0
- package/generated-app/runtime.d.ts.map +1 -0
- package/generated-app/runtime.js +1196 -0
- package/geocoding/index.d.ts +106 -0
- package/geocoding/index.d.ts.map +1 -0
- package/geocoding/index.js +278 -0
- package/interactions/detail-model.d.ts +54 -0
- package/interactions/detail-model.d.ts.map +1 -0
- package/interactions/detail-model.js +105 -0
- package/interactions/exploration-bindings.d.ts +120 -0
- package/interactions/exploration-bindings.d.ts.map +1 -0
- package/interactions/exploration-bindings.js +218 -0
- package/interactions/feature-state.d.ts +144 -0
- package/interactions/feature-state.d.ts.map +1 -0
- package/interactions/feature-state.js +169 -0
- package/interactions/hit-test.d.ts +112 -0
- package/interactions/hit-test.d.ts.map +1 -0
- package/interactions/hit-test.js +291 -0
- package/interactions/index.d.ts +31 -0
- package/interactions/index.d.ts.map +1 -0
- package/interactions/index.js +24 -0
- package/interactions/share-state.d.ts +36 -0
- package/interactions/share-state.d.ts.map +1 -0
- package/interactions/share-state.js +123 -0
- package/map/feature-service-adapter.d.ts +138 -0
- package/map/feature-service-adapter.d.ts.map +1 -0
- package/map/feature-service-adapter.js +279 -0
- package/map/honua-map.d.ts +203 -0
- package/map/honua-map.d.ts.map +1 -0
- package/map/honua-map.js +347 -0
- package/map/index.d.ts +27 -0
- package/map/index.d.ts.map +1 -0
- package/map/index.js +22 -0
- package/map/maplibre-target.d.ts +103 -0
- package/map/maplibre-target.d.ts.map +1 -0
- package/map/maplibre-target.js +164 -0
- package/map/webmap-maplibre.d.ts +60 -0
- package/map/webmap-maplibre.d.ts.map +1 -0
- package/map/webmap-maplibre.js +212 -0
- package/operate/client.d.ts +94 -0
- package/operate/client.d.ts.map +1 -0
- package/operate/client.js +361 -0
- package/operate/index.d.ts +22 -0
- package/operate/index.d.ts.map +1 -0
- package/operate/index.js +19 -0
- package/operate/types.d.ts +397 -0
- package/operate/types.d.ts.map +1 -0
- package/operate/types.js +17 -0
- package/operator/client.d.ts +60 -0
- package/operator/client.d.ts.map +1 -0
- package/operator/client.js +20 -0
- package/operator/controllers/approval.d.ts +52 -0
- package/operator/controllers/approval.d.ts.map +1 -0
- package/operator/controllers/approval.js +123 -0
- package/operator/controllers/base.d.ts +27 -0
- package/operator/controllers/base.d.ts.map +1 -0
- package/operator/controllers/base.js +53 -0
- package/operator/controllers/builder-workspace.d.ts +55 -0
- package/operator/controllers/builder-workspace.d.ts.map +1 -0
- package/operator/controllers/builder-workspace.js +108 -0
- package/operator/controllers/chat.d.ts +61 -0
- package/operator/controllers/chat.d.ts.map +1 -0
- package/operator/controllers/chat.js +154 -0
- package/operator/controllers/clarification.d.ts +52 -0
- package/operator/controllers/clarification.d.ts.map +1 -0
- package/operator/controllers/clarification.js +121 -0
- package/operator/controllers/execution.d.ts +60 -0
- package/operator/controllers/execution.d.ts.map +1 -0
- package/operator/controllers/execution.js +286 -0
- package/operator/controllers/index.d.ts +23 -0
- package/operator/controllers/index.d.ts.map +1 -0
- package/operator/controllers/index.js +15 -0
- package/operator/controllers/map-workspace.d.ts +85 -0
- package/operator/controllers/map-workspace.d.ts.map +1 -0
- package/operator/controllers/map-workspace.js +296 -0
- package/operator/controllers/plan-review.d.ts +66 -0
- package/operator/controllers/plan-review.d.ts.map +1 -0
- package/operator/controllers/plan-review.js +124 -0
- package/operator/errors.d.ts +62 -0
- package/operator/errors.d.ts.map +1 -0
- package/operator/errors.js +75 -0
- package/operator/i18n/index.d.ts +10 -0
- package/operator/i18n/index.d.ts.map +1 -0
- package/operator/i18n/index.js +8 -0
- package/operator/i18n/messages.d.ts +19 -0
- package/operator/i18n/messages.d.ts.map +1 -0
- package/operator/i18n/messages.js +54 -0
- package/operator/index.d.ts +19 -0
- package/operator/index.d.ts.map +1 -0
- package/operator/index.js +15 -0
- package/operator/telemetry.d.ts +26 -0
- package/operator/telemetry.d.ts.map +1 -0
- package/operator/telemetry.js +9 -0
- package/operator/theming/index.d.ts +12 -0
- package/operator/theming/index.d.ts.map +1 -0
- package/operator/theming/index.js +9 -0
- package/operator/theming/provider.d.ts +27 -0
- package/operator/theming/provider.d.ts.map +1 -0
- package/operator/theming/provider.js +26 -0
- package/operator/theming/tokens.d.ts +28 -0
- package/operator/theming/tokens.d.ts.map +1 -0
- package/operator/theming/tokens.js +65 -0
- package/operator/workspace/events.d.ts +70 -0
- package/operator/workspace/events.d.ts.map +1 -0
- package/operator/workspace/events.js +9 -0
- package/operator/workspace/index.d.ts +12 -0
- package/operator/workspace/index.d.ts.map +1 -0
- package/operator/workspace/index.js +8 -0
- package/operator/workspace/types.d.ts +178 -0
- package/operator/workspace/types.d.ts.map +1 -0
- package/operator/workspace/types.js +47 -0
- package/operator/workspace/workspace.d.ts +58 -0
- package/operator/workspace/workspace.d.ts.map +1 -0
- package/operator/workspace/workspace.js +339 -0
- package/package.json +105 -0
- package/realtime/exploration.d.ts +16 -0
- package/realtime/exploration.d.ts.map +1 -0
- package/realtime/exploration.js +32 -0
- package/realtime/honua-server.d.ts +123 -0
- package/realtime/honua-server.d.ts.map +1 -0
- package/realtime/honua-server.js +188 -0
- package/realtime/index.d.ts +20 -0
- package/realtime/index.d.ts.map +1 -0
- package/realtime/index.js +14 -0
- package/realtime/projections.d.ts +30 -0
- package/realtime/projections.d.ts.map +1 -0
- package/realtime/projections.js +51 -0
- package/realtime/reducer.d.ts +14 -0
- package/realtime/reducer.d.ts.map +1 -0
- package/realtime/reducer.js +351 -0
- package/realtime/sse.d.ts +23 -0
- package/realtime/sse.d.ts.map +1 -0
- package/realtime/sse.js +143 -0
- package/realtime/store.d.ts +18 -0
- package/realtime/store.d.ts.map +1 -0
- package/realtime/store.js +63 -0
- package/realtime/types.d.ts +190 -0
- package/realtime/types.d.ts.map +1 -0
- package/realtime/types.js +10 -0
- package/replica-sync/client.d.ts +32 -0
- package/replica-sync/client.d.ts.map +1 -0
- package/replica-sync/client.js +52 -0
- package/replica-sync/errors.d.ts +22 -0
- package/replica-sync/errors.d.ts.map +1 -0
- package/replica-sync/errors.js +29 -0
- package/replica-sync/fixture.d.ts +40 -0
- package/replica-sync/fixture.d.ts.map +1 -0
- package/replica-sync/fixture.js +364 -0
- package/replica-sync/index.d.ts +22 -0
- package/replica-sync/index.d.ts.map +1 -0
- package/replica-sync/index.js +17 -0
- package/replica-sync/types.d.ts +270 -0
- package/replica-sync/types.d.ts.map +1 -0
- package/replica-sync/types.js +13 -0
- package/runtime/diff.d.ts +31 -0
- package/runtime/diff.d.ts.map +1 -0
- package/runtime/diff.js +143 -0
- package/runtime/errors.d.ts +40 -0
- package/runtime/errors.d.ts.map +1 -0
- package/runtime/errors.js +35 -0
- package/runtime/index.d.ts +59 -0
- package/runtime/index.d.ts.map +1 -0
- package/runtime/index.js +40 -0
- package/runtime/legend.d.ts +23 -0
- package/runtime/legend.d.ts.map +1 -0
- package/runtime/legend.js +38 -0
- package/runtime/load-package.d.ts +125 -0
- package/runtime/load-package.d.ts.map +1 -0
- package/runtime/load-package.js +272 -0
- package/runtime/map-package-fetch.d.ts +107 -0
- package/runtime/map-package-fetch.d.ts.map +1 -0
- package/runtime/map-package-fetch.js +336 -0
- package/runtime/map-package-realtime.d.ts +169 -0
- package/runtime/map-package-realtime.d.ts.map +1 -0
- package/runtime/map-package-realtime.js +350 -0
- package/runtime/map-package-validation.d.ts +30 -0
- package/runtime/map-package-validation.d.ts.map +1 -0
- package/runtime/map-package-validation.js +257 -0
- package/runtime/map-package-watch.d.ts +78 -0
- package/runtime/map-package-watch.d.ts.map +1 -0
- package/runtime/map-package-watch.js +695 -0
- package/runtime/map-package.d.ts +167 -0
- package/runtime/map-package.d.ts.map +1 -0
- package/runtime/map-package.js +15 -0
- package/runtime/ogc-styles.d.ts +110 -0
- package/runtime/ogc-styles.d.ts.map +1 -0
- package/runtime/ogc-styles.js +195 -0
- package/runtime/pmtiles-protocol.d.ts +77 -0
- package/runtime/pmtiles-protocol.d.ts.map +1 -0
- package/runtime/pmtiles-protocol.js +120 -0
- package/runtime/popups.d.ts +62 -0
- package/runtime/popups.d.ts.map +1 -0
- package/runtime/popups.js +95 -0
- package/runtime/query-tiles.d.ts +217 -0
- package/runtime/query-tiles.d.ts.map +1 -0
- package/runtime/query-tiles.js +801 -0
- package/runtime/runtime.d.ts +243 -0
- package/runtime/runtime.d.ts.map +1 -0
- package/runtime/runtime.js +1147 -0
- package/runtime/source-bridge.d.ts +99 -0
- package/runtime/source-bridge.d.ts.map +1 -0
- package/runtime/source-bridge.js +428 -0
- package/runtime/style-compose.d.ts +46 -0
- package/runtime/style-compose.d.ts.map +1 -0
- package/runtime/style-compose.js +144 -0
- package/runtime/style-interactions.d.ts +141 -0
- package/runtime/style-interactions.d.ts.map +1 -0
- package/runtime/style-interactions.js +574 -0
- package/runtime/style-spec-validation.d.ts +23 -0
- package/runtime/style-spec-validation.d.ts.map +1 -0
- package/runtime/style-spec-validation.js +357 -0
- package/scene-workspace/analysis-widgets.d.ts +334 -0
- package/scene-workspace/analysis-widgets.d.ts.map +1 -0
- package/scene-workspace/analysis-widgets.js +424 -0
- package/scene-workspace/cesium-adapter.d.ts +438 -0
- package/scene-workspace/cesium-adapter.d.ts.map +1 -0
- package/scene-workspace/cesium-adapter.js +493 -0
- package/scene-workspace/index.d.ts +21 -0
- package/scene-workspace/index.d.ts.map +1 -0
- package/scene-workspace/index.js +14 -0
- package/scene-workspace/primitives.d.ts +162 -0
- package/scene-workspace/primitives.d.ts.map +1 -0
- package/scene-workspace/primitives.js +255 -0
- package/scene-workspace/scene-discovery.d.ts +196 -0
- package/scene-workspace/scene-discovery.d.ts.map +1 -0
- package/scene-workspace/scene-discovery.js +228 -0
- package/scene-workspace/scene-view.d.ts +209 -0
- package/scene-workspace/scene-view.d.ts.map +1 -0
- package/scene-workspace/scene-view.js +267 -0
- package/scene-workspace/types.d.ts +229 -0
- package/scene-workspace/types.d.ts.map +1 -0
- package/scene-workspace/types.js +23 -0
- package/scene-workspace/workspace.d.ts +13 -0
- package/scene-workspace/workspace.d.ts.map +1 -0
- package/scene-workspace/workspace.js +391 -0
- package/share/denial.d.ts +78 -0
- package/share/denial.d.ts.map +1 -0
- package/share/denial.js +61 -0
- package/share/embed-token.d.ts +71 -0
- package/share/embed-token.d.ts.map +1 -0
- package/share/embed-token.js +99 -0
- package/share/index.d.ts +35 -0
- package/share/index.d.ts.map +1 -0
- package/share/index.js +30 -0
- package/share/open-data.d.ts +114 -0
- package/share/open-data.d.ts.map +1 -0
- package/share/open-data.js +81 -0
- package/share/types.d.ts +163 -0
- package/share/types.d.ts.map +1 -0
- package/share/types.js +17 -0
- package/studio/capability-manifest.d.ts +285 -0
- package/studio/capability-manifest.d.ts.map +1 -0
- package/studio/capability-manifest.js +59 -0
- package/studio/chart-spec.d.ts +85 -0
- package/studio/chart-spec.d.ts.map +1 -0
- package/studio/chart-spec.js +106 -0
- package/studio/index.d.ts +34 -0
- package/studio/index.d.ts.map +1 -0
- package/studio/index.js +27 -0
- package/studio/provenance.d.ts +131 -0
- package/studio/provenance.d.ts.map +1 -0
- package/studio/provenance.js +39 -0
- package/studio/publish.d.ts +64 -0
- package/studio/publish.d.ts.map +1 -0
- package/studio/publish.js +13 -0
- package/studio/types.d.ts +278 -0
- package/studio/types.d.ts.map +1 -0
- package/studio/types.js +71 -0
- package/studio/validate.d.ts +45 -0
- package/studio/validate.d.ts.map +1 -0
- package/studio/validate.js +255 -0
- package/studio/validation.d.ts +112 -0
- package/studio/validation.d.ts.map +1 -0
- package/studio/validation.js +42 -0
- package/style/factory.d.ts +30 -0
- package/style/factory.d.ts.map +1 -0
- package/style/factory.js +61 -0
- package/style/index.d.ts +25 -0
- package/style/index.d.ts.map +1 -0
- package/style/index.js +24 -0
- package/style/specification.d.ts +203 -0
- package/style/specification.d.ts.map +1 -0
- package/style/specification.js +178 -0
- package/style/wms-wmts-resolvers.d.ts +38 -0
- package/style/wms-wmts-resolvers.d.ts.map +1 -0
- package/style/wms-wmts-resolvers.js +92 -0
- package/web-components/controller.d.ts +39 -0
- package/web-components/controller.d.ts.map +1 -0
- package/web-components/controller.js +640 -0
- package/web-components/elements.d.ts +210 -0
- package/web-components/elements.d.ts.map +1 -0
- package/web-components/elements.js +1651 -0
- package/web-components/index.d.ts +24 -0
- package/web-components/index.d.ts.map +1 -0
- package/web-components/index.js +22 -0
- package/web-components/maplibre-renderer.d.ts +22 -0
- package/web-components/maplibre-renderer.d.ts.map +1 -0
- package/web-components/maplibre-renderer.js +474 -0
- package/web-components/types.d.ts +397 -0
- package/web-components/types.d.ts.map +1 -0
- package/web-components/types.js +1 -0
- package/webmap/contract.d.ts +28 -0
- package/webmap/contract.d.ts.map +1 -0
- package/webmap/contract.js +130 -0
- package/webmap/convert-basemap.d.ts +17 -0
- package/webmap/convert-basemap.d.ts.map +1 -0
- package/webmap/convert-basemap.js +78 -0
- package/webmap/convert-extent.d.ts +17 -0
- package/webmap/convert-extent.d.ts.map +1 -0
- package/webmap/convert-extent.js +114 -0
- package/webmap/convert-label.d.ts +13 -0
- package/webmap/convert-label.d.ts.map +1 -0
- package/webmap/convert-label.js +125 -0
- package/webmap/convert-layer.d.ts +22 -0
- package/webmap/convert-layer.d.ts.map +1 -0
- package/webmap/convert-layer.js +181 -0
- package/webmap/convert-popup.d.ts +34 -0
- package/webmap/convert-popup.d.ts.map +1 -0
- package/webmap/convert-popup.js +68 -0
- package/webmap/convert-renderer.d.ts +17 -0
- package/webmap/convert-renderer.d.ts.map +1 -0
- package/webmap/convert-renderer.js +161 -0
- package/webmap/convert-symbol.d.ts +17 -0
- package/webmap/convert-symbol.d.ts.map +1 -0
- package/webmap/convert-symbol.js +122 -0
- package/webmap/index.d.ts +44 -0
- package/webmap/index.d.ts.map +1 -0
- package/webmap/index.js +33 -0
- package/webmap/parse.d.ts +25 -0
- package/webmap/parse.d.ts.map +1 -0
- package/webmap/parse.js +83 -0
- package/webmap/types.d.ts +264 -0
- package/webmap/types.d.ts.map +1 -0
- package/webmap/types.js +13 -0
- package/webmap/warnings.d.ts +30 -0
- package/webmap/warnings.d.ts.map +1 -0
- package/webmap/warnings.js +37 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { CompatEventBus, resolveCompatEventBus, safeInvokeCompatListener, } from "./event-bus.js";
|
|
2
|
+
export class LegendCompat {
|
|
3
|
+
view;
|
|
4
|
+
map;
|
|
5
|
+
container;
|
|
6
|
+
eventBus;
|
|
7
|
+
includeHidden;
|
|
8
|
+
loaded;
|
|
9
|
+
loadStatus;
|
|
10
|
+
items;
|
|
11
|
+
explicitLayers;
|
|
12
|
+
autoRefresh;
|
|
13
|
+
watchListeners;
|
|
14
|
+
subscriptions;
|
|
15
|
+
refreshRevision;
|
|
16
|
+
constructor(options = {}) {
|
|
17
|
+
this.view = options.view;
|
|
18
|
+
this.map = options.map ?? extractMapFromView(options.view);
|
|
19
|
+
this.container = options.container;
|
|
20
|
+
this.explicitLayers = options.layers;
|
|
21
|
+
this.eventBus =
|
|
22
|
+
options.eventBus ?? resolveCompatEventBus(this.view, this.map, options.layers) ?? new CompatEventBus();
|
|
23
|
+
this.includeHidden = options.includeHidden ?? false;
|
|
24
|
+
this.loaded = false;
|
|
25
|
+
this.loadStatus = "not-loaded";
|
|
26
|
+
this.autoRefresh = options.autoRefresh ?? true;
|
|
27
|
+
this.items = [];
|
|
28
|
+
this.watchListeners = new Map();
|
|
29
|
+
this.subscriptions = [];
|
|
30
|
+
this.refreshRevision = 0;
|
|
31
|
+
if (this.autoRefresh) {
|
|
32
|
+
this.subscriptions.push(this.eventBus.on("map.layer-added", () => void this.refresh()));
|
|
33
|
+
this.subscriptions.push(this.eventBus.on("map.layer-removed", () => void this.refresh()));
|
|
34
|
+
this.subscriptions.push(this.eventBus.on("map.layers-added", () => void this.refresh()));
|
|
35
|
+
this.subscriptions.push(this.eventBus.on("map.layers-cleared", () => void this.refresh()));
|
|
36
|
+
this.subscriptions.push(this.eventBus.on("map.layer-reordered", () => void this.refresh()));
|
|
37
|
+
this.subscriptions.push(this.eventBus.on("group-layer.layer-added", () => void this.refresh()));
|
|
38
|
+
this.subscriptions.push(this.eventBus.on("group-layer.layer-removed", () => void this.refresh()));
|
|
39
|
+
this.subscriptions.push(this.eventBus.on("group-layer.layers-added", () => void this.refresh()));
|
|
40
|
+
this.subscriptions.push(this.eventBus.on("group-layer.layers-cleared", () => void this.refresh()));
|
|
41
|
+
this.subscriptions.push(this.eventBus.on("layer.visibility-changed", () => void this.refresh()));
|
|
42
|
+
this.subscriptions.push(this.eventBus.on("layer.legend-updated", () => void this.refresh()));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
async load() {
|
|
46
|
+
if (this.loaded) {
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
this.loadStatus = "loading";
|
|
50
|
+
this.notifyWatchers("loadStatus", this.loadStatus);
|
|
51
|
+
this.eventBus.emit("legend.loading", undefined, this);
|
|
52
|
+
await this.refresh();
|
|
53
|
+
this.loaded = true;
|
|
54
|
+
this.notifyWatchers("loaded", this.loaded);
|
|
55
|
+
this.loadStatus = "loaded";
|
|
56
|
+
this.notifyWatchers("loadStatus", this.loadStatus);
|
|
57
|
+
this.eventBus.emit("legend.loaded", { layerCount: this.items.length }, this);
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
async when(callback) {
|
|
61
|
+
const widget = await this.load();
|
|
62
|
+
if (callback) {
|
|
63
|
+
callback(widget);
|
|
64
|
+
}
|
|
65
|
+
return widget;
|
|
66
|
+
}
|
|
67
|
+
watch(propertyName, listener) {
|
|
68
|
+
let listeners = this.watchListeners.get(propertyName);
|
|
69
|
+
if (!listeners) {
|
|
70
|
+
listeners = new Set();
|
|
71
|
+
this.watchListeners.set(propertyName, listeners);
|
|
72
|
+
}
|
|
73
|
+
listeners.add(listener);
|
|
74
|
+
return {
|
|
75
|
+
remove: () => {
|
|
76
|
+
listeners?.delete(listener);
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
async refresh() {
|
|
81
|
+
const refreshRevision = this.nextRefreshRevision();
|
|
82
|
+
const layers = this.resolveLegendLayers();
|
|
83
|
+
const groups = [];
|
|
84
|
+
for (const layer of layers) {
|
|
85
|
+
if (!this.includeHidden && !isLayerVisible(layer)) {
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
let entries;
|
|
89
|
+
try {
|
|
90
|
+
entries = await extractLegendEntries(layer);
|
|
91
|
+
}
|
|
92
|
+
catch (error) {
|
|
93
|
+
this.eventBus.emit("legend.layer-failed", { layer, error }, this);
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if (entries.length === 0) {
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
groups.push({
|
|
100
|
+
layer,
|
|
101
|
+
title: toLayerTitle(layer, groups.length),
|
|
102
|
+
entries,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
if (refreshRevision !== this.refreshRevision) {
|
|
106
|
+
return this.items;
|
|
107
|
+
}
|
|
108
|
+
this.items = groups;
|
|
109
|
+
this.notifyWatchers("items", this.items);
|
|
110
|
+
this.eventBus.emit("legend.updated", { layerCount: groups.length }, this);
|
|
111
|
+
return this.items;
|
|
112
|
+
}
|
|
113
|
+
destroy() {
|
|
114
|
+
for (const subscription of this.subscriptions.splice(0)) {
|
|
115
|
+
subscription.remove();
|
|
116
|
+
}
|
|
117
|
+
this.watchListeners.clear();
|
|
118
|
+
}
|
|
119
|
+
resolveLegendLayers() {
|
|
120
|
+
if (this.explicitLayers) {
|
|
121
|
+
return [...this.explicitLayers];
|
|
122
|
+
}
|
|
123
|
+
return getAllLegendLayers(this.map);
|
|
124
|
+
}
|
|
125
|
+
nextRefreshRevision() {
|
|
126
|
+
this.refreshRevision += 1;
|
|
127
|
+
return this.refreshRevision;
|
|
128
|
+
}
|
|
129
|
+
notifyWatchers(propertyName, value) {
|
|
130
|
+
const listeners = this.watchListeners.get(propertyName);
|
|
131
|
+
if (!listeners) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
for (const listener of listeners) {
|
|
135
|
+
safeInvokeCompatListener(listener, value);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
async function extractLegendEntries(layer) {
|
|
140
|
+
const response = await callLegendProvider(layer);
|
|
141
|
+
if (!isRecord(response) || !Array.isArray(response.layers)) {
|
|
142
|
+
return [];
|
|
143
|
+
}
|
|
144
|
+
const entries = [];
|
|
145
|
+
for (const layerEntry of response.layers) {
|
|
146
|
+
if (!isRecord(layerEntry) || !Array.isArray(layerEntry.legend)) {
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
149
|
+
for (const legendEntry of layerEntry.legend) {
|
|
150
|
+
if (!isRecord(legendEntry)) {
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
const label = typeof legendEntry.label === "string" ? legendEntry.label : "Legend";
|
|
154
|
+
entries.push({
|
|
155
|
+
layerId: toOptionalNumber(layerEntry.layerId),
|
|
156
|
+
layerName: toOptionalString(layerEntry.layerName),
|
|
157
|
+
label,
|
|
158
|
+
imageData: toOptionalString(legendEntry.imageData),
|
|
159
|
+
contentType: toOptionalString(legendEntry.contentType),
|
|
160
|
+
width: toOptionalNumber(legendEntry.width),
|
|
161
|
+
height: toOptionalNumber(legendEntry.height),
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return entries;
|
|
166
|
+
}
|
|
167
|
+
async function callLegendProvider(layer) {
|
|
168
|
+
if (hasMethod(layer, "getLegend")) {
|
|
169
|
+
return layer.getLegend();
|
|
170
|
+
}
|
|
171
|
+
if (hasMethod(layer, "legend")) {
|
|
172
|
+
return layer.legend();
|
|
173
|
+
}
|
|
174
|
+
return undefined;
|
|
175
|
+
}
|
|
176
|
+
function extractMapFromView(view) {
|
|
177
|
+
if (!isRecord(view)) {
|
|
178
|
+
return undefined;
|
|
179
|
+
}
|
|
180
|
+
return view.map;
|
|
181
|
+
}
|
|
182
|
+
function getRootLayers(map) {
|
|
183
|
+
if (!isRecord(map) || !Array.isArray(map.layers)) {
|
|
184
|
+
return [];
|
|
185
|
+
}
|
|
186
|
+
return [...map.layers];
|
|
187
|
+
}
|
|
188
|
+
function getAllLegendLayers(map) {
|
|
189
|
+
if (!isRecord(map)) {
|
|
190
|
+
return [];
|
|
191
|
+
}
|
|
192
|
+
const candidates = Array.isArray(map.allLayers) ? map.allLayers : getRootLayers(map);
|
|
193
|
+
const layers = [];
|
|
194
|
+
const seen = new Set();
|
|
195
|
+
for (const candidate of candidates) {
|
|
196
|
+
collectLegendLayer(candidate, layers, seen);
|
|
197
|
+
}
|
|
198
|
+
return layers;
|
|
199
|
+
}
|
|
200
|
+
function collectLegendLayer(layer, layers, seen) {
|
|
201
|
+
if (seen.has(layer)) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
seen.add(layer);
|
|
205
|
+
layers.push(layer);
|
|
206
|
+
for (const child of getChildLayers(layer)) {
|
|
207
|
+
collectLegendLayer(child, layers, seen);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
function getChildLayers(layer) {
|
|
211
|
+
if (!isRecord(layer)) {
|
|
212
|
+
return [];
|
|
213
|
+
}
|
|
214
|
+
if (Array.isArray(layer.layers)) {
|
|
215
|
+
return [...layer.layers];
|
|
216
|
+
}
|
|
217
|
+
if (Array.isArray(layer.allSublayers)) {
|
|
218
|
+
return [...layer.allSublayers];
|
|
219
|
+
}
|
|
220
|
+
if (Array.isArray(layer.sublayers)) {
|
|
221
|
+
return [...layer.sublayers];
|
|
222
|
+
}
|
|
223
|
+
return [];
|
|
224
|
+
}
|
|
225
|
+
function isLayerVisible(layer) {
|
|
226
|
+
if (!isRecord(layer) || typeof layer.visible !== "boolean") {
|
|
227
|
+
return true;
|
|
228
|
+
}
|
|
229
|
+
return layer.visible;
|
|
230
|
+
}
|
|
231
|
+
function toLayerTitle(layer, index) {
|
|
232
|
+
if (!isRecord(layer)) {
|
|
233
|
+
return `Layer ${index + 1}`;
|
|
234
|
+
}
|
|
235
|
+
if (typeof layer.title === "string" && layer.title.trim().length > 0) {
|
|
236
|
+
return layer.title;
|
|
237
|
+
}
|
|
238
|
+
if (typeof layer.id === "string" && layer.id.trim().length > 0) {
|
|
239
|
+
return layer.id;
|
|
240
|
+
}
|
|
241
|
+
return `Layer ${index + 1}`;
|
|
242
|
+
}
|
|
243
|
+
function hasMethod(value, methodName) {
|
|
244
|
+
return isRecord(value) && typeof value[methodName] === "function";
|
|
245
|
+
}
|
|
246
|
+
function toOptionalString(value) {
|
|
247
|
+
return typeof value === "string" ? value : undefined;
|
|
248
|
+
}
|
|
249
|
+
function toOptionalNumber(value) {
|
|
250
|
+
return typeof value === "number" && Number.isFinite(value) ? value : undefined;
|
|
251
|
+
}
|
|
252
|
+
function isRecord(value) {
|
|
253
|
+
return typeof value === "object" && value !== null;
|
|
254
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { HonuaClient } from "../core/client.js";
|
|
2
|
+
import type { ExportMapRequest, HonuaApplyEditsResponse, HonuaExportMapResponse, HonuaFeature, HonuaFieldInfo, HonuaFindResponse, HonuaIdentifyResponse, HonuaLegendResponse, HonuaQueryResponse, HonuaRelatedRecordsResponse, MapFindRequest, MapIdentifyRequest, MapLayerQueryRequest, MapLegendRequest, MapRelatedRecordsRequest } from "../core/types.js";
|
|
3
|
+
import { CompatEventBus } from "./event-bus.js";
|
|
4
|
+
export interface MapImageLayerCompatOptions {
|
|
5
|
+
url: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
sublayers?: readonly Record<string, unknown>[];
|
|
9
|
+
opacity?: number;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
minScale?: number;
|
|
12
|
+
maxScale?: number;
|
|
13
|
+
listMode?: string;
|
|
14
|
+
legendEnabled?: boolean;
|
|
15
|
+
client?: HonuaClient;
|
|
16
|
+
eventBus?: CompatEventBus;
|
|
17
|
+
}
|
|
18
|
+
export interface MapImageLayerExportOptions extends Omit<ExportMapRequest, "serviceId"> {
|
|
19
|
+
}
|
|
20
|
+
export interface MapImageLayerLegendOptions extends Omit<MapLegendRequest, "serviceId"> {
|
|
21
|
+
}
|
|
22
|
+
export interface MapImageLayerIdentifyOptions extends Omit<MapIdentifyRequest, "serviceId"> {
|
|
23
|
+
}
|
|
24
|
+
export interface MapImageLayerFindOptions extends Omit<MapFindRequest, "serviceId"> {
|
|
25
|
+
}
|
|
26
|
+
export interface MapImageLayerQueryOptions extends Omit<MapLayerQueryRequest, "serviceId"> {
|
|
27
|
+
}
|
|
28
|
+
export type MapImageLayerQueryAllOptions = MapImageLayerQueryOptions & {
|
|
29
|
+
pageSize?: number;
|
|
30
|
+
maxPages?: number;
|
|
31
|
+
};
|
|
32
|
+
export type MapImageLayerCreateQueryResult = MapImageLayerQueryOptions;
|
|
33
|
+
export type MapImageLayerQueryCountOptions = Pick<MapImageLayerQueryOptions, "layerId" | "where" | "method"> & {
|
|
34
|
+
extraParams?: Record<string, string | number | boolean>;
|
|
35
|
+
};
|
|
36
|
+
export type MapImageLayerQueryObjectIdsOptions = Pick<MapImageLayerQueryOptions, "layerId" | "where" | "method"> & {
|
|
37
|
+
extraParams?: Record<string, string | number | boolean>;
|
|
38
|
+
};
|
|
39
|
+
export type MapImageLayerQueryExtentOptions = Pick<MapImageLayerQueryOptions, "layerId" | "where" | "method"> & {
|
|
40
|
+
extraParams?: Record<string, string | number | boolean>;
|
|
41
|
+
};
|
|
42
|
+
export type MapImageLayerQueryRelatedFeaturesOptions = Omit<MapRelatedRecordsRequest, "serviceId">;
|
|
43
|
+
export interface MapImageLayerQueryExtentResponse {
|
|
44
|
+
extent: Record<string, unknown> | null;
|
|
45
|
+
count?: number;
|
|
46
|
+
}
|
|
47
|
+
export type MapImageSublayerQueryOptions = Omit<MapImageLayerQueryOptions, "layerId">;
|
|
48
|
+
export type MapImageSublayerQueryAllOptions = Omit<MapImageLayerQueryAllOptions, "layerId">;
|
|
49
|
+
export type MapImageSublayerCreateQueryResult = MapImageSublayerQueryOptions;
|
|
50
|
+
export type MapImageSublayerQueryCountOptions = Omit<MapImageLayerQueryCountOptions, "layerId">;
|
|
51
|
+
export type MapImageSublayerQueryObjectIdsOptions = Omit<MapImageLayerQueryObjectIdsOptions, "layerId">;
|
|
52
|
+
export type MapImageSublayerQueryExtentOptions = Omit<MapImageLayerQueryExtentOptions, "layerId">;
|
|
53
|
+
export type MapImageSublayerQueryRelatedFeaturesOptions = Omit<MapImageLayerQueryRelatedFeaturesOptions, "layerId">;
|
|
54
|
+
export interface MapImageLayerApplyEditsOptions {
|
|
55
|
+
layerId: number;
|
|
56
|
+
adds?: HonuaFeature[];
|
|
57
|
+
updates?: HonuaFeature[];
|
|
58
|
+
deletes?: number[] | string;
|
|
59
|
+
rollbackOnFailure?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export type MapImageSublayerApplyEditsOptions = Omit<MapImageLayerApplyEditsOptions, "layerId">;
|
|
62
|
+
export type MapImageLayerSublayerLookupId = number | string;
|
|
63
|
+
export type MapImageLayerLoadStatusCompat = "not-loaded" | "loading" | "loaded" | "failed";
|
|
64
|
+
export interface MapImageLayerHandleCompat {
|
|
65
|
+
remove(): void;
|
|
66
|
+
}
|
|
67
|
+
export interface MapImageSublayerCompatOptions {
|
|
68
|
+
layer: MapImageLayerCompat;
|
|
69
|
+
layerId: number;
|
|
70
|
+
source?: Record<string, unknown>;
|
|
71
|
+
}
|
|
72
|
+
export declare class MapImageLayerCompat {
|
|
73
|
+
readonly url: string;
|
|
74
|
+
id: string;
|
|
75
|
+
title: string | undefined;
|
|
76
|
+
readonly serviceId: string;
|
|
77
|
+
opacity: number;
|
|
78
|
+
visible: boolean;
|
|
79
|
+
minScale: number;
|
|
80
|
+
maxScale: number;
|
|
81
|
+
listMode: string;
|
|
82
|
+
legendEnabled: boolean;
|
|
83
|
+
loaded: boolean;
|
|
84
|
+
loadStatus: MapImageLayerLoadStatusCompat;
|
|
85
|
+
metadata: Record<string, unknown> | undefined;
|
|
86
|
+
readonly eventBus: CompatEventBus;
|
|
87
|
+
private readonly client;
|
|
88
|
+
private readonly watchListeners;
|
|
89
|
+
private readonly eventListeners;
|
|
90
|
+
private readonly sublayerWrappersById;
|
|
91
|
+
private sublayerSources;
|
|
92
|
+
constructor(options: MapImageLayerCompatOptions);
|
|
93
|
+
load(): Promise<MapImageLayerCompat>;
|
|
94
|
+
when(callback?: (layer: MapImageLayerCompat) => void): Promise<MapImageLayerCompat>;
|
|
95
|
+
refresh(): void;
|
|
96
|
+
watch(propertyName: "visible" | "loaded" | "legendEnabled", listener: (value: boolean) => void): MapImageLayerHandleCompat;
|
|
97
|
+
watch(propertyName: "opacity" | "minScale" | "maxScale", listener: (value: number) => void): MapImageLayerHandleCompat;
|
|
98
|
+
watch(propertyName: "loadStatus", listener: (value: MapImageLayerLoadStatusCompat) => void): MapImageLayerHandleCompat;
|
|
99
|
+
watch(propertyName: string, listener: (value: unknown) => void): MapImageLayerHandleCompat;
|
|
100
|
+
get sublayers(): readonly MapImageSublayerCompat[];
|
|
101
|
+
set sublayers(sublayers: readonly (Record<string, unknown> | MapImageSublayerCompat)[]);
|
|
102
|
+
get allSublayers(): readonly MapImageSublayerCompat[];
|
|
103
|
+
exportImage(options: MapImageLayerExportOptions): Promise<HonuaExportMapResponse>;
|
|
104
|
+
getLegend(options?: MapImageLayerLegendOptions): Promise<HonuaLegendResponse>;
|
|
105
|
+
legend(options?: MapImageLayerLegendOptions): Promise<HonuaLegendResponse>;
|
|
106
|
+
identify(options: MapImageLayerIdentifyOptions): Promise<HonuaIdentifyResponse>;
|
|
107
|
+
find(options: MapImageLayerFindOptions): Promise<HonuaFindResponse>;
|
|
108
|
+
createQuery(layerId: number): MapImageLayerCreateQueryResult;
|
|
109
|
+
queryFeatures(options: MapImageLayerQueryOptions): Promise<HonuaQueryResponse>;
|
|
110
|
+
queryFeaturesAll(options: MapImageLayerQueryAllOptions): Promise<unknown[]>;
|
|
111
|
+
queryFeaturesStream(options: MapImageLayerQueryAllOptions): AsyncGenerator<unknown[], void, undefined>;
|
|
112
|
+
queryFeatureCount(options: MapImageLayerQueryCountOptions): Promise<number>;
|
|
113
|
+
queryObjectIds(options: MapImageLayerQueryObjectIdsOptions): Promise<number[]>;
|
|
114
|
+
queryExtent(options: MapImageLayerQueryExtentOptions): Promise<MapImageLayerQueryExtentResponse>;
|
|
115
|
+
queryRelatedRecords(options: MapImageLayerQueryRelatedFeaturesOptions): Promise<HonuaRelatedRecordsResponse>;
|
|
116
|
+
queryRelatedFeatures(options: MapImageLayerQueryRelatedFeaturesOptions): Promise<HonuaRelatedRecordsResponse>;
|
|
117
|
+
applyEdits(options: MapImageLayerApplyEditsOptions): Promise<HonuaApplyEditsResponse>;
|
|
118
|
+
setVisibility(visible: boolean): void;
|
|
119
|
+
setOpacity(opacity: number): void;
|
|
120
|
+
setSublayers(sublayers: readonly (Record<string, unknown> | MapImageSublayerCompat)[]): void;
|
|
121
|
+
findSublayerById(id: MapImageLayerSublayerLookupId): MapImageSublayerCompat | undefined;
|
|
122
|
+
sublayer(id: MapImageLayerSublayerLookupId): MapImageSublayerCompat | undefined;
|
|
123
|
+
setScaleRange(minScale: number | undefined, maxScale: number | undefined): void;
|
|
124
|
+
setListMode(listMode: string): void;
|
|
125
|
+
on(eventName: string, listener: (event: unknown) => void): MapImageLayerHandleCompat;
|
|
126
|
+
destroy(): void;
|
|
127
|
+
setLegendEnabled(legendEnabled: boolean): void;
|
|
128
|
+
listFields(): readonly HonuaFieldInfo[];
|
|
129
|
+
getField(fieldName: string): HonuaFieldInfo | undefined;
|
|
130
|
+
private hydrateSublayersFromMetadataIfNeeded;
|
|
131
|
+
getOrCreateSublayerWrapper(layerId: number, source: Record<string, unknown>): MapImageSublayerCompat;
|
|
132
|
+
private synchronizeSublayerWrapperCache;
|
|
133
|
+
private notifyWatchers;
|
|
134
|
+
}
|
|
135
|
+
export declare class MapImageSublayerCompat {
|
|
136
|
+
readonly layer: MapImageLayerCompat;
|
|
137
|
+
readonly layerId: number;
|
|
138
|
+
source: Record<string, unknown>;
|
|
139
|
+
constructor(options: MapImageSublayerCompatOptions);
|
|
140
|
+
setSource(source: Record<string, unknown>): void;
|
|
141
|
+
get id(): number;
|
|
142
|
+
get visible(): boolean;
|
|
143
|
+
set visible(visible: boolean);
|
|
144
|
+
get title(): string | undefined;
|
|
145
|
+
get definitionExpression(): string | undefined;
|
|
146
|
+
set definitionExpression(definitionExpression: string | undefined);
|
|
147
|
+
setVisibility(visible: boolean): void;
|
|
148
|
+
createQuery(): MapImageSublayerCreateQueryResult;
|
|
149
|
+
queryFeatures(options?: MapImageSublayerQueryOptions): Promise<HonuaQueryResponse>;
|
|
150
|
+
queryFeaturesAll(options?: MapImageSublayerQueryAllOptions): Promise<unknown[]>;
|
|
151
|
+
queryFeatureCount(options?: MapImageSublayerQueryCountOptions): Promise<number>;
|
|
152
|
+
queryObjectIds(options?: MapImageSublayerQueryObjectIdsOptions): Promise<number[]>;
|
|
153
|
+
queryExtent(options?: MapImageSublayerQueryExtentOptions): Promise<MapImageLayerQueryExtentResponse>;
|
|
154
|
+
queryRelatedRecords(options: MapImageSublayerQueryRelatedFeaturesOptions): Promise<HonuaRelatedRecordsResponse>;
|
|
155
|
+
queryRelatedFeatures(options: MapImageSublayerQueryRelatedFeaturesOptions): Promise<HonuaRelatedRecordsResponse>;
|
|
156
|
+
applyEdits(options?: MapImageSublayerApplyEditsOptions): Promise<HonuaApplyEditsResponse>;
|
|
157
|
+
get sublayers(): readonly MapImageSublayerCompat[];
|
|
158
|
+
get allSublayers(): readonly MapImageSublayerCompat[];
|
|
159
|
+
findSublayerById(id: MapImageLayerSublayerLookupId): MapImageSublayerCompat | undefined;
|
|
160
|
+
sublayer(id: MapImageLayerSublayerLookupId): MapImageSublayerCompat | undefined;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=map-image-layer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-image-layer.d.ts","sourceRoot":"","sources":["../../../src/esri-compat/map-image-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAEV,gBAAgB,EAChB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,iBAAi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