@aceshooting/lyra-ui 30.4.0 → 30.7.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/CHANGELOG.md +92 -0
- package/README.md +2 -3
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.d.ts +7 -4
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.js +5 -5
- package/dist/components/conversation/code-block/onig.provenance.json +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.d.ts +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +11 -1
- package/dist/components/conversation/markdown/markdown-core.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-progressive.js +2 -2
- package/dist/components/conversation/markdown/markdown-shared.d.ts +7 -2
- package/dist/components/conversation/markdown/markdown-shared.js +3 -3
- package/dist/components/conversation/markdown/markdown.class.d.ts +11 -1
- package/dist/components/conversation/markdown/markdown.class.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.d.ts +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.d.ts +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +8 -1
- package/dist/components/conversation/model-select/model-select.class.js +2 -2
- package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +5 -0
- package/dist/components/conversation/streaming-text/streaming-text-base.class.js +2 -2
- package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -0
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +6 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +9 -2
- package/dist/components/conversation/voice-picker/voice-picker.class.js +2 -2
- package/dist/components/conversation/widget-renderer/default-registry.js +1 -1
- package/dist/components/conversation/widget-renderer/registry.d.ts +1 -27
- package/dist/components/conversation/widget-renderer/registry.js +1 -1
- package/dist/components/conversation/widget-renderer/resolve.d.ts +1 -29
- package/dist/components/conversation/widget-renderer/resolve.js +1 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.class.d.ts +1 -1
- package/dist/components/conversation/widget-renderer/widget-renderer.class.js +1 -1
- package/dist/components/forms/catalog-picker-base.d.ts +3 -1
- package/dist/components/forms/catalog-picker-base.js +3 -3
- package/dist/components/forms/combobox/combobox.class.d.ts +9 -2
- package/dist/components/forms/combobox/combobox.class.js +2 -2
- package/dist/components/forms/date-picker/date-input.class.d.ts +9 -2
- package/dist/components/forms/date-picker/date-input.class.js +2 -2
- package/dist/components/forms/input/input-shared.d.ts +9 -2
- package/dist/components/forms/input/input-shared.js +2 -2
- package/dist/components/forms/input/time-input.class.d.ts +9 -2
- package/dist/components/forms/input/time-input.class.js +2 -2
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +18 -3
- package/dist/components/forms/locale-picker/locale-picker.class.js +2 -2
- package/dist/components/forms/phone-input/phone-input.class.d.ts +9 -2
- package/dist/components/forms/phone-input/phone-input.class.js +2 -2
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/select/select.class.d.ts +9 -2
- package/dist/components/forms/select/select.class.js +2 -2
- package/dist/components/forms/textarea/textarea.class.d.ts +9 -2
- package/dist/components/forms/textarea/textarea.class.js +2 -2
- package/dist/components/forms/token-input/token-input.class.d.ts +9 -2
- package/dist/components/forms/token-input/token-input.class.js +2 -2
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +5 -2
- package/dist/components/layout/dock-panel/dock-panel.styles.js +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +7 -4
- package/dist/components/layout/menu/menu-item.class.js +3 -2
- package/dist/components/layout/multi-split/multi-split.class.d.ts +73 -6
- package/dist/components/layout/multi-split/multi-split.class.js +4 -4
- package/dist/components/layout/multi-split/multi-split.styles.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +7 -0
- package/dist/components/layout/page/page.styles.js +1 -1
- package/dist/components/media/flag/language-map.js +1 -1
- package/dist/components/media/image-viewer/image-viewer-panorama.d.ts +1 -5
- package/dist/components/media/image-viewer/image-viewer-panorama.js +1 -8
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.js +1 -1
- package/dist/components/media/map/map-control-options.d.ts +19 -5
- package/dist/components/media/map/map-control-options.js +1 -1
- package/dist/components/media/map/map-controls-lifecycle.js +1 -1
- package/dist/components/media/map/map-feature-loader.js +1 -1
- package/dist/components/media/map/map-loader.d.ts +10 -4
- package/dist/components/media/map/map-loader.js +1 -1
- package/dist/components/media/map/map-scene-admission.js +1 -0
- package/dist/components/media/map/map-scene-completion-adapter.js +1 -0
- package/dist/components/media/map/map-scene-completion-camera.js +1 -0
- package/dist/components/media/map/map-scene-configuration-controller.js +1 -0
- package/dist/components/media/map/map-scene-configuration.d.ts +15 -0
- package/dist/components/media/map/map-scene-configuration.js +1 -0
- package/dist/components/media/map/map-scene-controls.js +1 -0
- package/dist/components/media/map/map-scene-errors.js +1 -0
- package/dist/components/media/map/map-scene-line-layer.js +1 -0
- package/dist/components/media/map/map-scene-lines.js +1 -0
- package/dist/components/media/map/map-scene-owner.js +1 -0
- package/dist/components/media/map/map-scene-position-registry.js +1 -0
- package/dist/components/media/map/map-scene-render-controller.js +1 -0
- package/dist/components/media/map/map-scene-render-input.js +1 -0
- package/dist/components/media/map/map-scene-source-snapshot.js +1 -0
- package/dist/components/media/map/map-scene-status.js +1 -0
- package/dist/components/media/map/map-scene-types.d.ts +55 -0
- package/dist/components/media/map/map.class.d.ts +105 -18
- package/dist/components/media/map/map.class.js +32 -15
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.js +1 -1
- package/dist/components/media/video/video.class.d.ts +1 -1
- package/dist/components/media/video/video.class.js +1 -1
- package/dist/components/retrieval/graph/graph-builtin-3d-engine.js +1 -1
- package/dist/components/retrieval/graph/graph-curvature.js +1 -0
- package/dist/components/retrieval/graph/graph-engine-columns.js +1 -1
- package/dist/components/retrieval/graph/graph-model.d.ts +4 -0
- package/dist/components/retrieval/graph/graph-node-renderer.d.ts +13 -0
- package/dist/components/retrieval/graph/graph-node-renderer.js +1 -0
- package/dist/components/retrieval/graph/graph-source-controller.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial-controller.js +3 -1
- package/dist/components/retrieval/graph/graph-spatial.js +1 -1
- package/dist/components/retrieval/graph/graph-webgl-engine.js +1 -1
- package/dist/components/retrieval/graph/graph.class.d.ts +11 -3
- package/dist/components/retrieval/graph/graph.class.js +4 -4
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +8 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +4 -2
- package/dist/events.d.ts +41 -1
- package/dist/framework-types.d.ts +1 -1
- package/dist/internal/collection-policy.js +1 -0
- package/dist/internal/collection-snapshot.js +1 -1
- package/dist/internal/default-strings/media.generated.js +1 -1
- package/dist/internal/default-strings/retrieval.generated.js +1 -1
- package/dist/internal/engine-3d-loader.d.ts +8 -2
- package/dist/internal/engine-3d-loader.js +1 -1
- package/dist/internal/form-control.styles.js +1 -1
- package/dist/internal/locale-loaders.generated.js +1 -1
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/map-camera-follow-controller.d.ts +9 -0
- package/dist/internal/map-camera-follow-controller.js +1 -0
- package/dist/internal/map-camera-follow-data.js +1 -0
- package/dist/internal/map-camera-follow-scene.js +1 -0
- package/dist/internal/map-camera-session-controller.d.ts +59 -0
- package/dist/internal/map-camera-session-controller.js +1 -0
- package/dist/internal/map-camera-session-data.d.ts +16 -0
- package/dist/internal/map-camera-session-data.js +1 -0
- package/dist/internal/map-camera-session.js +1 -0
- package/dist/internal/map-scene-session.js +1 -0
- package/dist/internal/media-panorama.d.ts +5 -0
- package/dist/internal/media-panorama.js +8 -0
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/sequence-playback-binding.js +1 -0
- package/dist/internal/typed-columns.d.ts +3 -1
- package/dist/internal/typed-columns.js +1 -1
- package/dist/internal/variants.d.ts +7 -0
- package/dist/internal/widget-default-registry.js +1 -0
- package/dist/internal/widget-document.d.ts +29 -0
- package/dist/internal/widget-document.js +1 -0
- package/dist/internal/widget-type-registry.d.ts +27 -0
- package/dist/internal/widget-type-registry.js +1 -0
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/map-camera-session.d.ts +10 -0
- package/dist/map-camera-session.js +1 -0
- package/dist/sequence-time-binding.d.ts +3 -0
- package/dist/sequence-time-binding.js +1 -0
- package/dist/simulation-clock.d.ts +3 -0
- package/dist/simulation-clock.js +1 -0
- package/dist/time-index.d.ts +3 -0
- package/dist/time-index.js +1 -0
- package/llms/components/lr-artifact-panel.md +8 -3
- package/llms/components/lr-combobox.md +2 -0
- package/llms/components/lr-country-picker.md +2 -0
- package/llms/components/lr-currency-picker.md +2 -0
- package/llms/components/lr-date-picker.md +2 -0
- package/llms/components/lr-dock-panel.md +5 -2
- package/llms/components/lr-graph.md +121 -3
- package/llms/components/lr-input.md +2 -0
- package/llms/components/lr-knowledge-graph-explorer.md +6 -1
- package/llms/components/lr-locale-picker.md +8 -1
- package/llms/components/lr-map.md +365 -13
- package/llms/components/lr-markdown-core.md +2 -1
- package/llms/components/lr-markdown.md +12 -1
- package/llms/components/lr-menu.md +5 -2
- package/llms/components/lr-model-select.md +2 -0
- package/llms/components/lr-multi-split.md +53 -4
- package/llms/components/lr-native-time-input.md +2 -0
- package/llms/components/lr-number-input.md +2 -0
- package/llms/components/lr-page.md +9 -1
- package/llms/components/lr-phone-input.md +2 -0
- package/llms/components/lr-select.md +2 -0
- package/llms/components/lr-sequence-playback.md +44 -0
- package/llms/components/lr-streaming-text-core.md +3 -2
- package/llms/components/lr-streaming-text.md +4 -1
- package/llms/components/lr-suggestion-chips.md +6 -2
- package/llms/components/lr-textarea.md +2 -0
- package/llms/components/lr-time-input.md +2 -0
- package/llms/components/lr-time-zone-picker.md +2 -0
- package/llms/components/lr-token-input.md +2 -0
- package/llms/components/lr-unit-picker.md +2 -0
- package/llms/components/lr-voice-picker.md +2 -0
- package/llms/peers.md +7 -7
- package/llms/shared/imports-and-registration.md +1 -1
- package/llms/shared/localization-and-rtl.md +15 -1
- package/llms/shared/testing-and-utilities.md +184 -0
- package/llms/shared.md +200 -2
- package/locales.json +1 -1
- package/package.json +39 -23
- package/registrations.json +1 -1
- package/skills/lyra-ui/lyra-gen.md +18 -0
- /package/dist/{components/media/image-viewer/image-viewer-panorama.styles.js → internal/media-panorama.styles.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{type TemplateResult,type PropertyValues}from'lit';import type{Feature,FeatureCollection}from'geojson';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraMapAnchorBoundary,LyraMapAnchorCloseDetail,LyraMapAnchorSafeArea}from'./map-anchor-options.js';export type{LyraMapAnchorBoundary,LyraMapAnchorSafeArea,LyraMapAnchorCloseReason,LyraMapAnchorCloseDetail}from'./map-anchor-options.js';import{type LyraMapFeatureRequirements,type MapLibreSourceDataDiff}from'./map-loader.js';import{type LyraMapFeatureValue}from'./map-hit-test.js';export type{LyraMapFeatureValue}from'./map-hit-test.js';import{type LyraMapFeatureOrigin,type LyraMapFeatureStateTarget,type LyraMapResolvedFeatureStateTarget}from'./map-feature-state-router.js';import type{LyraMapFeatureState}from'./map-feature-state.js';export type{LyraMapFeatureState,LyraMapFeatureStateValue,LyraMapFeatureIdentifier}from'./map-feature-state.js';export type{LyraMapFeatureOrigin,LyraMapFeatureStateTarget,LyraMapResolvedFeatureStateTarget}from'./map-feature-state-router.js';import type{LyraMapDrawingSnapshot,LyraMapDrawingMode,LyraMapDrawingCancelDetail,LyraMapDrawingVertexEndDetail}from'./map-drawing.js';export type{LyraMapDrawingSnapshot,LyraMapDrawingMetrics,LyraMapDrawingMode,LyraMapDrawingPoint,LyraMapDrawingCancelReason,LyraMapDrawingCancelDetail,LyraMapDrawingVertexEndDetail}from'./map-drawing.js';
|
|
1
|
+
import{type TemplateResult,type PropertyValues}from'lit';import type{Feature,FeatureCollection}from'geojson';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraMapScene,LyraMapSceneActivateDetail,LyraMapSceneStateDetail}from'./map-scene-types.js';export type{LyraMapPosition,LyraMapQuaternion,LyraMapModelFormat,LyraMapModelSource,LyraMapSceneObjectBase,LyraMapSceneMarker,LyraMapScenePath,LyraMapSceneArc,LyraMapSceneModel,LyraMapSceneObject,LyraMapScene,LyraMapSceneErrorCode,LyraMapSceneStateDetail,LyraMapSceneActivateDetail}from'./map-scene-types.js';import type{LyraMapAnchorBoundary,LyraMapAnchorCloseDetail,LyraMapAnchorSafeArea}from'./map-anchor-options.js';export type{LyraMapAnchorBoundary,LyraMapAnchorSafeArea,LyraMapAnchorCloseReason,LyraMapAnchorCloseDetail}from'./map-anchor-options.js';import{type LyraMapFeatureRequirements,type MapLibreSourceDataDiff}from'./map-loader.js';import{type LyraMapFeatureValue}from'./map-hit-test.js';export type{LyraMapFeatureValue}from'./map-hit-test.js';import{type LyraMapFeatureOrigin,type LyraMapFeatureStateTarget,type LyraMapResolvedFeatureStateTarget}from'./map-feature-state-router.js';import type{LyraMapFeatureState}from'./map-feature-state.js';export type{LyraMapFeatureState,LyraMapFeatureStateValue,LyraMapFeatureIdentifier}from'./map-feature-state.js';export type{LyraMapFeatureOrigin,LyraMapFeatureStateTarget,LyraMapResolvedFeatureStateTarget}from'./map-feature-state-router.js';import type{LyraMapDrawingSnapshot,LyraMapDrawingMode,LyraMapDrawingCancelDetail,LyraMapDrawingVertexEndDetail}from'./map-drawing.js';export type{LyraMapDrawingSnapshot,LyraMapDrawingMetrics,LyraMapDrawingMode,LyraMapDrawingPoint,LyraMapDrawingCancelReason,LyraMapDrawingCancelDetail,LyraMapDrawingVertexEndDetail}from'./map-drawing.js';
|
|
2
2
|
/** URL fragment form that `hash` reads and writes: a `key=` field, or the engine's unnamed token.*/
|
|
3
|
-
export type LyraMapHashFormat='named'|'unnamed';import{type LyraMapInteractionOptions,type LyraMapBasemapInteraction,type LyraMapStyleLayer,type LyraMapStyleSource}from'./map-interaction-options.js';export type{LyraMapInteractionOptions,LyraMapBasemapInteraction,LyraMapStyleLayerSelector,LyraMapStyleLayer,LyraMapStyleSource}from'./map-interaction-options.js';import{type LyraMapGeolocateControlOptions,type LyraMapAttributionControlOptions,type LyraMapGeolocationErrorCode,type LyraMapNavigationControlOptions,type LyraMapScaleControlOptions}from'./map-control-options.js';export type{LyraMapControlPosition,LyraMapScaleUnit,LyraMapNavigationControlOptions,LyraMapScaleControlOptions,LyraMapGeolocateControlOptions,LyraMapAttributionControlOptions,LyraMapAttributionLink,LyraMapGeolocationErrorCode}from'./map-control-options.js';import{type LyraMapImageExportOptions,type LyraMapImageExportErrorCode}from'./map-image-export-error.js';export{LyraMapImageExportError}from'./map-image-export-error.js';export type{LyraMapImageExportOptions,LyraMapImageExportType,LyraMapImageExportErrorCode}from'./map-image-export-error.js';export interface LyraMapImageExportErrorDetail{readonly code:LyraMapImageExportErrorCode;}import{type LyraMapInitialization}from'./map-construction-scheduler.js';export type{LyraMapInitialization}from'./map-construction-scheduler.js';import type{LyraMapOverlaySource,LyraMapOverlayLayer}from'./map-overlay-admission.js';import type{LyraMapImage}from'./map-image-admission.js';import type{LyraMapImageProvider}from'./map-image-provider.js';export type{LyraMapImageProvider}from'./map-image-provider.js';import{type LyraMapExternalDataLayer,type LyraMapLabelOptions}from'./map-data-layer-model.js';export type{LyraMapVectorPaintProperty,LyraMapVectorLayoutProperty,LyraMapVectorStyleExpression,LyraMapVectorNumericValue,LyraMapVectorColorValue,LyraMapVectorPaint,LyraMapVectorLayout}from'./map-vector-style.js';export type{LyraMapSourceCoordinates,LyraMapLabelValue,LyraMapLabelOptions,LyraMapLabelAnchor,LyraMapTileSource,LyraMapExternalDataLayerOptions,LyraMapVectorDataLayer,LyraMapRasterDataLayer,LyraMapImageDataLayer,LyraMapCanvasDataLayer,LyraMapExternalDataLayer}from'./map-data-layer-model.js';
|
|
3
|
+
export type LyraMapHashFormat='named'|'unnamed';import{type LyraMapInteractionOptions,type LyraMapBasemapInteraction,type LyraMapStyleLayer,type LyraMapStyleSource}from'./map-interaction-options.js';export type{LyraMapInteractionOptions,LyraMapBasemapInteraction,LyraMapStyleLayerSelector,LyraMapStyleLayer,LyraMapStyleSource}from'./map-interaction-options.js';import{type LyraMapGeolocateControlOptions,type LyraMapAttributionControlOptions,type LyraMapGeolocationErrorCode,type LyraMapGlobeControlOptions,type LyraMapTerrainControlOptions,type LyraMapNavigationControlOptions,type LyraMapScaleControlOptions}from'./map-control-options.js';export type{LyraMapGlobeControlOptions,LyraMapTerrainControlOptions,LyraMapControlPosition,LyraMapScaleUnit,LyraMapNavigationControlOptions,LyraMapScaleControlOptions,LyraMapGeolocateControlOptions,LyraMapAttributionControlOptions,LyraMapAttributionLink,LyraMapGeolocationErrorCode}from'./map-control-options.js';import{type LyraMapProjection,type LyraMapTerrain}from'./map-scene-configuration.js';export type{LyraMapProjection,LyraMapTerrain}from'./map-scene-configuration.js';import{type LyraMapImageExportOptions,type LyraMapImageExportErrorCode}from'./map-image-export-error.js';export{LyraMapImageExportError}from'./map-image-export-error.js';export type{LyraMapImageExportOptions,LyraMapImageExportType,LyraMapImageExportErrorCode}from'./map-image-export-error.js';export interface LyraMapImageExportErrorDetail{readonly code:LyraMapImageExportErrorCode;}import{type LyraMapInitialization}from'./map-construction-scheduler.js';export type{LyraMapInitialization}from'./map-construction-scheduler.js';import type{LyraMapOverlaySource,LyraMapOverlayLayer}from'./map-overlay-admission.js';import type{LyraMapImage}from'./map-image-admission.js';import type{LyraMapImageProvider}from'./map-image-provider.js';export type{LyraMapImageProvider}from'./map-image-provider.js';import{type LyraMapExternalDataLayer,type LyraMapLabelOptions}from'./map-data-layer-model.js';export type{LyraMapVectorPaintProperty,LyraMapVectorLayoutProperty,LyraMapVectorStyleExpression,LyraMapVectorNumericValue,LyraMapVectorColorValue,LyraMapVectorPaint,LyraMapVectorLayout}from'./map-vector-style.js';export type{LyraMapSourceCoordinates,LyraMapLabelValue,LyraMapLabelOptions,LyraMapLabelAnchor,LyraMapTileSource,LyraMapExternalDataLayerOptions,LyraMapVectorDataLayer,LyraMapRasterDataLayer,LyraMapImageDataLayer,LyraMapCanvasDataLayer,LyraMapExternalDataLayer}from'./map-data-layer-model.js';
|
|
4
4
|
/** Existing GeoJSON overlays and explicitly discriminated native external-source families.*/
|
|
5
5
|
export type LyraMapDataLayer=LyraMapGeoJsonDataLayer|LyraMapExternalDataLayer;import type{LyraMapStyleOverride}from'./map-style-override-admission.js';export type{LyraMapOverlaySource,LyraMapOverlayLayer}from'./map-overlay-admission.js';
|
|
6
6
|
/** Declarative native resources restored after every style replacement.*/
|
|
@@ -409,13 +409,29 @@ readonly source:LyraMapMarkerActivationSource;}
|
|
|
409
409
|
* controls are disabled. The selected engine's control code loads only for enabled controls.
|
|
410
410
|
*/
|
|
411
411
|
export interface LyraMapGeolocateErrorDetail{readonly code:LyraMapGeolocationErrorCode;}export interface LyraMapGeolocateOutOfBoundsDetail{readonly code:'out-of-bounds';}
|
|
412
|
+
/** Detail of `lr-map-attribution-toggle`: the owned attribution control's settled credit visibility.*/
|
|
413
|
+
export interface LyraMapAttributionToggleDetail{
|
|
414
|
+
/** Whether the native credits are now shown.*/
|
|
415
|
+
readonly expanded:boolean;}
|
|
412
416
|
/** Detail of `lr-map-geolocate`: the position the user-activated geolocate control located.*/
|
|
413
417
|
export interface LyraMapGeolocateDetail{
|
|
414
418
|
/** `[longitude, latitude]` reported by the browser.*/
|
|
415
419
|
readonly lngLat:readonly[number,number];
|
|
416
420
|
/** Radius of uncertainty in metres, as the browser reports it.*/
|
|
417
|
-
readonly accuracy:number;}
|
|
418
|
-
/**
|
|
421
|
+
readonly accuracy:number;}
|
|
422
|
+
/** Desired projection accepted from a component-owned globe control, before asynchronous application.*/
|
|
423
|
+
export interface LyraMapProjectionChangeDetail{readonly projection:LyraMapProjection;readonly source:'control';}
|
|
424
|
+
/** What ended a camera-session action: a user gesture, another camera write, a style change or the engine.*/
|
|
425
|
+
export type LyraMapCameraInterruptReason='user'|'external'|'style'|'engine';
|
|
426
|
+
/** A camera-session viewpoint transition, tour or follow ended without the session asking.*/
|
|
427
|
+
export interface LyraMapCameraInterruptDetail{readonly reason:LyraMapCameraInterruptReason;}
|
|
428
|
+
/** Desired terrain accepted from a component-owned terrain control, before asynchronous application.*/
|
|
429
|
+
export interface LyraMapTerrainChangeDetail{readonly terrain:LyraMapTerrain|null;readonly source:'control';}export interface LyraMapControls{
|
|
430
|
+
/** Component-owned projection toggle; showing it does not acquire a projection override.*/
|
|
431
|
+
readonly globe?:boolean|LyraMapGlobeControlOptions;
|
|
432
|
+
/** Component-owned terrain toggle; enabling uses this explicit existing raster elevation source.*/
|
|
433
|
+
readonly terrain?:false|LyraMapTerrainControlOptions;readonly navigation?:boolean|LyraMapNavigationControlOptions;readonly scale?:boolean|LyraMapScaleControlOptions;readonly geolocate?:boolean|LyraMapGeolocateControlOptions;
|
|
434
|
+
/** Text or guarded linked credits. Controls in a corner read navigation, scale, geolocate, globe, terrain, attribution from top to bottom.*/
|
|
419
435
|
readonly attribution?:boolean|LyraMapAttributionControlOptions;}
|
|
420
436
|
/**
|
|
421
437
|
* Common imperative map capability returned by `LyraMap.map` without making
|
|
@@ -440,6 +456,10 @@ prepareFeatures?(requirements:LyraMapFeatureRequirements,options?:{signal?:Abort
|
|
|
440
456
|
setMaxBounds?(bounds?:unknown):unknown;}
|
|
441
457
|
/** A pan-constraining box, `[[west, south], [east, north]]`, in the order maplibre-gl takes.*/
|
|
442
458
|
export type LyraMapBounds=readonly[readonly[number,number],readonly[number,number]];
|
|
459
|
+
/** Options of `getVisibleBounds()`.*/
|
|
460
|
+
export interface LyraMapVisibleBoundsOptions{
|
|
461
|
+
/** `false` reads the whole viewport instead of the box inside `cameraPadding`. Defaults to `true`.*/
|
|
462
|
+
readonly padded?:boolean;}
|
|
443
463
|
/**
|
|
444
464
|
* Screen pixels kept clear on each side of a fitted box. The sides are the viewport's physical
|
|
445
465
|
* sides, because the map's projected space is physical in both text directions. An omitted side is
|
|
@@ -524,7 +544,9 @@ export interface LyraMapPointerDetail{
|
|
|
524
544
|
/** `[longitude, latitude]` under the pointer, longitude wrapped into `[-180, 180]`.*/
|
|
525
545
|
readonly lngLat:readonly[number,number];
|
|
526
546
|
/** The pointer position in the map's container, `[x, y]` CSS pixels (see `project()`).*/
|
|
527
|
-
readonly point:LyraMapPoint;}export interface LyraMapPickDetail extends LyraMapInteractionDetail{readonly trigger:'pointer'|'keyboard';}export interface LyraMapEventMap{'lr-map-anchor-close':CustomEvent<LyraMapAnchorCloseDetail>;'lr-map-draw-start':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-change':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-complete':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-cancel':CustomEvent<LyraMapDrawingCancelDetail>;'lr-map-draw-vertex-end':CustomEvent<LyraMapDrawingVertexEndDetail>;'lr-map-feature-enter':CustomEvent<LyraMapInteractionDetail>;'lr-map-feature-leave':CustomEvent<LyraMapInteractionDetail>;'lr-map-pointer-move':CustomEvent<LyraMapPointerDetail>;'lr-map-pointer-leave':CustomEvent<null>;'lr-map-contextmenu':CustomEvent<LyraMapInteractionDetail>;'lr-map-pick':CustomEvent<LyraMapPickDetail>;'lr-map-load':CustomEvent<null>;'lr-map-geolocate':CustomEvent<LyraMapGeolocateDetail>;'lr-map-geolocate-error':CustomEvent<LyraMapGeolocateErrorDetail>;'lr-map-geolocate-out-of-bounds':CustomEvent<LyraMapGeolocateOutOfBoundsDetail>;
|
|
547
|
+
readonly point:LyraMapPoint;}export interface LyraMapPickDetail extends LyraMapInteractionDetail{readonly trigger:'pointer'|'keyboard';}export interface LyraMapEventMap{'lr-map-scene-state':CustomEvent<LyraMapSceneStateDetail>;'lr-map-scene-activate':CustomEvent<LyraMapSceneActivateDetail>;'lr-map-projection-change':CustomEvent<LyraMapProjectionChangeDetail>;'lr-map-terrain-change':CustomEvent<LyraMapTerrainChangeDetail>;'lr-map-camera-interrupt':CustomEvent<LyraMapCameraInterruptDetail>;'lr-map-anchor-close':CustomEvent<LyraMapAnchorCloseDetail>;'lr-map-draw-start':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-change':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-complete':CustomEvent<LyraMapDrawingSnapshot>;'lr-map-draw-cancel':CustomEvent<LyraMapDrawingCancelDetail>;'lr-map-draw-vertex-end':CustomEvent<LyraMapDrawingVertexEndDetail>;'lr-map-feature-enter':CustomEvent<LyraMapInteractionDetail>;'lr-map-feature-leave':CustomEvent<LyraMapInteractionDetail>;'lr-map-pointer-move':CustomEvent<LyraMapPointerDetail>;'lr-map-pointer-leave':CustomEvent<null>;'lr-map-contextmenu':CustomEvent<LyraMapInteractionDetail>;'lr-map-pick':CustomEvent<LyraMapPickDetail>;'lr-map-load':CustomEvent<null>;'lr-map-geolocate':CustomEvent<LyraMapGeolocateDetail>;'lr-map-geolocate-error':CustomEvent<LyraMapGeolocateErrorDetail>;'lr-map-geolocate-out-of-bounds':CustomEvent<LyraMapGeolocateOutOfBoundsDetail>;
|
|
548
|
+
/** Non-cancelable notification that the owned attribution disclosure changed after installation.*/
|
|
549
|
+
'lr-map-attribution-toggle':CustomEvent<LyraMapAttributionToggleDetail>;'lr-map-export-error':CustomEvent<LyraMapImageExportErrorDetail>;'lr-map-style-load':CustomEvent<LyraMapReadinessDetail>;'lr-map-idle':CustomEvent<LyraMapReadinessDetail>;'lr-map-marker-activate':CustomEvent<LyraMapMarkerActivationDetail>;
|
|
528
550
|
/** Cancelable proposal to change one legend category's visibility.*/
|
|
529
551
|
'lr-map-legend-toggle-request':CustomEvent<LyraMapLegendToggleDetail>;
|
|
530
552
|
/** Cancelable proposal to open or collapse the legend panel.*/
|
|
@@ -541,7 +563,9 @@ readonly sourceId:string|undefined;
|
|
|
541
563
|
readonly sourceLayer?:string;
|
|
542
564
|
/** `true` when the hit is a choropleth feature without a usable value and `choropleth.noData`
|
|
543
565
|
* is configured; absent otherwise. */
|
|
544
|
-
readonly noData?:true;
|
|
566
|
+
readonly noData?:true;
|
|
567
|
+
/** `'keyboard'` for a `keyboardActivation` at the view centre; absent for pointer clicks.*/
|
|
568
|
+
readonly trigger?:'keyboard';}>;}
|
|
545
569
|
/**
|
|
546
570
|
* `<lr-map>` — a modular MapLibre-compatible wrapper with a declarative legend, choropleth
|
|
547
571
|
* GeoJSON layer, markers, and additive `dataLayers` GeoJSON overlays
|
|
@@ -590,18 +614,30 @@ readonly noData?:true;}>;}
|
|
|
590
614
|
* @event lr-map-geolocate-out-of-bounds - `detail: { code: 'out-of-bounds' }`. A user-activated
|
|
591
615
|
* location lies outside maxBounds; no coordinates are exposed.
|
|
592
616
|
* @event lr-map-export-error - `detail: { code }` (`LyraMapImageExportErrorDetail`). Frozen sanitized export failure.
|
|
617
|
+
* @event lr-map-attribution-toggle - `detail: { expanded }` (`LyraMapAttributionToggleDetail`). Non-cancelable
|
|
618
|
+
* notification after the library-owned attribution control (including the default one) actually shows or
|
|
619
|
+
* hides its credits through native activation, resizing or dragging. Synchronous native changes are
|
|
620
|
+
* coalesced to their result and repeats are not reported. Installation, the `initialExpanded` seed,
|
|
621
|
+
* replacement and reconnect establish a silent baseline. Imperatively added controls are not reported.
|
|
593
622
|
* @csspart initialization-placeholder - Stable surface before native construction. It is
|
|
594
623
|
* noninteractive except for `initialization-activate`.
|
|
595
624
|
* @csspart initialization-activate - Localized button covering an `initialization="interaction"`
|
|
596
625
|
* placeholder until the first input builds the map.
|
|
597
|
-
* @csspart initialization-control - Decorative outline of a requested native control before construction
|
|
626
|
+
* @csspart initialization-control - Decorative outline of a requested native control before construction, kept
|
|
627
|
+
* after construction while that control's lazy code installs. Pending controls install in one pass, so their
|
|
628
|
+
* outlines clear together when it settles (installed or failed), on replacement or on disconnect. Outlines use
|
|
629
|
+
* the installed controls' glass or solid surface material.
|
|
630
|
+
* Unset controls, including the implicit attribution, and already installed retained controls have none.
|
|
598
631
|
* @csspart initialization-navigation - Decorative navigation control placeholder.
|
|
599
632
|
* @csspart initialization-scale - Decorative scale control placeholder.
|
|
600
633
|
* @csspart initialization-geolocate - Decorative geolocation control placeholder.
|
|
601
634
|
* @csspart initialization-attribution - Decorative attribution control placeholder.
|
|
635
|
+
* @csspart initialization-globe - Decorative globe control placeholder.
|
|
636
|
+
* @csspart initialization-terrain - Decorative terrain control placeholder.
|
|
602
637
|
* @csspart initialization-skeleton - Decorative map skeleton before construction.
|
|
603
638
|
* @csspart initialization-activate-label - Visible activation prompt; hiding it preserves the button's localized accessible name.
|
|
604
|
-
* @csspart initialization-controls - Decorative requested controls, also exposing controls.
|
|
639
|
+
* @csspart initialization-controls - Decorative requested controls, also exposing controls. After construction it
|
|
640
|
+
* remains only while requested controls are pending, `aria-hidden`, inert and without pointer events.
|
|
605
641
|
* @csspart initialization-corner - Decorative control corner, also exposing its controls-top-left, controls-top-right, controls-bottom-left or controls-bottom-right token.
|
|
606
642
|
* @event lr-map-style-load - `detail: { generation }` (`LyraMapReadinessDetail`). Fired once per
|
|
607
643
|
* connection/style after generated and registered overlays, images, style overrides and their
|
|
@@ -636,6 +672,15 @@ readonly noData?:true;}>;}
|
|
|
636
672
|
* @event lr-map-pointer-move - Fired at most once per animation frame while a mouse pointer moves over the map, whatever lies under it, carrying the frozen `detail: { lngLat, point }` (`LyraMapPointerDetail`): the coordinate and the container position, for tooltips and coordinate read-outs. Not fired while the map is inert or disabled.
|
|
637
673
|
* @event lr-map-pointer-leave - The pointer left the map after an `lr-map-pointer-move`; `detail` is `null`.
|
|
638
674
|
* @event lr-map-contextmenu - Frozen `detail: { lngLat, hit?, feature? }`; does not prevent the native context menu.
|
|
675
|
+
* @event lr-map-projection-change - A component-owned globe control accepted a desired projection, `detail: { projection, source: 'control' }`. The property is assigned before this noncancelable event; await `whenIdle()` for application. Programmatic assignments do not emit it.
|
|
676
|
+
* @event lr-map-camera-interrupt - A `createMapCameraSession()` action (viewpoint transition, tour or follow) ended without the session asking, `detail: { reason }`: `'user'` for a drag, wheel, touch or keyboard gesture (which continues), `'external'` for another camera command or `center`/`zoom` assignment, `'style'` for a `mapStyle`, `projection` or `terrain` change, `'engine'` for a lost rendering context. Noncancelable; never emitted without a session or on disconnect.
|
|
677
|
+
* @event lr-map-terrain-change - A component-owned terrain control accepted desired terrain, `detail: { terrain, source: 'control' }`. The property is assigned before this noncancelable event; await `whenIdle()` for application. Programmatic assignments do not emit it.
|
|
678
|
+
* @csspart globe-control - Component-owned globe control group.
|
|
679
|
+
* @csspart globe-button - Globe toggle button.
|
|
680
|
+
* @csspart globe-icon - Decorative globe glyph.
|
|
681
|
+
* @csspart terrain-control - Component-owned terrain control group.
|
|
682
|
+
* @csspart terrain-button - Terrain toggle button.
|
|
683
|
+
* @csspart terrain-icon - Decorative terrain glyph.
|
|
639
684
|
* @event lr-map-pick - Pick mode selection, `detail: { lngLat, hit?, feature?, trigger }`. Pointer picks replace ordinary click dispatch; keyboard picks use the current camera center.
|
|
640
685
|
* @event lr-map-anchor-close - Frozen `detail: { reason }` after an actually open anchor closes by API, close action or Escape.
|
|
641
686
|
* @csspart anchor-close - Optional localized anchor close button.
|
|
@@ -666,7 +711,8 @@ readonly noData?:true;}>;}
|
|
|
666
711
|
* properties; a `kind: 'heatmap'` layer is never hit-tested, because MapLibre returns no features
|
|
667
712
|
* for a density surface. A hit on a choropleth feature without a numeric `field` value reports
|
|
668
713
|
* `noData: true` when `choropleth.noData` is configured; the key is absent otherwise. A cluster
|
|
669
|
-
* hit also eases the camera into the cluster when its entry sets `cluster.zoomOnClick`.
|
|
714
|
+
* hit also eases the camera into the cluster when its entry sets `cluster.zoomOnClick`. A
|
|
715
|
+
* `keyboardActivation` at the view centre adds `trigger: 'keyboard'`; pointer clicks carry no `trigger`.
|
|
670
716
|
* @event lr-map-view-change - Fired once each time the camera settles after a user gesture (drag,
|
|
671
717
|
* wheel, touch, keyboard, box zoom or a standard peer navigation button), a `fitBounds()` or
|
|
672
718
|
* `fitToData()` call, or a `flyTo()`/`easeTo()`/`jumpTo()` call, carrying the immutable
|
|
@@ -807,10 +853,25 @@ readonly noData?:true;}>;}
|
|
|
807
853
|
* Navigation, scale, attribution and the legend follow the surrounding Glass or Solid treatment.
|
|
808
854
|
* The legend material remains stationary while its public surface scrolls. Opaque accessibility
|
|
809
855
|
* fallbacks preserve native peer controls and map data paint.
|
|
856
|
+
* @event lr-map-scene-state - `detail: { revision, state, code? }`. Accepted scene status: `loading`, then `ready`, `partial` or `unavailable` with a code such as `altitude` or `model`; `empty` for an empty scene. Rejected updates report `error` and retain the preceding accepted revision.
|
|
857
|
+
* @event lr-map-scene-activate - `detail: { id, kind, source, position? }`. A current interactive scene object was activated without moving the camera.
|
|
858
|
+
* @csspart scene-panel - Accessible accepted scene object panel.
|
|
859
|
+
* @csspart scene-toggle - Expands or collapses the scene object list.
|
|
860
|
+
* @csspart scene-list - The current page of accepted scene objects.
|
|
861
|
+
* @csspart scene-item - An interactive button or noninteractive object row.
|
|
862
|
+
* @csspart scene-pagination - Scene page navigation and page summary.
|
|
863
|
+
* @csspart scene-status - Localized accepted scene or rejected update status.
|
|
810
864
|
* @status stable
|
|
811
865
|
* @since 4.0.0
|
|
812
866
|
*/
|
|
813
|
-
export declare class LyraMap extends LyraElement<LyraMapEventMap>{protected static collectionSupport:import("../../../internal/lyra-element.js").LyraCollectionSupport;protected static readonly immutableEventDetails:readonly string[];
|
|
867
|
+
export declare class LyraMap extends LyraElement<LyraMapEventMap>{protected static collectionSupport:import("../../../internal/lyra-element.js").LyraCollectionSupport;protected static readonly immutableEventDetails:readonly string[];private geographicSceneValue?;private geographicSceneOwner?;private geographicSceneFacade?;private geographicSceneDocument?;private unregisterGeographicScene?;private geographicSceneRender?;private geographicSceneRenderAttempt?;private geographicSceneRenderFailure?;private geographicScenePublished?;private sceneRepairFocus;private scenePanelOpen;private scenePage;
|
|
868
|
+
/** Geographic objects with an accessible text alternative. Connected assignments synchronously
|
|
869
|
+
* admit an owned snapshot; invalid input preserves accepted objects. Undefined clears ownership.
|
|
870
|
+
* Markers, paths and arcs are drawn on the map; models are not. `lr-map-scene-state` reports
|
|
871
|
+
* `loading`, then `ready`, `partial` (for example code `altitude` when an elevated path or arc is
|
|
872
|
+
* drawn as its ground track, or `model`) or `unavailable`.
|
|
873
|
+
* The authored property remains caller-owned; mutate by assigning a new scene object. */
|
|
874
|
+
get scene():LyraMapScene|undefined;set scene(value:LyraMapScene|undefined);private connectGeographicScene;private closeGeographicScene;private geographicSceneChanged;private stopGeographicSceneRender;private syncGeographicSceneStatus;private syncGeographicSceneRender;private syncGeographicSceneRenderer;private sceneStatusMessage;private sceneInteractionAllowed;private activateSceneObject;private renderGeographicScene;
|
|
814
875
|
/** MapLibre features and admitted marker snapshots carry opaque peer values that the generic
|
|
815
876
|
* event-detail snapshotter must not walk. The marker is already a frozen canonical record; its
|
|
816
877
|
* `unsafeHtml` value therefore reaches both Popup and activation consumers by identity. */
|
|
@@ -820,7 +881,17 @@ protected static readonly identityCollectionProperties:readonly string[];protect
|
|
|
820
881
|
/** Starts the shared optional-peer import without constructing a map. Returns false when the
|
|
821
882
|
* peer is unavailable, so applications can decide whether to render their own fallback before
|
|
822
883
|
* connecting an element. */
|
|
823
|
-
static preload(engine?:LyraMapEngine):Promise<boolean>;constructor();
|
|
884
|
+
static preload(engine?:LyraMapEngine):Promise<boolean>;constructor();private _projection?;
|
|
885
|
+
/** Optional projection override. Unset follows the current mapStyle, including its full
|
|
886
|
+
* projection expression. Invalid values normalize to unset. Clearing restores that style's
|
|
887
|
+
* captured projection. Same-style changes are covered by whenIdle(), not a new style-load event. */
|
|
888
|
+
get projection():LyraMapProjection|undefined;set projection(value:LyraMapProjection|undefined);private _terrain?;private terrainInvalid;
|
|
889
|
+
/** Optional terrain override using an existing raster-dem source in mapStyle. Exaggeration
|
|
890
|
+
* defaults to 1 and must be finite and nonnegative (there is no upper cap). Null disables
|
|
891
|
+
* terrain; undefined restores the current style's terrain. The value is snapshotted on assignment.
|
|
892
|
+
* Invalid configuration or unavailable capabilities show the localized map fallback; reconnect
|
|
893
|
+
* or assign a valid mapStyle to retry. Sources remain caller-owned. Await whenIdle() after changes. */
|
|
894
|
+
get terrain():LyraMapTerrain|null|undefined;set terrain(value:LyraMapTerrain|null|undefined);private sceneConfiguration?;private sceneRequest;private sceneControlsRequestPending;private syncSceneConfiguration;
|
|
824
895
|
/** Initial and controlled map center as `[longitude, latitude]`. Once the camera settles after
|
|
825
896
|
* a user gesture or `fitBounds()`, it holds that camera (see `lr-map-view-change`), so a map
|
|
826
897
|
* rebuilt after a reconnect opens where the user left it. Assigning a value the map already
|
|
@@ -915,7 +986,7 @@ hash:boolean|string;
|
|
|
915
986
|
* are preserved, and a fragment made only of named fields gets the camera prepended. `'unnamed'`
|
|
916
987
|
* takes `hash = true`; a string `hash` is invalid and shows the localized hash feedback. Two
|
|
917
988
|
* maps cannot own the unnamed token of one window, but one may own it beside named owners. */
|
|
918
|
-
hashFormat:LyraMapHashFormat;private get hashOption();private hashOwner?;private hashRuntimePending;private hashRuntimeFailed;private applyingHash;private hashIssue?;private controlIssue?;private pendingHashIssue?;private pendingControlIssue;private setControlIssue;private hashRequested;private hashRuntime;private featureLoads;private trackFeatureLoad;private syncHash;private applyHash;private writeHash;
|
|
989
|
+
hashFormat:LyraMapHashFormat;private get hashOption();private hashOwner?;private hashRuntimePending;private hashRuntimeFailed;private applyingHash;private hashIssue?;private controlIssue?;private sceneControlIssue;private pendingSceneControlIssue;private setSceneControlIssue;private pendingHashIssue?;private pendingControlIssue;private controlOutlines;private pendingControlOutlines;private setControlOutlines;private setControlIssue;private hashRequested;private hashRuntime;private featureLoads;private trackFeatureLoad;private syncHash;private applyHash;private writeHash;
|
|
919
990
|
/**
|
|
920
991
|
* Where the content slotted into `anchor` sits, `[longitude, latitude]`, or `null`/`undefined`
|
|
921
992
|
* for none. The slotted content (a feature's details, say) is placed above the point, flipped
|
|
@@ -1176,7 +1247,7 @@ label?:string;
|
|
|
1176
1247
|
/** Optional engine. Set before connecting; changes take effect after disconnect/reconnect.
|
|
1177
1248
|
* `modular` loads `@aceshooting/lyra-map`; `maplibre` explicitly selects the full `maplibre-gl`
|
|
1178
1249
|
* peer. No engine is substituted when the selected peer is unavailable. */
|
|
1179
|
-
engine:LyraMapEngine;private loading;private failure?;private readonly announcements;private loadLibrary;private visible;private constructionScheduler?;private constructionMode;private constructionDelay?;private containerEl?;private anchorEl?;private anchorBoundaryEl?;private _map?;private _styleLoaded;private _appliedChoroplethSourceId?;private _appliedFillLayerId?;private _appliedDataLayerIds;private _appliedDataLayerShapes;private _appliedGeoJson;private _nextDataLayerId;private nextPointIconId;private appliedPointPaint;private appliedPointMuting;private appliedPointIcons;private _maplibreModule?;private _webglReady;private _markerInstances;private _markerLabels;private _markerPopupIds;private readonly markerActivationDetails;private _configuredPopups;private _nextPopupId;private peerChromeObserver?;private observedPeerContainer?;private mapResizeObserver?;private observedMapContainer?;private _markerColors;private _markerSources;private _connectGeneration;private _styleGeneration;private readonly readiness;private readonly controlsReadiness;private ownedFeatures?;private externalFeatures?;private externalFeatureWorkStarted;private externalIdStyle;private externalIdCounter;private readonly externalSourceIds;private readonly appliedGeoLabels;private readonly peerEvents;private optionalFeatureWorkStarted;
|
|
1250
|
+
engine:LyraMapEngine;private loading;private failure?;private readonly announcements;private loadLibrary;private visible;private constructionScheduler?;private constructionMode;private constructionDelay?;private containerEl?;private anchorEl?;private anchorBoundaryEl?;private _map?;private _styleLoaded;private _appliedChoroplethSourceId?;private _appliedFillLayerId?;private _appliedDataLayerIds;private _appliedDataLayerShapes;private _appliedGeoJson;private _nextDataLayerId;private nextPointIconId;private appliedPointPaint;private appliedPointMuting;private appliedPointIcons;private cameraSessionConfigurationRevision;private cameraSessionConfigurationApplied;private cameraSessionConfigurationApplying;private cameraSession?;private unregisterCameraSession?;private _maplibreModule?;private _webglReady;private _markerInstances;private _markerLabels;private _markerPopupIds;private readonly markerActivationDetails;private _configuredPopups;private _nextPopupId;private peerChromeObserver?;private observedPeerContainer?;private mapResizeObserver?;private observedMapContainer?;private _markerColors;private _markerSources;private _connectGeneration;private _styleGeneration;private readonly readiness;private readonly controlsReadiness;private ownedFeatures?;private externalFeatures?;private externalFeatureWorkStarted;private externalIdStyle;private externalIdCounter;private readonly externalSourceIds;private readonly appliedGeoLabels;private readonly peerEvents;private optionalFeatureWorkStarted;
|
|
1180
1251
|
/** Explicit basemap layer opt-in; all other basemap features remain noninteractive. Each entry
|
|
1181
1252
|
* names one layer by `layerId`, or selects every current style layer whose `source`,
|
|
1182
1253
|
* `sourceLayer` and `layerType` match the fields it gives (for example
|
|
@@ -1186,6 +1257,14 @@ engine:LyraMapEngine;private loading;private failure?;private readonly announcem
|
|
|
1186
1257
|
interactiveBasemapLayers:readonly LyraMapBasemapInteraction[];
|
|
1187
1258
|
/** Pick coordinates by clicking the map or using the localized center-pick button.*/
|
|
1188
1259
|
pickMode:boolean;
|
|
1260
|
+
/**
|
|
1261
|
+
* Opt-in keyboard activation: while the map canvas has focus, an unmodified Enter or Space
|
|
1262
|
+
* activates the interactive feature at the view centre (the camera centre, inside any
|
|
1263
|
+
* `cameraPadding`) exactly as a click there would, emitting `lr-map-click` with
|
|
1264
|
+
* `trigger: 'keyboard'`. Feature priority is the click's. Not active in pick mode, while drawing
|
|
1265
|
+
* is armed, or while the map is disabled or inert. Default `false` leaves both keys untouched.
|
|
1266
|
+
*/
|
|
1267
|
+
keyboardActivation:boolean;
|
|
1189
1268
|
/** Arms bounded line or polygon drawing. The first accepted vertex starts the session.
|
|
1190
1269
|
* Pick mode cancels drawing without automatic resumption. Completion/cancellation reset to none.
|
|
1191
1270
|
* Drawing preserves pan/zoom and temporarily owns double-click zoom. Maximum 512 vertices.
|
|
@@ -1205,7 +1284,7 @@ drawingMeasurements:boolean;private drawingIssue?;private drawingRevision;privat
|
|
|
1205
1284
|
get map():LyraMapInstance|undefined;
|
|
1206
1285
|
/**
|
|
1207
1286
|
* Resolves when the current connection/style has restored generated and registered overlays,
|
|
1208
|
-
* images and
|
|
1287
|
+
* images, basemap overrides and declarative projection/terrain, including asynchronous image and feature preparation. Callable while the connected map is still loading or
|
|
1209
1288
|
* waiting to become visible. Rejects with AbortError when disconnected or superseded, and
|
|
1210
1289
|
* MapReadinessError on a current load/preparation failure. A completed promise describes only
|
|
1211
1290
|
* that style; call again after assigning a new mapStyle.
|
|
@@ -1295,7 +1374,7 @@ easeTo(options:LyraMapCameraOptions):boolean;
|
|
|
1295
1374
|
* way to re-centre the map on a `center` the host already assigned (re-assigning an equal
|
|
1296
1375
|
* `center` is a no-op).
|
|
1297
1376
|
*/
|
|
1298
|
-
jumpTo(options:LyraMapCameraOptions):boolean;private runCameraCommand;private executeCameraCommand;private applyCameraCommand;private applyPendingCommand;
|
|
1377
|
+
jumpTo(options:LyraMapCameraOptions):boolean;private acquireCameraSession;private cameraSessionReady;private interruptCameraSession;private cameraSessionMovement;private runCameraCommand;private executeCameraCommand;private applyCameraCommand;private applyPendingCommand;
|
|
1299
1378
|
/**
|
|
1300
1379
|
* Frames everything the map draws: `markers`, every `dataLayers` source and the `choropleth`,
|
|
1301
1380
|
* measured from the geometry the element has already admitted rather than from the host's raw
|
|
@@ -1337,7 +1416,15 @@ exportImage(options?:LyraMapImageExportOptions):Promise<Blob>;private imageExpor
|
|
|
1337
1416
|
closeAnchor():boolean;
|
|
1338
1417
|
/** Explicitly focuses the first eligible rendered anchor action. Returns false for a hidden,
|
|
1339
1418
|
* stale, inert or not-yet-placed anchor, or when no eligible target exists. Never queues focus. */
|
|
1340
|
-
focusAnchor():boolean;private anchorRuntime;private anchorPlacementRuntime;private anchorChildren;private syncAnchor;private scheduleAnchorSync;private onAnchorFocus;private onAnchorSlotChange;private onAnchorsSlotChange;private anchorMapHost;private anchorHost;private zoomIntoCluster;private clusterZoomToken;private applyCameraPadding;
|
|
1419
|
+
focusAnchor():boolean;private anchorRuntime;private anchorPlacementRuntime;private anchorChildren;private syncAnchor;private scheduleAnchorSync;private onAnchorFocus;private onAnchorSlotChange;private onAnchorsSlotChange;private anchorMapHost;private anchorHost;private zoomIntoCluster;private clusterZoomToken;private applyCameraPadding;
|
|
1420
|
+
/**
|
|
1421
|
+
* Synchronously reads the current visible box as frozen `[[west, south], [east, north]]`: by
|
|
1422
|
+
* default inside the applied `cameraPadding` (the box `lr-map-move` and `lr-map-view-change`
|
|
1423
|
+
* report), or the whole viewport with `{ padded: false }`. `west` is wrapped into [-180, 180]
|
|
1424
|
+
* and `east` keeps the span, so it can exceed 180 across the antimeridian; latitudes are clamped
|
|
1425
|
+
* to [-90, 90]. Returns `null` before the engine exists or when the peer cannot report a box.
|
|
1426
|
+
*/
|
|
1427
|
+
getVisibleBounds(options?:LyraMapVisibleBoundsOptions):LyraMapBounds|null;private readVisibleBounds;private scheduleMoveReport;private flushMoveReport;private cancelMoveReport;private reportMove;private applyFit;private applyPendingFit;private reflectCamera;private pushCamera;private writeCamera;connectedCallback():void;disconnectedCallback():void;private failureMessage;private failInitialization;private scheduleStyleRequiredFailure;private disposeMap;adoptedCallback():void;private tryConstructMap;private flushMapLoad;private beginStyleReadiness;requestUpdate(...args:Parameters<LyraElement['requestUpdate']>):void;private mapUpdateActive;protected performUpdate():void;protected updated(changed:PropertyValues):void;protected willUpdate(changed:PropertyValues):void;private paintThemeKey?;private paintThemeSources?;private paintThemeTokens;private syncPaintTheme;private readonly mapPaintBatch;private mapPaintBatchActive;private withMapPaintBatch;private removeMapLayer;private setMapPaint;private pendingDrawingTheme;private refreshThemePaint;private refreshThemePaintBatch;
|
|
1341
1428
|
/**
|
|
1342
1429
|
* Records bounded desired state for a currently restored, unambiguous logical source. `true`
|
|
1343
1430
|
* means admission, not a native paint acknowledgement; `whenIdle()` covers application and
|
|
@@ -1366,7 +1453,7 @@ removeFeatureState(target:LyraMapFeatureStateTarget,key?:string):boolean;private
|
|
|
1366
1453
|
get styleLayers():readonly LyraMapStyleLayer[];
|
|
1367
1454
|
/** The sources of the current `mapStyle`, `{ id, type }`, frozen, with the same timing as
|
|
1368
1455
|
* `styleLayers`. At most 1,024 sources are listed. */
|
|
1369
|
-
get styleSources():readonly LyraMapStyleSource[];private captureStyleCatalog;private mapStateDefinitions;private prepareStateRetirement;private configureMapInteractions;private drawingConfigRevision;private drawingConfigApplying;private drawingConfigApplied;private drawingActionAllowed;private mapInteractionAllowed;private mapInteractionBlocked;private syncMapCursor;private observeMapInteractions;private pointerFrame?;private pendingPointer?;private pointerInside;private schedulePointerReport;private endPointerReports;private clearMapHover;
|
|
1456
|
+
get styleSources():readonly LyraMapStyleSource[];private captureStyleCatalog;private mapStateDefinitions;private prepareStateRetirement;private configureMapInteractions;private drawingConfigRevision;private drawingConfigApplying;private drawingConfigApplied;private drawingActionAllowed;private mapInteractionAllowed;private mapInteractionBlocked;private syncMapCursor;private stopObservingMapInteractionState;private observeMapInteractionState;private observeMapInteractions;private pointerFrame?;private pendingPointer?;private pointerInside;private schedulePointerReport;private endPointerReports;private clearMapHover;
|
|
1370
1457
|
/** Opens an explicit vertex-edit session from a valid completed drawing snapshot.
|
|
1371
1458
|
* Mode and vertices are detached through own data properties; geometry and spherical metrics
|
|
1372
1459
|
* are recomputed. Caller metrics are ignored. False leaves existing state unchanged, including
|
|
@@ -1386,7 +1473,7 @@ undoDrawing():boolean;
|
|
|
1386
1473
|
completeDrawing():boolean;
|
|
1387
1474
|
/** Cancels an armed or started drawing and clears its temporary resources and mode. An armed
|
|
1388
1475
|
* mode whose drawing runtime is still loading is cancelled synchronously as well. */
|
|
1389
|
-
cancelDrawing():boolean;private cancelMapDrawing;private resetDrawingMode;private syncDrawing;private drawingRuntime;private drawingHost;private showDrawingError;private drawingErrorMessage;private drawMapCenter;private cancelMapPick;private pickMapCenter;private handleMapInteraction;private cancelFeaturePreparation;private generatedFeatureRequirements;private externalSourceEffects?;private externalLayerInput;private dataLayerOrderGroups;private nativeLayerOrder;private applyDataLayerOrder;private reconcileGeneratedLayers;private resolveStyleOverride;private appliedChoroplethPaintKey?;private applyChoropleth;private choroplethColorExpression;private choroplethNoDataColor;private choroplethOutlineExpression;private resolveChoroplethSourceId;private removeChoropleth;private readonly appliedLayerPaintKeys;private readonly appliedRowRanges;private applyDataLayers;private applyDataLayerRange;private applyDataLayerRendering;private paintDataLayer;private applyGeoLabel;private applyGeometryLayers;private paintGeometryLayers;private lineColor;private mutedPointOpacity;private paintPoints;private pointIconColor;private removePointIcons;private applyPointIcons;private paintPointIcons;private clusterColorExpression;private applyClusterLayers;private paintClusterLayers;private applyHeatmapLayer;private paintHeatmapLayer;private heatmapColorExpression;private styleHasTextFonts;private styleProvidesGlyphs;private resolveDataLayerSourceId;private removeDataLayer;private applyMarkers;private readonly configuredMarkerElements;private configureMarkerInteraction;private emitMarkerActivation;private get effectiveMapLabel();private popupId;private configurePopupSemantics;private stopObservingMapAllocation;private observeMapAllocation;private stopObservingPeerChrome;private peerControlsResizeObserver?;private peerControlsResizeFrame?;private schedulePeerControlInsets;private measurePeerControlInsets;private syncPeerChromeParts;private syncPeerAttributionExpansion;private observePeerChrome;private syncPopupSemantics;private syncMapSemantics;private formatDistance;private formatArea;private drawingSummary;private drawingLabelText;private formatCount;private legendLimitText;private onLegendSlotChange;
|
|
1476
|
+
cancelDrawing():boolean;private cancelMapDrawing;private resetDrawingMode;private syncDrawing;private drawingRuntime;private drawingHost;private showDrawingError;private drawingErrorMessage;private drawMapCenter;private cancelMapPick;private pickMapCenter;private activateMapCenter;private handleMapInteraction;private cancelFeaturePreparation;private generatedFeatureRequirements;private externalSourceEffects?;private externalLayerInput;private dataLayerOrderGroups;private nativeLayerOrder;private applyDataLayerOrder;private reconcileGeneratedLayers;private resolveStyleOverride;private appliedChoroplethPaintKey?;private applyChoropleth;private choroplethColorExpression;private choroplethNoDataColor;private choroplethOutlineExpression;private resolveChoroplethSourceId;private removeChoropleth;private readonly appliedLayerPaintKeys;private readonly appliedRowRanges;private applyDataLayers;private applyDataLayerRange;private applyDataLayerRendering;private paintDataLayer;private applyGeoLabel;private applyGeometryLayers;private paintGeometryLayers;private lineColor;private mutedPointOpacity;private paintPoints;private pointIconColor;private removePointIcons;private applyPointIcons;private paintPointIcons;private clusterColorExpression;private applyClusterLayers;private paintClusterLayers;private applyHeatmapLayer;private paintHeatmapLayer;private heatmapColorExpression;private styleHasTextFonts;private styleProvidesGlyphs;private resolveDataLayerSourceId;private removeDataLayer;private applyMarkers;private readonly configuredMarkerElements;private configureMarkerInteraction;private emitMarkerActivation;private get effectiveMapLabel();private popupId;private configurePopupSemantics;private stopObservingMapAllocation;private observeMapAllocation;private stopObservingPeerChrome;private peerControlsResizeObserver?;private peerControlsResizeFrame?;private schedulePeerControlInsets;private measurePeerControlInsets;private syncPeerChromeParts;private attributionState?;private syncAttributionState;private syncPeerAttributionExpansion;private observePeerChrome;private syncPopupSemantics;private syncMapSemantics;private formatDistance;private formatArea;private drawingSummary;private drawingLabelText;private formatCount;private legendLimitText;private onLegendSlotChange;
|
|
1390
1477
|
/**
|
|
1391
1478
|
* The continuous gradient bar plus its two endpoint captions, or nothing when `legendGradient`
|
|
1392
1479
|
* holds fewer than two usable stops. Part names mirror `lr-heatmap`'s
|