@honua/react 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 +9 -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 +61 -0
- package/contract/index.d.ts.map +1 -0
- package/contract/index.js +51 -0
- package/contract/jobs.d.ts +149 -0
- package/contract/jobs.d.ts.map +1 -0
- package/contract/jobs.js +40 -0
- package/contract/source.d.ts +423 -0
- package/contract/source.d.ts.map +1 -0
- package/contract/source.js +3802 -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 +665 -0
- package/contract/types.d.ts.map +1 -0
- package/contract/types.js +175 -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/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 +577 -0
- package/core/client.d.ts.map +1 -0
- package/core/client.js +1664 -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 +107 -0
- package/core/errors.d.ts.map +1 -0
- package/core/errors.js +156 -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/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-features.d.ts +23 -0
- package/core/ogc-features.d.ts.map +1 -0
- package/core/ogc-features.js +114 -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.d.ts +55 -0
- package/core/stac.d.ts.map +1 -0
- package/core/stac.js +229 -0
- package/core/surfaces.d.ts +527 -0
- package/core/surfaces.d.ts.map +1 -0
- package/core/surfaces.js +1917 -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 +1355 -0
- package/core/types.d.ts.map +1 -0
- package/core/types.js +13 -0
- package/core/wfs-capabilities.d.ts +143 -0
- package/core/wfs-capabilities.d.ts.map +1 -0
- package/core/wfs-capabilities.js +478 -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 +219 -0
- package/core/wfs.d.ts.map +1 -0
- package/core/wfs.js +406 -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 +31 -0
- package/esri-compat/identity-manager.d.ts.map +1 -0
- package/esri-compat/identity-manager.js +115 -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 +35 -0
- package/esri-compat/oauth-info.d.ts.map +1 -0
- package/esri-compat/oauth-info.js +115 -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/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/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/package.json +37 -0
- package/react/context.d.ts +32 -0
- package/react/context.d.ts.map +1 -0
- package/react/context.js +19 -0
- package/react/honua-layer.d.ts +35 -0
- package/react/honua-layer.d.ts.map +1 -0
- package/react/honua-layer.js +47 -0
- package/react/honua-map.d.ts +83 -0
- package/react/honua-map.d.ts.map +1 -0
- package/react/honua-map.js +109 -0
- package/react/honua-popup.d.ts +26 -0
- package/react/honua-popup.d.ts.map +1 -0
- package/react/honua-popup.js +34 -0
- package/react/hooks.d.ts +127 -0
- package/react/hooks.d.ts.map +1 -0
- package/react/hooks.js +206 -0
- package/react/index.d.ts +42 -0
- package/react/index.d.ts.map +1 -0
- package/react/index.js +34 -0
- package/react/provider.d.ts +36 -0
- package/react/provider.d.ts.map +1 -0
- package/react/provider.js +35 -0
- package/react/query-cache.d.ts +76 -0
- package/react/query-cache.d.ts.map +1 -0
- package/react/query-cache.js +188 -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 +43 -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 +264 -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 +43 -0
- package/runtime/map-package-validation.d.ts.map +1 -0
- package/runtime/map-package-validation.js +269 -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/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 +401 -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/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/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,457 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-safe MapLibre expression builder for the Honua SDK.
|
|
3
|
+
*
|
|
4
|
+
* Builds MapLibre Style Spec v8 JSON expressions with TypeScript type checking.
|
|
5
|
+
* Call `.toJSON()` on any expression to get the serializable JSON array.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { expr } from "@honua/sdk";
|
|
10
|
+
*
|
|
11
|
+
* const fill = expr.step(
|
|
12
|
+
* expr.get("population"),
|
|
13
|
+
* "#f7fbff",
|
|
14
|
+
* [10_000, "#6baed6"],
|
|
15
|
+
* [100_000, "#08306b"],
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @module
|
|
20
|
+
*/
|
|
21
|
+
/** Represents a MapLibre color value in the expression type system. */
|
|
22
|
+
export interface ExprColor {
|
|
23
|
+
readonly __brand: "honua-expr-color";
|
|
24
|
+
}
|
|
25
|
+
/** Represents a MapLibre formatted text value in the expression type system. */
|
|
26
|
+
export interface ExprFormatted {
|
|
27
|
+
readonly __brand: "honua-expr-formatted";
|
|
28
|
+
}
|
|
29
|
+
/** Represents a resolved image reference in the expression type system. */
|
|
30
|
+
export interface ExprImage {
|
|
31
|
+
readonly __brand: "honua-expr-image";
|
|
32
|
+
}
|
|
33
|
+
/** Union of primitive value types in the MapLibre expression system. */
|
|
34
|
+
export type ExprValue = number | string | boolean | null;
|
|
35
|
+
/** Accepts a raw number, a number expression, or a polymorphic value expression (e.g. from `get()`). */
|
|
36
|
+
export type NumberInput = number | Expr<number> | Expr<ExprValue>;
|
|
37
|
+
/** Accepts a raw string, a string expression, or a polymorphic value expression. */
|
|
38
|
+
export type StringInput = string | Expr<string> | Expr<ExprValue>;
|
|
39
|
+
/** Accepts a raw boolean, a boolean expression, or a polymorphic value expression. */
|
|
40
|
+
export type BooleanInput = boolean | Expr<boolean> | Expr<ExprValue>;
|
|
41
|
+
/** Accepts a raw CSS color string, a color expression, or a polymorphic value expression. */
|
|
42
|
+
export type ColorInput = string | Expr<ExprColor> | Expr<ExprValue>;
|
|
43
|
+
/** Accepts any raw primitive value or any expression. Used for polymorphic positions. */
|
|
44
|
+
export type Resolvable = ExprValue | Expr<ExprValue> | Expr<ExprColor> | Expr<unknown>;
|
|
45
|
+
/**
|
|
46
|
+
* A type-safe wrapper around a MapLibre style expression.
|
|
47
|
+
*
|
|
48
|
+
* The type parameter `T` tracks the expression's return type at compile time.
|
|
49
|
+
* Call `.toJSON()` to serialize to the MapLibre JSON expression format.
|
|
50
|
+
*/
|
|
51
|
+
export declare class Expr<T = unknown> {
|
|
52
|
+
#private;
|
|
53
|
+
/** @internal Phantom type field for compile-time safety — do not access at runtime. */
|
|
54
|
+
readonly __type: T;
|
|
55
|
+
constructor(json: unknown);
|
|
56
|
+
/** Serialize to the MapLibre JSON expression format. */
|
|
57
|
+
toJSON(): unknown;
|
|
58
|
+
}
|
|
59
|
+
/** Get a feature property value, or a property from a specified object. */
|
|
60
|
+
export declare function get(property: string, object?: Expr<unknown>): Expr<ExprValue>;
|
|
61
|
+
/** Test whether a feature property exists. */
|
|
62
|
+
export declare function has(property: string, object?: Expr<unknown>): Expr<boolean>;
|
|
63
|
+
/** Get an element from an array by index. */
|
|
64
|
+
export declare function at(index: NumberInput, array: Expr<unknown>): Expr<ExprValue>;
|
|
65
|
+
/** Test whether a value is in an array or a substring is in a string. */
|
|
66
|
+
export declare function contains(needle: Resolvable, haystack: Resolvable): Expr<boolean>;
|
|
67
|
+
/** Find the first index of a value in an array or substring in a string. Returns -1 if not found. */
|
|
68
|
+
export declare function indexOf(needle: Resolvable, haystack: Resolvable, fromIndex?: NumberInput): Expr<number>;
|
|
69
|
+
/** Extract a subarray or substring. Negative indices count from the end. */
|
|
70
|
+
export declare function slice(input: Resolvable, start: NumberInput, end?: NumberInput): Expr<ExprValue>;
|
|
71
|
+
/** Get the length of an array or string. */
|
|
72
|
+
export declare function length(input: Resolvable): Expr<number>;
|
|
73
|
+
/** Get the feature's id. */
|
|
74
|
+
export declare function id(): Expr<ExprValue>;
|
|
75
|
+
/** Get the feature's geometry type ("Point", "LineString", or "Polygon"). */
|
|
76
|
+
export declare function geometryType(): Expr<string>;
|
|
77
|
+
/** Get the feature's properties object. */
|
|
78
|
+
export declare function properties(): Expr<Record<string, unknown>>;
|
|
79
|
+
/** Read a property from the feature's programmatic state. Paint properties only. */
|
|
80
|
+
export declare function featureState(property: string): Expr<ExprValue>;
|
|
81
|
+
/** Returns the progress along a gradient line. Used in line-gradient paint property. */
|
|
82
|
+
export declare function lineProgress(): Expr<number>;
|
|
83
|
+
/** Returns the kernel density estimation of a heatmap layer. Used in heatmap-color paint. */
|
|
84
|
+
export declare function heatmapDensity(): Expr<number>;
|
|
85
|
+
/** Returns the current map pitch in degrees. */
|
|
86
|
+
export declare function pitch(): Expr<number>;
|
|
87
|
+
/** Returns the accumulated value of a cluster property. */
|
|
88
|
+
export declare function accumulated(): Expr<ExprValue>;
|
|
89
|
+
/** Returns the distance from the center of the viewport. Used in 3D camera-reactive styling. */
|
|
90
|
+
export declare function distanceFromCenter(): Expr<number>;
|
|
91
|
+
/** Wrap a raw JSON array or object as a literal expression value. */
|
|
92
|
+
export declare function literal(value: unknown[] | Record<string, unknown>): Expr<ExprValue>;
|
|
93
|
+
/** Coerce a value to boolean. */
|
|
94
|
+
export declare function toBoolean(input: Resolvable): Expr<boolean>;
|
|
95
|
+
/** Coerce to number, trying each input in order until one succeeds. */
|
|
96
|
+
export declare function toNumber(...inputs: Resolvable[]): Expr<number>;
|
|
97
|
+
/** Coerce a value to string. */
|
|
98
|
+
export declare function exprToString(input: Resolvable): Expr<string>;
|
|
99
|
+
/** Coerce to color, trying each input in order until one succeeds. */
|
|
100
|
+
export declare function toColor(...inputs: Resolvable[]): Expr<ExprColor>;
|
|
101
|
+
/** Get the type of a value as a string ("string", "number", "boolean", "object", "array", "null"). */
|
|
102
|
+
export declare function typeOf(input: Resolvable): Expr<string>;
|
|
103
|
+
/** Strict equality. */
|
|
104
|
+
export declare function eq(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
105
|
+
/** Strict inequality. */
|
|
106
|
+
export declare function neq(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
107
|
+
/** Less than. */
|
|
108
|
+
export declare function lt(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
109
|
+
/** Less than or equal. */
|
|
110
|
+
export declare function lte(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
111
|
+
/** Greater than. */
|
|
112
|
+
export declare function gt(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
113
|
+
/** Greater than or equal. */
|
|
114
|
+
export declare function gte(left: Resolvable, right: Resolvable): Expr<boolean>;
|
|
115
|
+
/** Logical negation. */
|
|
116
|
+
export declare function not(input: BooleanInput): Expr<boolean>;
|
|
117
|
+
/** True if all inputs are true. Short-circuits on first false. */
|
|
118
|
+
export declare function all(...inputs: BooleanInput[]): Expr<boolean>;
|
|
119
|
+
/** True if any input is true. Short-circuits on first true. */
|
|
120
|
+
export declare function any(...inputs: BooleanInput[]): Expr<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* First-match conditional (like if/else-if/else).
|
|
123
|
+
*
|
|
124
|
+
* Pass `[condition, output]` tuples followed by a fallback value:
|
|
125
|
+
* ```ts
|
|
126
|
+
* expr.case(
|
|
127
|
+
* [expr.gt(expr.get("pop"), 1_000_000), "large"],
|
|
128
|
+
* [expr.gt(expr.get("pop"), 100_000), "medium"],
|
|
129
|
+
* "small",
|
|
130
|
+
* )
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
export declare function switchCase(...args: Array<[BooleanInput, Resolvable] | Resolvable>): Expr<ExprValue>;
|
|
134
|
+
/**
|
|
135
|
+
* Switch-style matching on an input value.
|
|
136
|
+
*
|
|
137
|
+
* Pass `[label(s), output]` tuples followed by a fallback. Labels can be single
|
|
138
|
+
* values or arrays for multi-match:
|
|
139
|
+
* ```ts
|
|
140
|
+
* expr.match(
|
|
141
|
+
* expr.get("type"),
|
|
142
|
+
* ["residential", "#0f0"],
|
|
143
|
+
* [["commercial", "retail"], "#00f"],
|
|
144
|
+
* "#888",
|
|
145
|
+
* )
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
export declare function matchExpr(input: Resolvable, ...casesAndFallback: Array<[Resolvable | Resolvable[], Resolvable] | Resolvable>): Expr<ExprValue>;
|
|
149
|
+
/** Return the first non-null value from the given expressions. */
|
|
150
|
+
export declare function coalesce(...inputs: Resolvable[]): Expr<ExprValue>;
|
|
151
|
+
/** Sum of numbers. */
|
|
152
|
+
export declare function add(...inputs: NumberInput[]): Expr<number>;
|
|
153
|
+
/** Subtraction (two args) or negation (one arg). */
|
|
154
|
+
export declare function subtract(a: NumberInput, b?: NumberInput): Expr<number>;
|
|
155
|
+
/** Product of numbers. */
|
|
156
|
+
export declare function multiply(...inputs: NumberInput[]): Expr<number>;
|
|
157
|
+
/** Division. */
|
|
158
|
+
export declare function divide(a: NumberInput, b: NumberInput): Expr<number>;
|
|
159
|
+
/** Modulo (remainder). */
|
|
160
|
+
export declare function mod(a: NumberInput, b: NumberInput): Expr<number>;
|
|
161
|
+
/** Exponentiation: base^exponent. */
|
|
162
|
+
export declare function pow(base: NumberInput, exponent: NumberInput): Expr<number>;
|
|
163
|
+
/** Absolute value. */
|
|
164
|
+
export declare function abs(input: NumberInput): Expr<number>;
|
|
165
|
+
/** Ceiling (round up). */
|
|
166
|
+
export declare function ceil(input: NumberInput): Expr<number>;
|
|
167
|
+
/** Floor (round down). */
|
|
168
|
+
export declare function floor(input: NumberInput): Expr<number>;
|
|
169
|
+
/** Round to nearest integer. */
|
|
170
|
+
export declare function round(input: NumberInput): Expr<number>;
|
|
171
|
+
/** Square root. */
|
|
172
|
+
export declare function sqrt(input: NumberInput): Expr<number>;
|
|
173
|
+
/** Natural logarithm. */
|
|
174
|
+
export declare function ln(input: NumberInput): Expr<number>;
|
|
175
|
+
/** Base-2 logarithm. */
|
|
176
|
+
export declare function log2(input: NumberInput): Expr<number>;
|
|
177
|
+
/** Base-10 logarithm. */
|
|
178
|
+
export declare function log10(input: NumberInput): Expr<number>;
|
|
179
|
+
/** Sine (input in radians). */
|
|
180
|
+
export declare function sin(input: NumberInput): Expr<number>;
|
|
181
|
+
/** Cosine (input in radians). */
|
|
182
|
+
export declare function cos(input: NumberInput): Expr<number>;
|
|
183
|
+
/** Tangent (input in radians). */
|
|
184
|
+
export declare function tan(input: NumberInput): Expr<number>;
|
|
185
|
+
/** Arcsine (result in radians). */
|
|
186
|
+
export declare function asin(input: NumberInput): Expr<number>;
|
|
187
|
+
/** Arccosine (result in radians). */
|
|
188
|
+
export declare function acos(input: NumberInput): Expr<number>;
|
|
189
|
+
/** Arctangent (result in radians). */
|
|
190
|
+
export declare function atan(input: NumberInput): Expr<number>;
|
|
191
|
+
/** Minimum of the given numbers. */
|
|
192
|
+
export declare function min(...inputs: NumberInput[]): Expr<number>;
|
|
193
|
+
/** Maximum of the given numbers. */
|
|
194
|
+
export declare function max(...inputs: NumberInput[]): Expr<number>;
|
|
195
|
+
/** Euler's number (e ≈ 2.718). */
|
|
196
|
+
export declare function e(): Expr<number>;
|
|
197
|
+
/** Pi (π ≈ 3.14159). */
|
|
198
|
+
export declare function pi(): Expr<number>;
|
|
199
|
+
/** Natural logarithm of 2 (ln(2) ≈ 0.693). */
|
|
200
|
+
export declare function ln2Const(): Expr<number>;
|
|
201
|
+
/** Concatenate values into a string. Non-string values are coerced. */
|
|
202
|
+
export declare function concat(...inputs: Resolvable[]): Expr<string>;
|
|
203
|
+
/** Convert a string to uppercase. */
|
|
204
|
+
export declare function upcase(input: StringInput): Expr<string>;
|
|
205
|
+
/** Convert a string to lowercase. */
|
|
206
|
+
export declare function downcase(input: StringInput): Expr<string>;
|
|
207
|
+
/** Create a color from RGB components (0-255). */
|
|
208
|
+
export declare function rgb(red: NumberInput, green: NumberInput, blue: NumberInput): Expr<ExprColor>;
|
|
209
|
+
/** Create a color from RGBA components (RGB 0-255, alpha 0-1). */
|
|
210
|
+
export declare function rgba(red: NumberInput, green: NumberInput, blue: NumberInput, alpha: NumberInput): Expr<ExprColor>;
|
|
211
|
+
/** Create a color from HSL components (hue 0-360, saturation/lightness 0-100%). */
|
|
212
|
+
export declare function hsl(hue: NumberInput, saturation: NumberInput, lightness: NumberInput): Expr<ExprColor>;
|
|
213
|
+
/** Create a color from HSLA components (hue 0-360, saturation/lightness 0-100%, alpha 0-1). */
|
|
214
|
+
export declare function hsla(hue: NumberInput, saturation: NumberInput, lightness: NumberInput, alpha: NumberInput): Expr<ExprColor>;
|
|
215
|
+
/** Decompose a color into its RGBA components as `[r, g, b, a]`. */
|
|
216
|
+
export declare function toRgba(color: ColorInput): Expr<number[]>;
|
|
217
|
+
/** Branded type for interpolation method arrays. */
|
|
218
|
+
export type InterpolationMethod = unknown[] & {
|
|
219
|
+
readonly __brand: "InterpolationMethod";
|
|
220
|
+
};
|
|
221
|
+
/** Linear interpolation method. */
|
|
222
|
+
export declare function linear(): InterpolationMethod;
|
|
223
|
+
/** Exponential interpolation method with the given base. */
|
|
224
|
+
export declare function exponential(base: number): InterpolationMethod;
|
|
225
|
+
/** Cubic bezier interpolation method. */
|
|
226
|
+
export declare function cubicBezier(x1: number, y1: number, x2: number, y2: number): InterpolationMethod;
|
|
227
|
+
/**
|
|
228
|
+
* Piecewise-constant function (staircase). Returns the output value of the stop
|
|
229
|
+
* whose input value is just less than `input`.
|
|
230
|
+
*
|
|
231
|
+
* ```ts
|
|
232
|
+
* expr.step(
|
|
233
|
+
* expr.get("population"),
|
|
234
|
+
* "#f7fbff", // default (input < first stop)
|
|
235
|
+
* [10_000, "#6baed6"],
|
|
236
|
+
* [100_000, "#08306b"],
|
|
237
|
+
* )
|
|
238
|
+
* ```
|
|
239
|
+
*/
|
|
240
|
+
export declare function step(input: Resolvable, defaultOutput: Resolvable, ...stops: [number, Resolvable][]): Expr<ExprValue>;
|
|
241
|
+
/**
|
|
242
|
+
* Continuous interpolation between stops.
|
|
243
|
+
*
|
|
244
|
+
* ```ts
|
|
245
|
+
* expr.interpolate(
|
|
246
|
+
* expr.linear(),
|
|
247
|
+
* expr.zoom(),
|
|
248
|
+
* [0, 0],
|
|
249
|
+
* [10, 1],
|
|
250
|
+
* [20, 5],
|
|
251
|
+
* )
|
|
252
|
+
* ```
|
|
253
|
+
*/
|
|
254
|
+
export declare function interpolate(method: InterpolationMethod, input: Resolvable, ...stops: [number, Resolvable][]): Expr<ExprValue>;
|
|
255
|
+
/** Interpolate in the HCL color space. Produces smoother color gradients. */
|
|
256
|
+
export declare function interpolateHcl(method: InterpolationMethod, input: Resolvable, ...stops: [number, ColorInput][]): Expr<ExprColor>;
|
|
257
|
+
/** Interpolate in the CIELAB color space. */
|
|
258
|
+
export declare function interpolateLab(method: InterpolationMethod, input: Resolvable, ...stops: [number, ColorInput][]): Expr<ExprColor>;
|
|
259
|
+
/** The current map zoom level. In paint/layout, may only be the direct input to a top-level `step` or `interpolate`. */
|
|
260
|
+
export declare function zoom(): Expr<number>;
|
|
261
|
+
/**
|
|
262
|
+
* Bind variables for use in a result expression.
|
|
263
|
+
*
|
|
264
|
+
* ```ts
|
|
265
|
+
* expr.let({ x: expr.get("population") },
|
|
266
|
+
* expr.multiply(expr.var("x"), 2),
|
|
267
|
+
* )
|
|
268
|
+
* ```
|
|
269
|
+
*/
|
|
270
|
+
export declare function letExpr(bindings: Record<string, Resolvable>, result: Resolvable): Expr<ExprValue>;
|
|
271
|
+
/** Reference a variable bound by `let`. */
|
|
272
|
+
export declare function varExpr(name: string): Expr<ExprValue>;
|
|
273
|
+
/** Options for a single segment in a `format()` expression. */
|
|
274
|
+
export interface FormatSegmentOptions {
|
|
275
|
+
"font-scale"?: NumberInput;
|
|
276
|
+
"text-font"?: Expr<unknown> | string[];
|
|
277
|
+
"text-color"?: ColorInput;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Create a formatted text value from one or more text segments with per-segment styling.
|
|
281
|
+
*
|
|
282
|
+
* Each segment is `[text, options?]`:
|
|
283
|
+
* ```ts
|
|
284
|
+
* expr.format(
|
|
285
|
+
* [expr.get("name"), { "font-scale": 1.2, "text-color": "#000" }],
|
|
286
|
+
* ["\n"],
|
|
287
|
+
* [expr.get("description")],
|
|
288
|
+
* )
|
|
289
|
+
* ```
|
|
290
|
+
*/
|
|
291
|
+
export declare function format(...segments: [StringInput, FormatSegmentOptions?][]): Expr<ExprFormatted>;
|
|
292
|
+
/** Options for `numberFormat()`. */
|
|
293
|
+
export interface NumberFormatOptions {
|
|
294
|
+
locale?: StringInput;
|
|
295
|
+
currency?: StringInput;
|
|
296
|
+
"min-fraction-digits"?: NumberInput;
|
|
297
|
+
"max-fraction-digits"?: NumberInput;
|
|
298
|
+
}
|
|
299
|
+
/** Format a number using locale-sensitive formatting. */
|
|
300
|
+
export declare function numberFormat(input: NumberInput, options?: NumberFormatOptions): Expr<string>;
|
|
301
|
+
/** Branded type for a collator value. */
|
|
302
|
+
export interface ExprCollator {
|
|
303
|
+
readonly __brand: "honua-expr-collator";
|
|
304
|
+
}
|
|
305
|
+
/** Options for `collator()`. */
|
|
306
|
+
export interface CollatorOptions {
|
|
307
|
+
"case-sensitive"?: BooleanInput;
|
|
308
|
+
"diacritic-sensitive"?: BooleanInput;
|
|
309
|
+
locale?: StringInput;
|
|
310
|
+
}
|
|
311
|
+
/** Create a collator for locale-aware string comparisons. */
|
|
312
|
+
export declare function collator(options?: CollatorOptions): Expr<ExprCollator>;
|
|
313
|
+
/** Get the resolved locale string from a collator. */
|
|
314
|
+
export declare function resolvedLocale(input: Expr<ExprCollator>): Expr<string>;
|
|
315
|
+
/** Resolve an image name from the style's sprite. Usable in `icon-image` and pattern properties. */
|
|
316
|
+
export declare function image(name: StringInput): Expr<ExprImage>;
|
|
317
|
+
export interface GeoJsonPoint {
|
|
318
|
+
type: "Point";
|
|
319
|
+
coordinates: number[];
|
|
320
|
+
}
|
|
321
|
+
export interface GeoJsonMultiPoint {
|
|
322
|
+
type: "MultiPoint";
|
|
323
|
+
coordinates: number[][];
|
|
324
|
+
}
|
|
325
|
+
export interface GeoJsonLineString {
|
|
326
|
+
type: "LineString";
|
|
327
|
+
coordinates: number[][];
|
|
328
|
+
}
|
|
329
|
+
export interface GeoJsonMultiLineString {
|
|
330
|
+
type: "MultiLineString";
|
|
331
|
+
coordinates: number[][][];
|
|
332
|
+
}
|
|
333
|
+
export interface GeoJsonPolygon {
|
|
334
|
+
type: "Polygon";
|
|
335
|
+
coordinates: number[][][];
|
|
336
|
+
}
|
|
337
|
+
export interface GeoJsonMultiPolygon {
|
|
338
|
+
type: "MultiPolygon";
|
|
339
|
+
coordinates: number[][][][];
|
|
340
|
+
}
|
|
341
|
+
export type GeoJsonGeometry = GeoJsonPoint | GeoJsonMultiPoint | GeoJsonLineString | GeoJsonMultiLineString | GeoJsonPolygon | GeoJsonMultiPolygon;
|
|
342
|
+
/** Shortest distance in meters from the evaluated feature to the input geometry. */
|
|
343
|
+
export declare function distance(geometry: GeoJsonGeometry | Expr<ExprValue>): Expr<number>;
|
|
344
|
+
/** True if the evaluated feature is entirely within the input geometry. */
|
|
345
|
+
export declare function within(geometry: GeoJsonGeometry | Expr<ExprValue>): Expr<boolean>;
|
|
346
|
+
/** True if the evaluated feature intersects the input geometry. */
|
|
347
|
+
export declare function intersects(geometry: GeoJsonGeometry | Expr<ExprValue>): Expr<boolean>;
|
|
348
|
+
/**
|
|
349
|
+
* Namespace object that groups all expression builder functions.
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* ```ts
|
|
353
|
+
* import { expr } from "@honua/sdk";
|
|
354
|
+
*
|
|
355
|
+
* const fillColor = expr.step(
|
|
356
|
+
* expr.get("assessed_value"),
|
|
357
|
+
* "#f7fbff",
|
|
358
|
+
* [100_000, "#6baed6"],
|
|
359
|
+
* [500_000, "#08306b"],
|
|
360
|
+
* );
|
|
361
|
+
*
|
|
362
|
+
* map.addLayer({
|
|
363
|
+
* id: "parcel-fill",
|
|
364
|
+
* source: "parcels",
|
|
365
|
+
* type: "fill",
|
|
366
|
+
* paint: { "fill-color": fillColor.toJSON() },
|
|
367
|
+
* });
|
|
368
|
+
* ```
|
|
369
|
+
*/
|
|
370
|
+
export declare const expr: {
|
|
371
|
+
readonly get: typeof get;
|
|
372
|
+
readonly has: typeof has;
|
|
373
|
+
readonly at: typeof at;
|
|
374
|
+
readonly contains: typeof contains;
|
|
375
|
+
readonly indexOf: typeof indexOf;
|
|
376
|
+
readonly slice: typeof slice;
|
|
377
|
+
readonly length: typeof length;
|
|
378
|
+
readonly id: typeof id;
|
|
379
|
+
readonly geometryType: typeof geometryType;
|
|
380
|
+
readonly properties: typeof properties;
|
|
381
|
+
readonly featureState: typeof featureState;
|
|
382
|
+
readonly lineProgress: typeof lineProgress;
|
|
383
|
+
readonly heatmapDensity: typeof heatmapDensity;
|
|
384
|
+
readonly pitch: typeof pitch;
|
|
385
|
+
readonly accumulated: typeof accumulated;
|
|
386
|
+
readonly distanceFromCenter: typeof distanceFromCenter;
|
|
387
|
+
readonly literal: typeof literal;
|
|
388
|
+
readonly toBoolean: typeof toBoolean;
|
|
389
|
+
readonly toNumber: typeof toNumber;
|
|
390
|
+
readonly toString: typeof exprToString;
|
|
391
|
+
readonly toColor: typeof toColor;
|
|
392
|
+
readonly typeOf: typeof typeOf;
|
|
393
|
+
readonly eq: typeof eq;
|
|
394
|
+
readonly neq: typeof neq;
|
|
395
|
+
readonly lt: typeof lt;
|
|
396
|
+
readonly lte: typeof lte;
|
|
397
|
+
readonly gt: typeof gt;
|
|
398
|
+
readonly gte: typeof gte;
|
|
399
|
+
readonly not: typeof not;
|
|
400
|
+
readonly all: typeof all;
|
|
401
|
+
readonly any: typeof any;
|
|
402
|
+
readonly case: typeof switchCase;
|
|
403
|
+
readonly match: typeof matchExpr;
|
|
404
|
+
readonly coalesce: typeof coalesce;
|
|
405
|
+
readonly add: typeof add;
|
|
406
|
+
readonly subtract: typeof subtract;
|
|
407
|
+
readonly multiply: typeof multiply;
|
|
408
|
+
readonly divide: typeof divide;
|
|
409
|
+
readonly mod: typeof mod;
|
|
410
|
+
readonly pow: typeof pow;
|
|
411
|
+
readonly abs: typeof abs;
|
|
412
|
+
readonly ceil: typeof ceil;
|
|
413
|
+
readonly floor: typeof floor;
|
|
414
|
+
readonly round: typeof round;
|
|
415
|
+
readonly sqrt: typeof sqrt;
|
|
416
|
+
readonly ln: typeof ln;
|
|
417
|
+
readonly log2: typeof log2;
|
|
418
|
+
readonly log10: typeof log10;
|
|
419
|
+
readonly sin: typeof sin;
|
|
420
|
+
readonly cos: typeof cos;
|
|
421
|
+
readonly tan: typeof tan;
|
|
422
|
+
readonly asin: typeof asin;
|
|
423
|
+
readonly acos: typeof acos;
|
|
424
|
+
readonly atan: typeof atan;
|
|
425
|
+
readonly min: typeof min;
|
|
426
|
+
readonly max: typeof max;
|
|
427
|
+
readonly e: typeof e;
|
|
428
|
+
readonly pi: typeof pi;
|
|
429
|
+
readonly ln2: typeof ln2Const;
|
|
430
|
+
readonly concat: typeof concat;
|
|
431
|
+
readonly upcase: typeof upcase;
|
|
432
|
+
readonly downcase: typeof downcase;
|
|
433
|
+
readonly rgb: typeof rgb;
|
|
434
|
+
readonly rgba: typeof rgba;
|
|
435
|
+
readonly hsl: typeof hsl;
|
|
436
|
+
readonly hsla: typeof hsla;
|
|
437
|
+
readonly toRgba: typeof toRgba;
|
|
438
|
+
readonly step: typeof step;
|
|
439
|
+
readonly interpolate: typeof interpolate;
|
|
440
|
+
readonly interpolateHcl: typeof interpolateHcl;
|
|
441
|
+
readonly interpolateLab: typeof interpolateLab;
|
|
442
|
+
readonly linear: typeof linear;
|
|
443
|
+
readonly exponential: typeof exponential;
|
|
444
|
+
readonly cubicBezier: typeof cubicBezier;
|
|
445
|
+
readonly zoom: typeof zoom;
|
|
446
|
+
readonly let: typeof letExpr;
|
|
447
|
+
readonly var: typeof varExpr;
|
|
448
|
+
readonly format: typeof format;
|
|
449
|
+
readonly numberFormat: typeof numberFormat;
|
|
450
|
+
readonly collator: typeof collator;
|
|
451
|
+
readonly resolvedLocale: typeof resolvedLocale;
|
|
452
|
+
readonly image: typeof image;
|
|
453
|
+
readonly distance: typeof distance;
|
|
454
|
+
readonly within: typeof within;
|
|
455
|
+
readonly intersects: typeof intersects;
|
|
456
|
+
};
|
|
457
|
+
//# sourceMappingURL=expression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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