@emuanalytics/flow-rdf-core 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/flow-rdf-core.js +42592 -0
- package/dist/bundle/flow-rdf-core.js.map +7 -0
- package/dist/bundle/flow-rdf-core.min.js +635 -0
- package/dist/bundle/flow-rdf-core.min.js.map +7 -0
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lib/errors/flow-core-error.d.ts +4 -0
- package/dist/cjs/lib/errors/flow-core-error.d.ts.map +1 -0
- package/dist/cjs/lib/errors/flow-core-error.js +30 -0
- package/dist/cjs/lib/errors/flow-core-error.js.map +1 -0
- package/dist/cjs/lib/errors/flow-core-expression-error.d.ts +7 -0
- package/dist/cjs/lib/errors/flow-core-expression-error.d.ts.map +1 -0
- package/dist/cjs/lib/errors/flow-core-expression-error.js +41 -0
- package/dist/cjs/lib/errors/flow-core-expression-error.js.map +1 -0
- package/dist/cjs/lib/errors/flow-core-map-error.d.ts +5 -0
- package/dist/cjs/lib/errors/flow-core-map-error.d.ts.map +1 -0
- package/dist/cjs/lib/errors/flow-core-map-error.js +28 -0
- package/dist/cjs/lib/errors/flow-core-map-error.js.map +1 -0
- package/dist/cjs/lib/errors/index.d.ts +3 -0
- package/dist/cjs/lib/errors/index.d.ts.map +1 -0
- package/dist/cjs/lib/errors/index.js +8 -0
- package/dist/cjs/lib/errors/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-expression.js +277 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-expression.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-parser.js +215 -0
- package/dist/cjs/lib/flow-core-expression/flow-core-parser.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
- package/dist/cjs/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/functions/from-palette.js +80 -0
- package/dist/cjs/lib/flow-core-expression/functions/from-palette.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/functions/state.d.ts +9 -0
- package/dist/cjs/lib/flow-core-expression/functions/state.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/functions/state.js +25 -0
- package/dist/cjs/lib/flow-core-expression/functions/state.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/index.d.ts +2 -0
- package/dist/cjs/lib/flow-core-expression/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/index.js +18 -0
- package/dist/cjs/lib/flow-core-expression/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/parser-helpers.d.ts +2 -0
- package/dist/cjs/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/parser-helpers.js +54 -0
- package/dist/cjs/lib/flow-core-expression/parser-helpers.js.map +1 -0
- package/dist/cjs/lib/flow-core-expression/types.d.ts +27 -0
- package/dist/cjs/lib/flow-core-expression/types.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-expression/types.js +3 -0
- package/dist/cjs/lib/flow-core-expression/types.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/flow-core-map.d.ts +84 -0
- package/dist/cjs/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/flow-core-map.js +836 -0
- package/dist/cjs/lib/flow-core-map/flow-core-map.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/index.d.ts +2 -0
- package/dist/cjs/lib/flow-core-map/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/index.js +18 -0
- package/dist/cjs/lib/flow-core-map/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.js +94 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.js +71 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.js +732 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +11 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +70 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +75 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +19 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +21 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/types.js +3 -0
- package/dist/cjs/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
- package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.js +344 -0
- package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
- package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.js +58 -0
- package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
- package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.js +109 -0
- package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
- package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +166 -0
- package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
- package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.js +242 -0
- package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
- package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.js +108 -0
- package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.js +50 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.js +195 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.js +276 -0
- package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.js +147 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.js +207 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.js +259 -0
- package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/image-registry.d.ts +2 -0
- package/dist/cjs/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/support/image-registry.js +86 -0
- package/dist/cjs/lib/flow-core-map/support/image-registry.js.map +1 -0
- package/dist/cjs/lib/flow-core-map/types.d.ts +45 -0
- package/dist/cjs/lib/flow-core-map/types.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map/types.js +10 -0
- package/dist/cjs/lib/flow-core-map/types.js.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.js +286 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.js +357 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.js +314 -0
- package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/index.d.ts +5 -0
- package/dist/cjs/lib/flow-core-map-style/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/index.js +21 -0
- package/dist/cjs/lib/flow-core-map-style/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/types.d.ts +49 -0
- package/dist/cjs/lib/flow-core-map-style/types.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-map-style/types.js +3 -0
- package/dist/cjs/lib/flow-core-map-style/types.js.map +1 -0
- package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
- package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.js +3 -0
- package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
- package/dist/{types/lib → cjs/lib/flow-core-query}/async-committer.d.ts +0 -0
- package/dist/cjs/lib/flow-core-query/async-committer.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-query/async-committer.js +95 -0
- package/dist/cjs/lib/flow-core-query/async-committer.js.map +1 -0
- package/dist/cjs/lib/flow-core-query/flow-core-query.d.ts +35 -0
- package/dist/cjs/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-query/flow-core-query.js +371 -0
- package/dist/cjs/lib/flow-core-query/flow-core-query.js.map +1 -0
- package/dist/cjs/lib/flow-core-query/index.d.ts +2 -0
- package/dist/cjs/lib/flow-core-query/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-query/index.js +18 -0
- package/dist/cjs/lib/flow-core-query/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
- package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.js +203 -0
- package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/index.d.ts +6 -0
- package/dist/cjs/lib/flow-core-state-store/index.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/index.js +25 -0
- package/dist/cjs/lib/flow-core-state-store/index.js.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/utils.d.ts +10 -0
- package/dist/cjs/lib/flow-core-state-store/utils.d.ts.map +1 -0
- package/dist/cjs/lib/flow-core-state-store/utils.js +9 -0
- package/dist/cjs/lib/flow-core-state-store/utils.js.map +1 -0
- package/dist/cjs/lib/utils/assert.d.ts +2 -0
- package/dist/cjs/lib/utils/assert.d.ts.map +1 -0
- package/dist/cjs/lib/utils/assert.js +11 -0
- package/dist/cjs/lib/utils/assert.js.map +1 -0
- package/dist/cjs/lib/utils/ensure-array.d.ts +2 -0
- package/dist/cjs/lib/utils/ensure-array.d.ts.map +1 -0
- package/dist/cjs/lib/utils/ensure-array.js +23 -0
- package/dist/cjs/lib/utils/ensure-array.js.map +1 -0
- package/dist/cjs/lib/utils/feature-type-checks.d.ts +5 -0
- package/dist/cjs/lib/utils/feature-type-checks.d.ts.map +1 -0
- package/dist/cjs/lib/utils/feature-type-checks.js +30 -0
- package/dist/cjs/lib/utils/feature-type-checks.js.map +1 -0
- package/dist/cjs/lib/utils/functional.d.ts +34 -0
- package/dist/cjs/lib/utils/functional.d.ts.map +1 -0
- package/dist/cjs/lib/utils/functional.js +144 -0
- package/dist/cjs/lib/utils/functional.js.map +1 -0
- package/dist/cjs/lib/utils/index.d.ts +2 -0
- package/dist/cjs/lib/utils/index.d.ts.map +1 -0
- package/dist/cjs/lib/utils/index.js +18 -0
- package/dist/cjs/lib/utils/index.js.map +1 -0
- package/dist/cjs/lib/utils/string-utils.d.ts +2 -0
- package/dist/cjs/lib/utils/string-utils.d.ts.map +1 -0
- package/dist/cjs/lib/utils/string-utils.js +11 -0
- package/dist/cjs/lib/utils/string-utils.js.map +1 -0
- package/dist/cjs/lib/utils/type-checks.d.ts +25 -0
- package/dist/cjs/lib/utils/type-checks.d.ts.map +1 -0
- package/dist/cjs/lib/utils/type-checks.js +80 -0
- package/dist/cjs/lib/utils/type-checks.js.map +1 -0
- package/dist/cjs/lib/utils/typescript-utils.d.ts +2 -0
- package/dist/cjs/lib/utils/typescript-utils.d.ts.map +1 -0
- package/dist/cjs/lib/utils/typescript-utils.js +3 -0
- package/dist/cjs/lib/utils/typescript-utils.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/errors/flow-core-error.d.ts +4 -0
- package/dist/esm/lib/errors/flow-core-error.d.ts.map +1 -0
- package/dist/esm/lib/errors/flow-core-error.js +8 -0
- package/dist/esm/lib/errors/flow-core-error.js.map +1 -0
- package/dist/esm/lib/errors/flow-core-expression-error.d.ts +7 -0
- package/dist/esm/lib/errors/flow-core-expression-error.d.ts.map +1 -0
- package/dist/esm/lib/errors/flow-core-expression-error.js +19 -0
- package/dist/esm/lib/errors/flow-core-expression-error.js.map +1 -0
- package/dist/esm/lib/errors/flow-core-map-error.d.ts +5 -0
- package/dist/esm/lib/errors/flow-core-map-error.d.ts.map +1 -0
- package/dist/esm/lib/errors/flow-core-map-error.js +7 -0
- package/dist/esm/lib/errors/flow-core-map-error.js.map +1 -0
- package/dist/esm/lib/errors/index.d.ts +3 -0
- package/dist/esm/lib/errors/index.d.ts.map +1 -0
- package/dist/esm/lib/errors/index.js +3 -0
- package/dist/esm/lib/errors/index.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
- package/dist/esm/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/flow-core-expression.js +148 -0
- package/dist/esm/lib/flow-core-expression/flow-core-expression.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
- package/dist/esm/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/flow-core-parser.js +147 -0
- package/dist/esm/lib/flow-core-expression/flow-core-parser.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
- package/dist/esm/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/functions/from-palette.js +73 -0
- package/dist/esm/lib/flow-core-expression/functions/from-palette.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/functions/state.d.ts +9 -0
- package/dist/esm/lib/flow-core-expression/functions/state.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/functions/state.js +23 -0
- package/dist/esm/lib/flow-core-expression/functions/state.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/index.d.ts +2 -0
- package/dist/esm/lib/flow-core-expression/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/index.js +2 -0
- package/dist/esm/lib/flow-core-expression/index.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/parser-helpers.d.ts +2 -0
- package/dist/esm/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/parser-helpers.js +24 -0
- package/dist/esm/lib/flow-core-expression/parser-helpers.js.map +1 -0
- package/dist/esm/lib/flow-core-expression/types.d.ts +27 -0
- package/dist/esm/lib/flow-core-expression/types.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-expression/types.js +2 -0
- package/dist/esm/lib/flow-core-expression/types.js.map +1 -0
- package/dist/esm/lib/flow-core-map/flow-core-map.d.ts +84 -0
- package/dist/esm/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/flow-core-map.js +491 -0
- package/dist/esm/lib/flow-core-map/flow-core-map.js.map +1 -0
- package/dist/esm/lib/flow-core-map/index.d.ts +2 -0
- package/dist/esm/lib/flow-core-map/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/index.js +2 -0
- package/dist/esm/lib/flow-core-map/index.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.js +150 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.js +49 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.js +524 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +4 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +65 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +59 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +14 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +19 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/types.js +2 -0
- package/dist/esm/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
- package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.js +204 -0
- package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
- package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.js +28 -0
- package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
- package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.js +62 -0
- package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
- package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +98 -0
- package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
- package/dist/esm/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/plugin-manager.js +144 -0
- package/dist/esm/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
- package/dist/esm/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/popup.plugin.js +64 -0
- package/dist/esm/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.js +28 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.js +123 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.js +188 -0
- package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-events.js +101 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.js +140 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.js +158 -0
- package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
- package/dist/esm/lib/flow-core-map/support/image-registry.d.ts +2 -0
- package/dist/esm/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/support/image-registry.js +56 -0
- package/dist/esm/lib/flow-core-map/support/image-registry.js.map +1 -0
- package/dist/esm/lib/flow-core-map/types.d.ts +45 -0
- package/dist/esm/lib/flow-core-map/types.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map/types.js +6 -0
- package/dist/esm/lib/flow-core-map/types.js.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.js +197 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.js +228 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-style.js +200 -0
- package/dist/esm/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
- package/dist/esm/lib/flow-core-map-style/index.d.ts +5 -0
- package/dist/esm/lib/flow-core-map-style/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map-style/index.js +5 -0
- package/dist/esm/lib/flow-core-map-style/index.js.map +1 -0
- package/dist/esm/lib/flow-core-map-style/types.d.ts +49 -0
- package/dist/esm/lib/flow-core-map-style/types.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-map-style/types.js +2 -0
- package/dist/esm/lib/flow-core-map-style/types.js.map +1 -0
- package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
- package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.js +2 -0
- package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
- package/dist/esm/lib/flow-core-query/async-committer.d.ts +15 -0
- package/dist/esm/lib/flow-core-query/async-committer.d.ts.map +1 -0
- package/dist/esm/lib/{async-committer.js → flow-core-query/async-committer.js} +1 -9
- package/dist/esm/lib/flow-core-query/async-committer.js.map +1 -0
- package/dist/esm/lib/flow-core-query/flow-core-query.d.ts +35 -0
- package/dist/esm/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
- package/dist/esm/lib/{flow-query.js → flow-core-query/flow-core-query.js} +100 -35
- package/dist/esm/lib/flow-core-query/flow-core-query.js.map +1 -0
- package/dist/esm/lib/flow-core-query/index.d.ts +2 -0
- package/dist/esm/lib/flow-core-query/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-query/index.js +2 -0
- package/dist/esm/lib/flow-core-query/index.js.map +1 -0
- package/dist/esm/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
- package/dist/esm/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-state-store/flow-core-state-store.js +121 -0
- package/dist/esm/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
- package/dist/esm/lib/flow-core-state-store/index.d.ts +6 -0
- package/dist/esm/lib/flow-core-state-store/index.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-state-store/index.js +4 -0
- package/dist/esm/lib/flow-core-state-store/index.js.map +1 -0
- package/dist/esm/lib/flow-core-state-store/utils.d.ts +10 -0
- package/dist/esm/lib/flow-core-state-store/utils.d.ts.map +1 -0
- package/dist/esm/lib/flow-core-state-store/utils.js +5 -0
- package/dist/esm/lib/flow-core-state-store/utils.js.map +1 -0
- package/dist/esm/lib/utils/assert.d.ts +2 -0
- package/dist/esm/lib/utils/assert.d.ts.map +1 -0
- package/dist/esm/lib/utils/assert.js +7 -0
- package/dist/esm/lib/utils/assert.js.map +1 -0
- package/dist/esm/lib/utils/ensure-array.d.ts +2 -0
- package/dist/esm/lib/utils/ensure-array.d.ts.map +1 -0
- package/dist/esm/lib/utils/ensure-array.js +15 -0
- package/dist/esm/lib/utils/ensure-array.js.map +1 -0
- package/dist/esm/lib/utils/feature-type-checks.d.ts +5 -0
- package/dist/esm/lib/utils/feature-type-checks.d.ts.map +1 -0
- package/dist/esm/lib/utils/feature-type-checks.js +23 -0
- package/dist/esm/lib/utils/feature-type-checks.js.map +1 -0
- package/dist/esm/lib/utils/functional.d.ts +34 -0
- package/dist/esm/lib/utils/functional.d.ts.map +1 -0
- package/dist/esm/lib/utils/functional.js +89 -0
- package/dist/esm/lib/utils/functional.js.map +1 -0
- package/dist/esm/lib/utils/index.d.ts +2 -0
- package/dist/esm/lib/utils/index.d.ts.map +1 -0
- package/dist/esm/lib/utils/index.js +2 -0
- package/dist/esm/lib/utils/index.js.map +1 -0
- package/dist/esm/lib/utils/string-utils.d.ts +2 -0
- package/dist/esm/lib/utils/string-utils.d.ts.map +1 -0
- package/dist/esm/lib/utils/string-utils.js +3 -0
- package/dist/esm/lib/utils/string-utils.js.map +1 -0
- package/dist/esm/lib/utils/type-checks.d.ts +25 -0
- package/dist/esm/lib/utils/type-checks.d.ts.map +1 -0
- package/dist/esm/lib/utils/type-checks.js +51 -0
- package/dist/esm/lib/utils/type-checks.js.map +1 -0
- package/dist/esm/lib/utils/typescript-utils.d.ts +2 -0
- package/dist/esm/lib/utils/typescript-utils.d.ts.map +1 -0
- package/dist/esm/lib/utils/typescript-utils.js +2 -0
- package/dist/esm/lib/utils/typescript-utils.js.map +1 -0
- package/dist/esm5/index.d.ts +8 -0
- package/dist/esm5/index.d.ts.map +1 -0
- package/dist/esm5/index.js +8 -0
- package/dist/esm5/index.js.map +1 -0
- package/dist/esm5/lib/errors/flow-core-error.d.ts +4 -0
- package/dist/esm5/lib/errors/flow-core-error.d.ts.map +1 -0
- package/dist/esm5/lib/errors/flow-core-error.js +13 -0
- package/dist/esm5/lib/errors/flow-core-error.js.map +1 -0
- package/dist/esm5/lib/errors/flow-core-expression-error.d.ts +7 -0
- package/dist/esm5/lib/errors/flow-core-expression-error.d.ts.map +1 -0
- package/dist/esm5/lib/errors/flow-core-expression-error.js +24 -0
- package/dist/esm5/lib/errors/flow-core-expression-error.js.map +1 -0
- package/dist/esm5/lib/errors/flow-core-map-error.d.ts +5 -0
- package/dist/esm5/lib/errors/flow-core-map-error.d.ts.map +1 -0
- package/dist/esm5/lib/errors/flow-core-map-error.js +11 -0
- package/dist/esm5/lib/errors/flow-core-map-error.js.map +1 -0
- package/dist/esm5/lib/errors/index.d.ts +3 -0
- package/dist/esm5/lib/errors/index.d.ts.map +1 -0
- package/dist/esm5/lib/errors/index.js +3 -0
- package/dist/esm5/lib/errors/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-expression.js +224 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-expression.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-parser.js +185 -0
- package/dist/esm5/lib/flow-core-expression/flow-core-parser.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
- package/dist/esm5/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/functions/from-palette.js +75 -0
- package/dist/esm5/lib/flow-core-expression/functions/from-palette.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/functions/state.d.ts +9 -0
- package/dist/esm5/lib/flow-core-expression/functions/state.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/functions/state.js +23 -0
- package/dist/esm5/lib/flow-core-expression/functions/state.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/index.d.ts +2 -0
- package/dist/esm5/lib/flow-core-expression/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/index.js +2 -0
- package/dist/esm5/lib/flow-core-expression/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/parser-helpers.d.ts +2 -0
- package/dist/esm5/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/parser-helpers.js +29 -0
- package/dist/esm5/lib/flow-core-expression/parser-helpers.js.map +1 -0
- package/dist/esm5/lib/flow-core-expression/types.d.ts +27 -0
- package/dist/esm5/lib/flow-core-expression/types.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-expression/types.js +2 -0
- package/dist/esm5/lib/flow-core-expression/types.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/flow-core-map.d.ts +84 -0
- package/dist/esm5/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/flow-core-map.js +746 -0
- package/dist/esm5/lib/flow-core-map/flow-core-map.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/index.d.ts +2 -0
- package/dist/esm5/lib/flow-core-map/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/index.js +2 -0
- package/dist/esm5/lib/flow-core-map/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.js +90 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.js +54 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.js +701 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +4 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +65 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +60 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +14 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +19 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/types.js +2 -0
- package/dist/esm5/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
- package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.js +277 -0
- package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
- package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.js +41 -0
- package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
- package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.js +92 -0
- package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
- package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +153 -0
- package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
- package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.js +226 -0
- package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
- package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.js +91 -0
- package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.js +33 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.js +178 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.js +238 -0
- package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.js +130 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.js +191 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.js +205 -0
- package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/image-registry.d.ts +2 -0
- package/dist/esm5/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/support/image-registry.js +80 -0
- package/dist/esm5/lib/flow-core-map/support/image-registry.js.map +1 -0
- package/dist/esm5/lib/flow-core-map/types.d.ts +45 -0
- package/dist/esm5/lib/flow-core-map/types.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map/types.js +6 -0
- package/dist/esm5/lib/flow-core-map/types.js.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.js +257 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.js +321 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.js +276 -0
- package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/index.d.ts +5 -0
- package/dist/esm5/lib/flow-core-map-style/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/index.js +5 -0
- package/dist/esm5/lib/flow-core-map-style/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/types.d.ts +49 -0
- package/dist/esm5/lib/flow-core-map-style/types.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-map-style/types.js +2 -0
- package/dist/esm5/lib/flow-core-map-style/types.js.map +1 -0
- package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
- package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.js +2 -0
- package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
- package/dist/esm5/lib/flow-core-query/async-committer.d.ts +15 -0
- package/dist/esm5/lib/flow-core-query/async-committer.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-query/async-committer.js +57 -0
- package/dist/esm5/lib/flow-core-query/async-committer.js.map +1 -0
- package/dist/esm5/lib/flow-core-query/flow-core-query.d.ts +35 -0
- package/dist/esm5/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-query/flow-core-query.js +316 -0
- package/dist/esm5/lib/flow-core-query/flow-core-query.js.map +1 -0
- package/dist/esm5/lib/flow-core-query/index.d.ts +2 -0
- package/dist/esm5/lib/flow-core-query/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-query/index.js +2 -0
- package/dist/esm5/lib/flow-core-query/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
- package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.js +190 -0
- package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/index.d.ts +6 -0
- package/dist/esm5/lib/flow-core-state-store/index.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/index.js +4 -0
- package/dist/esm5/lib/flow-core-state-store/index.js.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/utils.d.ts +10 -0
- package/dist/esm5/lib/flow-core-state-store/utils.d.ts.map +1 -0
- package/dist/esm5/lib/flow-core-state-store/utils.js +5 -0
- package/dist/esm5/lib/flow-core-state-store/utils.js.map +1 -0
- package/dist/esm5/lib/utils/assert.d.ts +2 -0
- package/dist/esm5/lib/utils/assert.d.ts.map +1 -0
- package/dist/esm5/lib/utils/assert.js +7 -0
- package/dist/esm5/lib/utils/assert.js.map +1 -0
- package/dist/esm5/lib/utils/ensure-array.d.ts +2 -0
- package/dist/esm5/lib/utils/ensure-array.d.ts.map +1 -0
- package/dist/esm5/lib/utils/ensure-array.js +19 -0
- package/dist/esm5/lib/utils/ensure-array.js.map +1 -0
- package/dist/esm5/lib/utils/feature-type-checks.d.ts +5 -0
- package/dist/esm5/lib/utils/feature-type-checks.d.ts.map +1 -0
- package/dist/esm5/lib/utils/feature-type-checks.js +23 -0
- package/dist/esm5/lib/utils/feature-type-checks.js.map +1 -0
- package/dist/esm5/lib/utils/functional.d.ts +34 -0
- package/dist/esm5/lib/utils/functional.d.ts.map +1 -0
- package/dist/esm5/lib/utils/functional.js +112 -0
- package/dist/esm5/lib/utils/functional.js.map +1 -0
- package/dist/esm5/lib/utils/index.d.ts +2 -0
- package/dist/esm5/lib/utils/index.d.ts.map +1 -0
- package/dist/esm5/lib/utils/index.js +2 -0
- package/dist/esm5/lib/utils/index.js.map +1 -0
- package/dist/esm5/lib/utils/string-utils.d.ts +2 -0
- package/dist/esm5/lib/utils/string-utils.d.ts.map +1 -0
- package/dist/esm5/lib/utils/string-utils.js +7 -0
- package/dist/esm5/lib/utils/string-utils.js.map +1 -0
- package/dist/esm5/lib/utils/type-checks.d.ts +25 -0
- package/dist/esm5/lib/utils/type-checks.d.ts.map +1 -0
- package/dist/esm5/lib/utils/type-checks.js +53 -0
- package/dist/esm5/lib/utils/type-checks.js.map +1 -0
- package/dist/esm5/lib/utils/typescript-utils.d.ts +2 -0
- package/dist/esm5/lib/utils/typescript-utils.d.ts.map +1 -0
- package/dist/esm5/lib/utils/typescript-utils.js +2 -0
- package/dist/esm5/lib/utils/typescript-utils.js.map +1 -0
- package/dist/flow-rdf-core.css +1 -0
- package/dist/types/index.d.ts +7 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/errors/flow-core-error.d.ts +4 -0
- package/dist/types/lib/errors/flow-core-error.d.ts.map +1 -0
- package/dist/types/lib/errors/flow-core-expression-error.d.ts +7 -0
- package/dist/types/lib/errors/flow-core-expression-error.d.ts.map +1 -0
- package/dist/types/lib/errors/flow-core-map-error.d.ts +5 -0
- package/dist/types/lib/errors/flow-core-map-error.d.ts.map +1 -0
- package/dist/types/lib/errors/index.d.ts +3 -0
- package/dist/types/lib/errors/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
- package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts +19 -0
- package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
- package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/functions/state.d.ts +9 -0
- package/dist/types/lib/flow-core-expression/functions/state.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/index.d.ts +2 -0
- package/dist/types/lib/flow-core-expression/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/parser-helpers.d.ts +2 -0
- package/dist/types/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
- package/dist/types/lib/flow-core-expression/types.d.ts +27 -0
- package/dist/types/lib/flow-core-expression/types.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/flow-core-map.d.ts +106 -0
- package/dist/types/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/index.d.ts +2 -0
- package/dist/types/lib/flow-core-map/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +70 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
- package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts +47 -0
- package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
- package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
- package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +52 -0
- package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
- package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
- package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
- package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
- package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
- package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts +62 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts +74 -0
- package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/support/image-registry.d.ts +2 -0
- package/dist/types/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map/types.d.ts +57 -0
- package/dist/types/lib/flow-core-map/types.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts +33 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts +71 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
- package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map-style/index.d.ts +5 -0
- package/dist/types/lib/flow-core-map-style/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-map-style/types.d.ts +60 -0
- package/dist/types/lib/flow-core-map-style/types.d.ts.map +1 -0
- package/dist/types/lib/{flow-query.d.ts → flow-core-query/FlowQueryResultFormat.d.ts} +9 -26
- package/dist/types/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
- package/dist/types/lib/flow-core-query/async-committer.d.ts +15 -0
- package/dist/types/lib/flow-core-query/async-committer.d.ts.map +1 -0
- package/dist/types/lib/flow-core-query/flow-core-query.d.ts +35 -0
- package/dist/types/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
- package/dist/types/lib/flow-core-query/index.d.ts +2 -0
- package/dist/types/lib/flow-core-query/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
- package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
- package/dist/types/lib/flow-core-state-store/index.d.ts +6 -0
- package/dist/types/lib/flow-core-state-store/index.d.ts.map +1 -0
- package/dist/types/lib/flow-core-state-store/utils.d.ts +10 -0
- package/dist/types/lib/flow-core-state-store/utils.d.ts.map +1 -0
- package/dist/types/lib/utils/assert.d.ts +2 -0
- package/dist/types/lib/utils/assert.d.ts.map +1 -0
- package/dist/types/lib/utils/ensure-array.d.ts +2 -0
- package/dist/types/lib/utils/ensure-array.d.ts.map +1 -0
- package/dist/types/lib/utils/feature-type-checks.d.ts +5 -0
- package/dist/types/lib/utils/feature-type-checks.d.ts.map +1 -0
- package/dist/types/lib/utils/functional.d.ts +70 -0
- package/dist/types/lib/utils/functional.d.ts.map +1 -0
- package/dist/types/lib/utils/index.d.ts +2 -0
- package/dist/types/lib/utils/index.d.ts.map +1 -0
- package/dist/types/lib/utils/string-utils.d.ts +2 -0
- package/dist/types/lib/utils/string-utils.d.ts.map +1 -0
- package/dist/types/lib/utils/type-checks.d.ts +25 -0
- package/dist/types/lib/utils/type-checks.d.ts.map +1 -0
- package/dist/types/lib/utils/typescript-utils.d.ts +2 -0
- package/dist/types/lib/utils/typescript-utils.d.ts.map +1 -0
- package/package.json +81 -12
- package/.turbo/turbo-build.log +0 -17
- package/CHANGELOG.md +0 -13
- package/dist/cjs/lib/async-committer.js +0 -47
- package/dist/cjs/lib/async-committer.js.map +0 -1
- package/dist/cjs/lib/flow-query.js +0 -183
- package/dist/cjs/lib/flow-query.js.map +0 -1
- package/dist/esm/lib/async-committer.js.map +0 -1
- package/dist/esm/lib/flow-query.js.map +0 -1
- package/dist/types/lib/async-committer.d.ts.map +0 -1
- package/dist/types/lib/flow-query.d.ts.map +0 -1
- package/jest.config.js +0 -3
- package/src/__tests__/test.spec.ts +0 -116
- package/src/index.ts +0 -2
- package/src/lib/async-committer.ts +0 -23
- package/src/lib/flow-query.ts +0 -244
- package/tsconfig.build.json +0 -12
- package/tsconfig.json +0 -103
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-core-map-layer.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-layer.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AACjE,OAAO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,SAAS;gBAC5D,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;gBAEpB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,UAAC,QAAQ;oBACnC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,UAAG,QAAQ,cAAI,SAAS,CAAE,CAAC,CAAC,CAAC,OAAO,CAAC,UAAC,IAAI;wBACxE,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG;4BACrB,QAAQ,EAAE,IAAI;4BACd,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,UAAG,QAAQ,cAAI,SAAS,CAAE,CAAC,CAAC,IAAI,CAAC;yBAClE,CAAC;oBACJ,CAAC,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;gBAEH,OAAO,GAAG,CAAC;YACb,CAAC,EAAE,EAAS,CAAC,CAAC;QAChB,CAAC;;IA3QD;;;;eAAkE;YAChE,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,EAAE;SACZ;OAAC;IAwQJ,uBAAC;CAAA,AA9QD,IA8QC;SA9QY,gBAAgB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FlowCoreStateStore } from '../flow-core-state-store';
|
|
2
|
+
import { FlowCoreMapDataSource } from './flow-core-map-data-source';
|
|
3
|
+
import { FlowCoreMapLayer } from './flow-core-map-layer';
|
|
4
|
+
import { FlowCoreMapStyleSpecification } from './types';
|
|
5
|
+
export interface FlowCoreMapStyleOptions {
|
|
6
|
+
}
|
|
7
|
+
export declare class FlowCoreMapStyle {
|
|
8
|
+
private static defaultOptions;
|
|
9
|
+
private static defaultBaseStyle;
|
|
10
|
+
private state;
|
|
11
|
+
private options;
|
|
12
|
+
private baseStyle;
|
|
13
|
+
private sources;
|
|
14
|
+
private layers;
|
|
15
|
+
private layerOrder;
|
|
16
|
+
get styleSpecification(): FlowCoreMapStyleSpecification;
|
|
17
|
+
get id(): string;
|
|
18
|
+
constructor(options: FlowCoreMapStyleOptions);
|
|
19
|
+
bindState(state: FlowCoreStateStore): this;
|
|
20
|
+
setBaseStyle(style?: FlowCoreMapStyleSpecification): this;
|
|
21
|
+
addSource(source: FlowCoreMapDataSource): this;
|
|
22
|
+
removeSource(id: string, removeLayers?: boolean): this;
|
|
23
|
+
getSource(id: string): FlowCoreMapDataSource;
|
|
24
|
+
getSources(filter?: (source: FlowCoreMapDataSource) => boolean): FlowCoreMapDataSource[];
|
|
25
|
+
addLayer(layer: FlowCoreMapLayer): this;
|
|
26
|
+
removeLayer(id: string): this;
|
|
27
|
+
getLayer(id: string): FlowCoreMapLayer;
|
|
28
|
+
getLayers(filter?: (layer: FlowCoreMapLayer) => boolean): FlowCoreMapLayer[];
|
|
29
|
+
private formattedName;
|
|
30
|
+
private layerInsertionPoint;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=flow-core-map-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-core-map-style.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-style.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,WAAW,uBAAuB;CAEvC;AAED,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,cAAc,CAE3B;IAEF,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAM5B;IAEH,OAAO,CAAC,KAAK,CAAmC;IAChD,OAAO,CAAC,OAAO,CAA0B;IACzC,OAAO,CAAC,SAAS,CAAgC;IACjD,OAAO,CAAC,OAAO,CAA+C;IAC9D,OAAO,CAAC,MAAM,CAA0C;IACxD,OAAO,CAAC,UAAU,CAAgB;IAElC,IAAI,kBAAkB,IAAI,6BAA6B,CAgDtD;IAED,IAAI,EAAE,IAAI,MAAM,CAEf;gBAEW,OAAO,EAAE,uBAAuB;IA+B5C,SAAS,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI;IAW1C,YAAY,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI;IAKzD,SAAS,CAAC,MAAM,EAAE,qBAAqB,GAAG,IAAI;IAM9C,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,IAAI;IAsBpD,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,qBAAqB;IAS5C,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,OAAO,GAAG,qBAAqB,EAAE;IAIxF,QAAQ,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAWvC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAY7B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB;IAStC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,GAAG,gBAAgB,EAAE;IAI5E,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,mBAAmB;CAoB5B"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { __assign, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
3
|
+
import { FlowCoreError } from '../errors';
|
|
4
|
+
import { isNil } from '../utils';
|
|
5
|
+
var FlowCoreMapStyle = (function () {
|
|
6
|
+
function FlowCoreMapStyle(options) {
|
|
7
|
+
Object.defineProperty(this, "state", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true,
|
|
11
|
+
value: null
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(this, "options", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: void 0
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(this, "baseStyle", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true,
|
|
23
|
+
value: void 0
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(this, "sources", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
configurable: true,
|
|
28
|
+
writable: true,
|
|
29
|
+
value: {}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(this, "layers", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
configurable: true,
|
|
34
|
+
writable: true,
|
|
35
|
+
value: {}
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(this, "layerOrder", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
configurable: true,
|
|
40
|
+
writable: true,
|
|
41
|
+
value: []
|
|
42
|
+
});
|
|
43
|
+
this.options = __assign(__assign({}, FlowCoreMapStyle.defaultOptions), options);
|
|
44
|
+
this.baseStyle = FlowCoreMapStyle.defaultBaseStyle;
|
|
45
|
+
makeObservable(this, {
|
|
46
|
+
options: observable,
|
|
47
|
+
sources: observable,
|
|
48
|
+
layers: observable,
|
|
49
|
+
layerOrder: observable,
|
|
50
|
+
baseStyle: observable.ref,
|
|
51
|
+
styleSpecification: computed,
|
|
52
|
+
bindState: action,
|
|
53
|
+
setBaseStyle: action,
|
|
54
|
+
addSource: action,
|
|
55
|
+
removeSource: action,
|
|
56
|
+
addLayer: action,
|
|
57
|
+
removeLayer: action
|
|
58
|
+
}, { name: this.formattedName(this.id) });
|
|
59
|
+
}
|
|
60
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "styleSpecification", {
|
|
61
|
+
get: function () {
|
|
62
|
+
var _this = this;
|
|
63
|
+
var spec = __assign(__assign({}, this.baseStyle), { sources: __assign({}, this.baseStyle.sources), layers: __spreadArray([], __read(this.baseStyle.layers), false) });
|
|
64
|
+
Object.values(this.sources).forEach(function (source) {
|
|
65
|
+
spec.sources[source.id] = source.dataSourceSpecification;
|
|
66
|
+
});
|
|
67
|
+
this.layerOrder.forEach(function (id) {
|
|
68
|
+
var layer = _this.layers[id];
|
|
69
|
+
var layerSpec = layer.layerSpecification;
|
|
70
|
+
var baseLayerIndex = spec.layers.findIndex(function (l) { return l.id === id; });
|
|
71
|
+
if (baseLayerIndex >= 0) {
|
|
72
|
+
var baseLayer = spec.layers[baseLayerIndex];
|
|
73
|
+
var mergedBaseLayer = __assign(__assign({}, baseLayer), { paint: __assign(__assign({}, baseLayer.paint), layerSpec.paint), layout: __assign(__assign({}, baseLayer.layout), layerSpec.layout) });
|
|
74
|
+
spec.layers.splice(baseLayerIndex, 1, mergedBaseLayer);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
var source = spec.sources[layer.source];
|
|
78
|
+
if (source.type === 'vector' && isNil(layerSpec['source-layer'])) {
|
|
79
|
+
layerSpec['source-layer'] = 'geometry';
|
|
80
|
+
}
|
|
81
|
+
var layerIndex = _this.layerInsertionPoint(layer, spec);
|
|
82
|
+
spec.layers.splice(layerIndex, 0, layer.layerSpecification);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
return spec;
|
|
86
|
+
},
|
|
87
|
+
enumerable: false,
|
|
88
|
+
configurable: true
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "id", {
|
|
91
|
+
get: function () {
|
|
92
|
+
return this.baseStyle.id;
|
|
93
|
+
},
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "bindState", {
|
|
98
|
+
enumerable: false,
|
|
99
|
+
configurable: true,
|
|
100
|
+
writable: true,
|
|
101
|
+
value: function (state) {
|
|
102
|
+
var _this = this;
|
|
103
|
+
this.state = state;
|
|
104
|
+
state.transaction(function () {
|
|
105
|
+
Object.values(_this.sources).forEach(function (source) { return source.bindState(state); });
|
|
106
|
+
Object.values(_this.layers).forEach(function (layer) { return layer.bindState(state); });
|
|
107
|
+
});
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "setBaseStyle", {
|
|
112
|
+
enumerable: false,
|
|
113
|
+
configurable: true,
|
|
114
|
+
writable: true,
|
|
115
|
+
value: function (style) {
|
|
116
|
+
this.baseStyle = style ? Object.freeze(__assign({}, style)) : FlowCoreMapStyle.defaultBaseStyle;
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "addSource", {
|
|
121
|
+
enumerable: false,
|
|
122
|
+
configurable: true,
|
|
123
|
+
writable: true,
|
|
124
|
+
value: function (source) {
|
|
125
|
+
this.sources[source.id] = source;
|
|
126
|
+
source.bindState(this.state);
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "removeSource", {
|
|
131
|
+
enumerable: false,
|
|
132
|
+
configurable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
value: function (id, removeLayers) {
|
|
135
|
+
var _this = this;
|
|
136
|
+
if (removeLayers === void 0) { removeLayers = false; }
|
|
137
|
+
if (!this.sources[id]) {
|
|
138
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(id, "'"));
|
|
139
|
+
}
|
|
140
|
+
var linkedLayers = Object.values(this.layers)
|
|
141
|
+
.filter(function (layer) { return layer.source === id; })
|
|
142
|
+
.map(function (layer) { return layer.id; });
|
|
143
|
+
if (removeLayers) {
|
|
144
|
+
linkedLayers.forEach(function (id) { return _this.removeLayer(id); });
|
|
145
|
+
}
|
|
146
|
+
else if (linkedLayers.length) {
|
|
147
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": cannot remove source with id '").concat(id, "' when in use by layers ").concat(linkedLayers.join(', ')));
|
|
148
|
+
}
|
|
149
|
+
delete this.sources[id];
|
|
150
|
+
return this;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getSource", {
|
|
154
|
+
enumerable: false,
|
|
155
|
+
configurable: true,
|
|
156
|
+
writable: true,
|
|
157
|
+
value: function (id) {
|
|
158
|
+
var source = this.sources[id];
|
|
159
|
+
if (!source) {
|
|
160
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(id, "'"));
|
|
161
|
+
}
|
|
162
|
+
return source;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getSources", {
|
|
166
|
+
enumerable: false,
|
|
167
|
+
configurable: true,
|
|
168
|
+
writable: true,
|
|
169
|
+
value: function (filter) {
|
|
170
|
+
return Object.values(this.sources).filter(function (source) { return (filter ? filter(source) : true); });
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "addLayer", {
|
|
174
|
+
enumerable: false,
|
|
175
|
+
configurable: true,
|
|
176
|
+
writable: true,
|
|
177
|
+
value: function (layer) {
|
|
178
|
+
if (!this.sources[layer.source] && !this.baseStyle.sources[layer.source]) {
|
|
179
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(layer.source, "'"));
|
|
180
|
+
}
|
|
181
|
+
this.layers[layer.id] = layer;
|
|
182
|
+
this.layerOrder.push(layer.id);
|
|
183
|
+
layer.bindState(this.state);
|
|
184
|
+
return this;
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "removeLayer", {
|
|
188
|
+
enumerable: false,
|
|
189
|
+
configurable: true,
|
|
190
|
+
writable: true,
|
|
191
|
+
value: function (id) {
|
|
192
|
+
if (!this.layers[id]) {
|
|
193
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": no layer with id '").concat(id, "'"));
|
|
194
|
+
}
|
|
195
|
+
delete this.layers[id];
|
|
196
|
+
var index = this.layerOrder.indexOf(id);
|
|
197
|
+
this.layerOrder.splice(index, 1);
|
|
198
|
+
return this;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getLayer", {
|
|
202
|
+
enumerable: false,
|
|
203
|
+
configurable: true,
|
|
204
|
+
writable: true,
|
|
205
|
+
value: function (id) {
|
|
206
|
+
var layer = this.layers[id];
|
|
207
|
+
if (!layer) {
|
|
208
|
+
throw new FlowCoreError("".concat(this.formattedName(), ": no layer with id '").concat(id, "'"));
|
|
209
|
+
}
|
|
210
|
+
return layer;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getLayers", {
|
|
214
|
+
enumerable: false,
|
|
215
|
+
configurable: true,
|
|
216
|
+
writable: true,
|
|
217
|
+
value: function (filter) {
|
|
218
|
+
var _this = this;
|
|
219
|
+
return this.layerOrder.map(function (layerId) { return _this.layers[layerId]; }).filter(function (layer) { return (filter ? filter(layer) : true); });
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "formattedName", {
|
|
223
|
+
enumerable: false,
|
|
224
|
+
configurable: true,
|
|
225
|
+
writable: true,
|
|
226
|
+
value: function (id) {
|
|
227
|
+
return "FlowCoreMapStyle<".concat(id || this.id, ">");
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "layerInsertionPoint", {
|
|
231
|
+
enumerable: false,
|
|
232
|
+
configurable: true,
|
|
233
|
+
writable: true,
|
|
234
|
+
value: function (layer, spec) {
|
|
235
|
+
var _a, _b;
|
|
236
|
+
var insertionIndex = -1;
|
|
237
|
+
if (layer.above) {
|
|
238
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === layer.above; });
|
|
239
|
+
if (insertionIndex >= 0)
|
|
240
|
+
insertionIndex++;
|
|
241
|
+
}
|
|
242
|
+
else if (layer.below) {
|
|
243
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === layer.below; });
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
var below_1 = (_b = (_a = spec.metadata) === null || _a === void 0 ? void 0 : _a.insertionPoints) === null || _b === void 0 ? void 0 : _b[layer.type];
|
|
247
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === below_1; });
|
|
248
|
+
}
|
|
249
|
+
if (insertionIndex === -1) {
|
|
250
|
+
insertionIndex = spec.layers.length;
|
|
251
|
+
}
|
|
252
|
+
return insertionIndex;
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
Object.defineProperty(FlowCoreMapStyle, "defaultOptions", {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
configurable: true,
|
|
258
|
+
writable: true,
|
|
259
|
+
value: {}
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(FlowCoreMapStyle, "defaultBaseStyle", {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
configurable: true,
|
|
264
|
+
writable: true,
|
|
265
|
+
value: Object.freeze({
|
|
266
|
+
version: 8,
|
|
267
|
+
id: 'default',
|
|
268
|
+
name: 'Default base style',
|
|
269
|
+
sources: {},
|
|
270
|
+
layers: []
|
|
271
|
+
})
|
|
272
|
+
});
|
|
273
|
+
return FlowCoreMapStyle;
|
|
274
|
+
}());
|
|
275
|
+
export { FlowCoreMapStyle };
|
|
276
|
+
//# sourceMappingURL=flow-core-map-style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-core-map-style.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-style.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAe,MAAM,MAAM,CAAC;AACj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EjE;OAAC;IAEF;;;;eAAkC,MAAM,CAAC,MAAM,CAAC;YAC9C,OAAO,EAAE,CAAC;YACV,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,oBAAoB;YAC1B,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAE;SACX,CAAC;OAAC;IAmNL,uBAAC;CAAA,AA9ND,IA8NC;SA9NY,gBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FlowCoreMapLayerSpecification } from './flow-core-map-layer';
|
|
2
|
+
export declare type FlowCoreMapDataSourceType = 'vector' | 'geojson' | 'raster';
|
|
3
|
+
export interface FlowCoreMapDataSourceOptions {
|
|
4
|
+
id: string;
|
|
5
|
+
src: FlowCoreMapGeojsonData | null;
|
|
6
|
+
type: FlowCoreMapDataSourceType;
|
|
7
|
+
cluster?: boolean;
|
|
8
|
+
clusterRadius?: number;
|
|
9
|
+
clusterMaxZoom?: number;
|
|
10
|
+
clusterMinPoints?: number;
|
|
11
|
+
limit?: number;
|
|
12
|
+
featureId?: string;
|
|
13
|
+
flowHost?: string;
|
|
14
|
+
flowApiKey?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface FlowCoreMapDataSourceSpecification {
|
|
17
|
+
type: FlowCoreMapDataSourceType;
|
|
18
|
+
promoteId?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
data?: FlowCoreMapGeojsonData;
|
|
21
|
+
cluster?: boolean;
|
|
22
|
+
clusterRadius?: number;
|
|
23
|
+
clusterMaxZoom?: number;
|
|
24
|
+
clusterMinPoints?: number;
|
|
25
|
+
}
|
|
26
|
+
export declare type FlowCoreMapGeojsonData = string | GeoJSON.FeatureCollection;
|
|
27
|
+
export interface FlowCoreMapStyleSpecification {
|
|
28
|
+
version: 8;
|
|
29
|
+
id: string;
|
|
30
|
+
name?: string;
|
|
31
|
+
metadata?: {
|
|
32
|
+
insertionPoints: Record<string, string>;
|
|
33
|
+
};
|
|
34
|
+
center?: Array<number>;
|
|
35
|
+
zoom?: number;
|
|
36
|
+
bearing?: number;
|
|
37
|
+
pitch?: number;
|
|
38
|
+
sources: {
|
|
39
|
+
[_: string]: FlowCoreMapDataSourceSpecification;
|
|
40
|
+
};
|
|
41
|
+
sprite?: string;
|
|
42
|
+
glyphs?: string;
|
|
43
|
+
transition?: {
|
|
44
|
+
duration?: number | undefined;
|
|
45
|
+
delay?: number | undefined;
|
|
46
|
+
};
|
|
47
|
+
layers: Array<FlowCoreMapLayerSpecification>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAatE,oBAAY,yBAAyB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAExE,MAAM,WAAW,4BAA4B;IAE3C,EAAE,EAAE,MAAM,CAAC;IAEX,GAAG,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAEnC,IAAI,EAAE,yBAAyB,CAAC;IAEhC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,aAAa,CAAC,EAAE,MAAM,CAAC;IAE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,EAAE,MAAM,GAAG,SAAS,CAAC;KAC5B,CAAC;IACF,MAAM,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Client as FlowClient } from '@emuanalytics/flow-engine-client';
|
|
2
|
+
export declare type FlowQueryResultFormat = 'json' | 'geojson' | 'csv';
|
|
3
|
+
export declare type FlowQueryAttribute = string | [any, string];
|
|
4
|
+
export interface FlowQueryWhereClauses {
|
|
5
|
+
[attribute: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface FlowQueryExtraParams {
|
|
8
|
+
[key: string]: string | number;
|
|
9
|
+
}
|
|
10
|
+
export declare type FlowQueryOrderClause = string | number | [string | number, 'asc' | 'desc'];
|
|
11
|
+
export interface FlowQuerySampleOptions {
|
|
12
|
+
percentage: number;
|
|
13
|
+
method?: 'system' | 'bernoulli';
|
|
14
|
+
seed?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface FlowQueryDefinition {
|
|
17
|
+
datasetId: string;
|
|
18
|
+
attributes?: FlowQueryAttribute[];
|
|
19
|
+
distinct?: string | string[];
|
|
20
|
+
where?: FlowQueryWhereClauses;
|
|
21
|
+
order?: FlowQueryOrderClause[];
|
|
22
|
+
group?: (string | number)[];
|
|
23
|
+
limit?: number;
|
|
24
|
+
format?: FlowQueryResultFormat;
|
|
25
|
+
params?: FlowQueryExtraParams;
|
|
26
|
+
sample?: FlowQuerySampleOptions;
|
|
27
|
+
}
|
|
28
|
+
export interface FlowCoreQueryOptions {
|
|
29
|
+
name?: string;
|
|
30
|
+
fireImmediately?: boolean;
|
|
31
|
+
delay?: number;
|
|
32
|
+
flowClient?: FlowClient;
|
|
33
|
+
}
|
|
34
|
+
export declare type FlowCoreQueryDefinitionFn<TState> = (this: TState, store: TState) => FlowQueryDefinition | Promise<FlowQueryDefinition> | null;
|
|
35
|
+
export declare type FlowCoreQueryResultTransformFn<T = any> = (results: any) => T | null;
|
|
36
|
+
//# sourceMappingURL=FlowQueryResultFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowQueryResultFormat.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-query/FlowQueryResultFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAIxE,oBAAY,qBAAqB,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,CAAC;AAG/D,oBAAY,kBAAkB,GAAG,MAAM,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAKxD,MAAM,WAAW,qBAAqB;IACpC,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,CAAC;CAC1B;AAKD,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC;AAOD,oBAAY,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,CAAC;AAEvF,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAKD,MAAM,WAAW,mBAAmB;IAElC,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAElC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE7B,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAE9B,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAE/B,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAE5B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAE/B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAOD,oBAAY,yBAAyB,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;AAO3I,oBAAY,8BAA8B,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowQueryResultFormat.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-query/FlowQueryResultFormat.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare type AsyncCommitterResult<T> = {
|
|
2
|
+
succeeded: false;
|
|
3
|
+
value?: undefined;
|
|
4
|
+
} | {
|
|
5
|
+
succeeded: true;
|
|
6
|
+
value: T | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare class AsyncCommitter<T> {
|
|
9
|
+
requestId: number;
|
|
10
|
+
commitId: number;
|
|
11
|
+
resolve(promise: Promise<T | undefined> | T | undefined): Promise<AsyncCommitterResult<T>>;
|
|
12
|
+
run(asyncFunction: () => Promise<T>): Promise<AsyncCommitterResult<T>>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=async-committer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-committer.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-query/async-committer.ts"],"names":[],"mappings":"AAAA,aAAK,oBAAoB,CAAC,CAAC,IACvB;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAE,GACvC;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,GAAG,SAAS,CAAA;CAAE,CAAC;AAE9C,qBAAa,cAAc,CAAC,CAAC;IAC3B,SAAS,SAAK;IACd,QAAQ,SAAK;IACP,OAAO,CACX,OAAO,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,SAAS,GAC9C,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAU7B,GAAG,CAAC,aAAa,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;CAG7E"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { __awaiter, __generator } from "tslib";
|
|
2
|
+
var AsyncCommitter = (function () {
|
|
3
|
+
function AsyncCommitter() {
|
|
4
|
+
Object.defineProperty(this, "requestId", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true,
|
|
8
|
+
value: 0
|
|
9
|
+
});
|
|
10
|
+
Object.defineProperty(this, "commitId", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
writable: true,
|
|
14
|
+
value: 0
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
Object.defineProperty(AsyncCommitter.prototype, "resolve", {
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true,
|
|
21
|
+
value: function (promise) {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
23
|
+
var currentRequestId, value;
|
|
24
|
+
return __generator(this, function (_a) {
|
|
25
|
+
switch (_a.label) {
|
|
26
|
+
case 0:
|
|
27
|
+
this.requestId += 1;
|
|
28
|
+
currentRequestId = this.requestId;
|
|
29
|
+
return [4, promise];
|
|
30
|
+
case 1:
|
|
31
|
+
value = _a.sent();
|
|
32
|
+
if (currentRequestId <= this.commitId) {
|
|
33
|
+
return [2, { succeeded: false }];
|
|
34
|
+
}
|
|
35
|
+
this.commitId = currentRequestId;
|
|
36
|
+
return [2, { succeeded: true, value: value }];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(AsyncCommitter.prototype, "run", {
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true,
|
|
46
|
+
value: function (asyncFunction) {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
48
|
+
return __generator(this, function (_a) {
|
|
49
|
+
return [2, this.resolve(asyncFunction())];
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
return AsyncCommitter;
|
|
55
|
+
}());
|
|
56
|
+
export { AsyncCommitter };
|
|
57
|
+
//# sourceMappingURL=async-committer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-committer.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-query/async-committer.ts"],"names":[],"mappings":";AAIA;IAAA;QACE;;;;mBAAY,CAAC;WAAC;QACd;;;;mBAAW,CAAC;WAAC;IAgBf,CAAC;;;;;eAfC,UACE,OAA+C;;;;;;4BAE/C,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;4BACd,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC;4BAC1B,WAAM,OAAO,EAAA;;4BAArB,KAAK,GAAG,SAAa;4BAC3B,IAAI,gBAAgB,IAAI,IAAI,CAAC,QAAQ,EAAE;gCACrC,WAAO,EAAE,SAAS,EAAE,KAAK,EAAE,EAAC;6BAC7B;4BACD,IAAI,CAAC,QAAQ,GAAG,gBAAgB,CAAC;4BACjC,WAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,OAAA,EAAE,EAAC;;;;SACnC;;;;;;eACD,UAAU,aAA+B;;;oBACvC,WAAO,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,EAAC;;;SACtC;;IACH,qBAAC;AAAD,CAAC,AAlBD,IAkBC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FlowCoreStateStore } from '../flow-core-state-store/';
|
|
2
|
+
import { Client as FlowClient } from '@emuanalytics/flow-engine-client';
|
|
3
|
+
import { FlowCoreQueryOptions, FlowCoreQueryResultTransformFn, FlowCoreQueryDefinitionFn } from './FlowQueryResultFormat';
|
|
4
|
+
export declare class FlowCoreQuery<TResults, TState extends FlowCoreStateStore = any> {
|
|
5
|
+
private queryFn;
|
|
6
|
+
private static defaultOptions;
|
|
7
|
+
private static queryNum;
|
|
8
|
+
private static queries;
|
|
9
|
+
static setDefaultOptions(options: FlowCoreQueryOptions): void;
|
|
10
|
+
private options;
|
|
11
|
+
private committer;
|
|
12
|
+
private disposer;
|
|
13
|
+
private store;
|
|
14
|
+
private transformFn;
|
|
15
|
+
private _flowClient;
|
|
16
|
+
get flowClient(): FlowClient | undefined;
|
|
17
|
+
get name(): string | undefined;
|
|
18
|
+
results: TResults | null;
|
|
19
|
+
busy: boolean;
|
|
20
|
+
error: Error | null;
|
|
21
|
+
constructor(queryFn: FlowCoreQueryDefinitionFn<TState | null>, transformFn?: FlowCoreQueryResultTransformFn<TResults>, options?: FlowCoreQueryOptions);
|
|
22
|
+
bindState(store: TState): this;
|
|
23
|
+
runImmediately(): Promise<TResults | null>;
|
|
24
|
+
private wake;
|
|
25
|
+
private sleep;
|
|
26
|
+
private runQuery;
|
|
27
|
+
private formattedName;
|
|
28
|
+
}
|
|
29
|
+
export declare function flowQuery<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, options: FlowCoreQueryOptions): FlowCoreQuery<TResult, TState>;
|
|
30
|
+
export declare function flowQuery<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, transformFn?: FlowCoreQueryResultTransformFn<TResult>, options?: FlowCoreQueryOptions): FlowCoreQuery<TResult, TState>;
|
|
31
|
+
export declare function flowQueryMany<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, options: FlowCoreQueryOptions): FlowCoreQuery<TResult[], TState>;
|
|
32
|
+
export declare function flowQueryMany<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, transformFn?: FlowCoreQueryResultTransformFn<TResult[]>, options?: FlowCoreQueryOptions): FlowCoreQuery<TResult[], TState>;
|
|
33
|
+
export declare function flowQueryOne<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, options: FlowCoreQueryOptions): FlowCoreQuery<TResult, TState>;
|
|
34
|
+
export declare function flowQueryOne<TResult = any, TState extends FlowCoreStateStore = any>(queryFn: FlowCoreQueryDefinitionFn<TState>, transformFn?: FlowCoreQueryResultTransformFn<TResult>, options?: FlowCoreQueryOptions): FlowCoreQuery<TResult, TState>;
|
|
35
|
+
//# sourceMappingURL=flow-core-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-core-query.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-query/flow-core-query.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,yBAAyB,EAAsB,MAAM,yBAAyB,CAAC;AAM9I,qBAAa,aAAa,CAAC,QAAQ,EAAE,MAAM,SAAS,kBAAkB,GAAG,GAAG;IAsDxE,OAAO,C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