@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,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
14
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
15
|
+
if (!m) return o;
|
|
16
|
+
var i = m.call(o), r, ar = [], e;
|
|
17
|
+
try {
|
|
18
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
19
|
+
}
|
|
20
|
+
catch (error) { e = { error: error }; }
|
|
21
|
+
finally {
|
|
22
|
+
try {
|
|
23
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
24
|
+
}
|
|
25
|
+
finally { if (e) throw e.error; }
|
|
26
|
+
}
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
30
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
31
|
+
if (ar || !(i in from)) {
|
|
32
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
33
|
+
ar[i] = from[i];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FlowCoreMapStyle = void 0;
|
|
40
|
+
var mobx_1 = require("mobx");
|
|
41
|
+
var errors_1 = require("../errors");
|
|
42
|
+
var utils_1 = require("../utils");
|
|
43
|
+
var FlowCoreMapStyle = (function () {
|
|
44
|
+
function FlowCoreMapStyle(options) {
|
|
45
|
+
Object.defineProperty(this, "state", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
configurable: true,
|
|
48
|
+
writable: true,
|
|
49
|
+
value: null
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(this, "options", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
configurable: true,
|
|
54
|
+
writable: true,
|
|
55
|
+
value: void 0
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(this, "baseStyle", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true,
|
|
60
|
+
writable: true,
|
|
61
|
+
value: void 0
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(this, "sources", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
configurable: true,
|
|
66
|
+
writable: true,
|
|
67
|
+
value: {}
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(this, "layers", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
configurable: true,
|
|
72
|
+
writable: true,
|
|
73
|
+
value: {}
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(this, "layerOrder", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
configurable: true,
|
|
78
|
+
writable: true,
|
|
79
|
+
value: []
|
|
80
|
+
});
|
|
81
|
+
this.options = __assign(__assign({}, FlowCoreMapStyle.defaultOptions), options);
|
|
82
|
+
this.baseStyle = FlowCoreMapStyle.defaultBaseStyle;
|
|
83
|
+
(0, mobx_1.makeObservable)(this, {
|
|
84
|
+
options: mobx_1.observable,
|
|
85
|
+
sources: mobx_1.observable,
|
|
86
|
+
layers: mobx_1.observable,
|
|
87
|
+
layerOrder: mobx_1.observable,
|
|
88
|
+
baseStyle: mobx_1.observable.ref,
|
|
89
|
+
styleSpecification: mobx_1.computed,
|
|
90
|
+
bindState: mobx_1.action,
|
|
91
|
+
setBaseStyle: mobx_1.action,
|
|
92
|
+
addSource: mobx_1.action,
|
|
93
|
+
removeSource: mobx_1.action,
|
|
94
|
+
addLayer: mobx_1.action,
|
|
95
|
+
removeLayer: mobx_1.action
|
|
96
|
+
}, { name: this.formattedName(this.id) });
|
|
97
|
+
}
|
|
98
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "styleSpecification", {
|
|
99
|
+
get: function () {
|
|
100
|
+
var _this = this;
|
|
101
|
+
var spec = __assign(__assign({}, this.baseStyle), { sources: __assign({}, this.baseStyle.sources), layers: __spreadArray([], __read(this.baseStyle.layers), false) });
|
|
102
|
+
Object.values(this.sources).forEach(function (source) {
|
|
103
|
+
spec.sources[source.id] = source.dataSourceSpecification;
|
|
104
|
+
});
|
|
105
|
+
this.layerOrder.forEach(function (id) {
|
|
106
|
+
var layer = _this.layers[id];
|
|
107
|
+
var layerSpec = layer.layerSpecification;
|
|
108
|
+
var baseLayerIndex = spec.layers.findIndex(function (l) { return l.id === id; });
|
|
109
|
+
if (baseLayerIndex >= 0) {
|
|
110
|
+
var baseLayer = spec.layers[baseLayerIndex];
|
|
111
|
+
var mergedBaseLayer = __assign(__assign({}, baseLayer), { paint: __assign(__assign({}, baseLayer.paint), layerSpec.paint), layout: __assign(__assign({}, baseLayer.layout), layerSpec.layout) });
|
|
112
|
+
spec.layers.splice(baseLayerIndex, 1, mergedBaseLayer);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
var source = spec.sources[layer.source];
|
|
116
|
+
if (source.type === 'vector' && (0, utils_1.isNil)(layerSpec['source-layer'])) {
|
|
117
|
+
layerSpec['source-layer'] = 'geometry';
|
|
118
|
+
}
|
|
119
|
+
var layerIndex = _this.layerInsertionPoint(layer, spec);
|
|
120
|
+
spec.layers.splice(layerIndex, 0, layer.layerSpecification);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
return spec;
|
|
124
|
+
},
|
|
125
|
+
enumerable: false,
|
|
126
|
+
configurable: true
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "id", {
|
|
129
|
+
get: function () {
|
|
130
|
+
return this.baseStyle.id;
|
|
131
|
+
},
|
|
132
|
+
enumerable: false,
|
|
133
|
+
configurable: true
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "bindState", {
|
|
136
|
+
enumerable: false,
|
|
137
|
+
configurable: true,
|
|
138
|
+
writable: true,
|
|
139
|
+
value: function (state) {
|
|
140
|
+
var _this = this;
|
|
141
|
+
this.state = state;
|
|
142
|
+
state.transaction(function () {
|
|
143
|
+
Object.values(_this.sources).forEach(function (source) { return source.bindState(state); });
|
|
144
|
+
Object.values(_this.layers).forEach(function (layer) { return layer.bindState(state); });
|
|
145
|
+
});
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "setBaseStyle", {
|
|
150
|
+
enumerable: false,
|
|
151
|
+
configurable: true,
|
|
152
|
+
writable: true,
|
|
153
|
+
value: function (style) {
|
|
154
|
+
this.baseStyle = style ? Object.freeze(__assign({}, style)) : FlowCoreMapStyle.defaultBaseStyle;
|
|
155
|
+
return this;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "addSource", {
|
|
159
|
+
enumerable: false,
|
|
160
|
+
configurable: true,
|
|
161
|
+
writable: true,
|
|
162
|
+
value: function (source) {
|
|
163
|
+
this.sources[source.id] = source;
|
|
164
|
+
source.bindState(this.state);
|
|
165
|
+
return this;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "removeSource", {
|
|
169
|
+
enumerable: false,
|
|
170
|
+
configurable: true,
|
|
171
|
+
writable: true,
|
|
172
|
+
value: function (id, removeLayers) {
|
|
173
|
+
var _this = this;
|
|
174
|
+
if (removeLayers === void 0) { removeLayers = false; }
|
|
175
|
+
if (!this.sources[id]) {
|
|
176
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(id, "'"));
|
|
177
|
+
}
|
|
178
|
+
var linkedLayers = Object.values(this.layers)
|
|
179
|
+
.filter(function (layer) { return layer.source === id; })
|
|
180
|
+
.map(function (layer) { return layer.id; });
|
|
181
|
+
if (removeLayers) {
|
|
182
|
+
linkedLayers.forEach(function (id) { return _this.removeLayer(id); });
|
|
183
|
+
}
|
|
184
|
+
else if (linkedLayers.length) {
|
|
185
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": cannot remove source with id '").concat(id, "' when in use by layers ").concat(linkedLayers.join(', ')));
|
|
186
|
+
}
|
|
187
|
+
delete this.sources[id];
|
|
188
|
+
return this;
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getSource", {
|
|
192
|
+
enumerable: false,
|
|
193
|
+
configurable: true,
|
|
194
|
+
writable: true,
|
|
195
|
+
value: function (id) {
|
|
196
|
+
var source = this.sources[id];
|
|
197
|
+
if (!source) {
|
|
198
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(id, "'"));
|
|
199
|
+
}
|
|
200
|
+
return source;
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getSources", {
|
|
204
|
+
enumerable: false,
|
|
205
|
+
configurable: true,
|
|
206
|
+
writable: true,
|
|
207
|
+
value: function (filter) {
|
|
208
|
+
return Object.values(this.sources).filter(function (source) { return (filter ? filter(source) : true); });
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "addLayer", {
|
|
212
|
+
enumerable: false,
|
|
213
|
+
configurable: true,
|
|
214
|
+
writable: true,
|
|
215
|
+
value: function (layer) {
|
|
216
|
+
if (!this.sources[layer.source] && !this.baseStyle.sources[layer.source]) {
|
|
217
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": no source with id '").concat(layer.source, "'"));
|
|
218
|
+
}
|
|
219
|
+
this.layers[layer.id] = layer;
|
|
220
|
+
this.layerOrder.push(layer.id);
|
|
221
|
+
layer.bindState(this.state);
|
|
222
|
+
return this;
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "removeLayer", {
|
|
226
|
+
enumerable: false,
|
|
227
|
+
configurable: true,
|
|
228
|
+
writable: true,
|
|
229
|
+
value: function (id) {
|
|
230
|
+
if (!this.layers[id]) {
|
|
231
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": no layer with id '").concat(id, "'"));
|
|
232
|
+
}
|
|
233
|
+
delete this.layers[id];
|
|
234
|
+
var index = this.layerOrder.indexOf(id);
|
|
235
|
+
this.layerOrder.splice(index, 1);
|
|
236
|
+
return this;
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getLayer", {
|
|
240
|
+
enumerable: false,
|
|
241
|
+
configurable: true,
|
|
242
|
+
writable: true,
|
|
243
|
+
value: function (id) {
|
|
244
|
+
var layer = this.layers[id];
|
|
245
|
+
if (!layer) {
|
|
246
|
+
throw new errors_1.FlowCoreError("".concat(this.formattedName(), ": no layer with id '").concat(id, "'"));
|
|
247
|
+
}
|
|
248
|
+
return layer;
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "getLayers", {
|
|
252
|
+
enumerable: false,
|
|
253
|
+
configurable: true,
|
|
254
|
+
writable: true,
|
|
255
|
+
value: function (filter) {
|
|
256
|
+
var _this = this;
|
|
257
|
+
return this.layerOrder.map(function (layerId) { return _this.layers[layerId]; }).filter(function (layer) { return (filter ? filter(layer) : true); });
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "formattedName", {
|
|
261
|
+
enumerable: false,
|
|
262
|
+
configurable: true,
|
|
263
|
+
writable: true,
|
|
264
|
+
value: function (id) {
|
|
265
|
+
return "FlowCoreMapStyle<".concat(id || this.id, ">");
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
Object.defineProperty(FlowCoreMapStyle.prototype, "layerInsertionPoint", {
|
|
269
|
+
enumerable: false,
|
|
270
|
+
configurable: true,
|
|
271
|
+
writable: true,
|
|
272
|
+
value: function (layer, spec) {
|
|
273
|
+
var _a, _b;
|
|
274
|
+
var insertionIndex = -1;
|
|
275
|
+
if (layer.above) {
|
|
276
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === layer.above; });
|
|
277
|
+
if (insertionIndex >= 0)
|
|
278
|
+
insertionIndex++;
|
|
279
|
+
}
|
|
280
|
+
else if (layer.below) {
|
|
281
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === layer.below; });
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
var below_1 = (_b = (_a = spec.metadata) === null || _a === void 0 ? void 0 : _a.insertionPoints) === null || _b === void 0 ? void 0 : _b[layer.type];
|
|
285
|
+
insertionIndex = spec.layers.findIndex(function (l) { return l.id === below_1; });
|
|
286
|
+
}
|
|
287
|
+
if (insertionIndex === -1) {
|
|
288
|
+
insertionIndex = spec.layers.length;
|
|
289
|
+
}
|
|
290
|
+
return insertionIndex;
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
Object.defineProperty(FlowCoreMapStyle, "defaultOptions", {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
configurable: true,
|
|
296
|
+
writable: true,
|
|
297
|
+
value: {}
|
|
298
|
+
});
|
|
299
|
+
Object.defineProperty(FlowCoreMapStyle, "defaultBaseStyle", {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
configurable: true,
|
|
302
|
+
writable: true,
|
|
303
|
+
value: Object.freeze({
|
|
304
|
+
version: 8,
|
|
305
|
+
id: 'default',
|
|
306
|
+
name: 'Default base style',
|
|
307
|
+
sources: {},
|
|
308
|
+
layers: []
|
|
309
|
+
})
|
|
310
|
+
});
|
|
311
|
+
return FlowCoreMapStyle;
|
|
312
|
+
}());
|
|
313
|
+
exports.FlowCoreMapStyle = FlowCoreMapStyle;
|
|
314
|
+
//# 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,6BAAiF;AACjF,oCAA0C;AAE1C,kCAAiC;AASjC;IA0EE,0BAAY,OAAgC;QA7D5C;;;;mBAA2C,IAAI;WAAC;QAChD;;;;;WAAyC;QACzC;;;;;WAAiD;QACjD;;;;mBAA2D,EAAE;WAAC;QAC9D;;;;mBAAqD,EAAE;WAAC;QACxD;;;;mBAA+B,EAAE;WAAC;QAyDhC,IAAI,CAAC,OAAO,yBACP,gBAAgB,CAAC,cAAc,GAC/B,OAAO,CACX,CAAC;QAEF,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;QAEnD,IAAA,qBAAc,EACZ,IAAI,EACJ;YAEE,OAAO,EAAE,iBAAU;YACnB,OAAO,EAAE,iBAAU;YACnB,MAAM,EAAE,iBAAU;YAClB,UAAU,EAAE,iBAAU;YACtB,SAAS,EAAE,iBAAU,CAAC,GAAG;YAEzB,kBAAkB,EAAE,eAAQ;YAE5B,SAAS,EAAE,aAAM;YACjB,YAAY,EAAE,aAAM;YACpB,SAAS,EAAE,aAAM;YACjB,YAAY,EAAE,aAAM;YACpB,QAAQ,EAAE,aAAM;YAChB,WAAW,EAAE,aAAM;SACpB,EACD,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CACtC,CAAC;IACJ,CAAC;IAnFD,sBAAI,gDAAkB;aAAtB;YAAA,iBAgDC;YA/CC,IAAM,IAAI,yBACL,IAAI,CAAC,SAAS,KACjB,OAAO,eAAO,IAAI,CAAC,SAAS,CAAC,OAAO,GACpC,MAAM,2BAAM,IAAI,CAAC,SAAS,CAAC,MAAM,YAClC,CAAC;YAGF,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,C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AEzB,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;aACrC;YAED,OAAO,cAAc,CAAC;QACxB,CAAC;;IA5ND;;;;eAAkE,EAEjE;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;AA9NY,4CAAgB"}
|
|
@@ -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,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./flow-core-map-style"), exports);
|
|
18
|
+
__exportStar(require("./flow-core-map-layer"), exports);
|
|
19
|
+
__exportStar(require("./flow-core-map-data-source"), exports);
|
|
20
|
+
__exportStar(require("./types"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,wDAAsC;AACtC,wDAAsC;AACtC,8DAA4C;AAC5C,0CAAwB"}
|
|
@@ -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;IAEvB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,yBAAyB,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,oBAAY,sBAAsB,GAAG,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;AAExE,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,CAAC,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE;QACT,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KACxC,CAAC;IACF,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE;QACP,CAAC,CAAC,EAAE,MAAM,GAAG,kCAAkC,CAAC;KACjD,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE;QACX,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC9B,KAAK,CAAC,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,CAA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BAAY,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":""}
|
|
File without changes
|
|
@@ -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,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AsyncCommitter = void 0;
|
|
40
|
+
var AsyncCommitter = (function () {
|
|
41
|
+
function AsyncCommitter() {
|
|
42
|
+
Object.defineProperty(this, "requestId", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true,
|
|
46
|
+
value: 0
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(this, "commitId", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: true,
|
|
51
|
+
writable: true,
|
|
52
|
+
value: 0
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Object.defineProperty(AsyncCommitter.prototype, "resolve", {
|
|
56
|
+
enumerable: false,
|
|
57
|
+
configurable: true,
|
|
58
|
+
writable: true,
|
|
59
|
+
value: function (promise) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
61
|
+
var currentRequestId, value;
|
|
62
|
+
return __generator(this, function (_a) {
|
|
63
|
+
switch (_a.label) {
|
|
64
|
+
case 0:
|
|
65
|
+
this.requestId += 1;
|
|
66
|
+
currentRequestId = this.requestId;
|
|
67
|
+
return [4, promise];
|
|
68
|
+
case 1:
|
|
69
|
+
value = _a.sent();
|
|
70
|
+
if (currentRequestId <= this.commitId) {
|
|
71
|
+
return [2, { succeeded: false }];
|
|
72
|
+
}
|
|
73
|
+
this.commitId = currentRequestId;
|
|
74
|
+
return [2, { succeeded: true, value: value }];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(AsyncCommitter.prototype, "run", {
|
|
81
|
+
enumerable: false,
|
|
82
|
+
configurable: true,
|
|
83
|
+
writable: true,
|
|
84
|
+
value: function (asyncFunction) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
86
|
+
return __generator(this, function (_a) {
|
|
87
|
+
return [2, this.resolve(asyncFunction())];
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
return AsyncCommitter;
|
|
93
|
+
}());
|
|
94
|
+
exports.AsyncCommitter = AsyncCommitter;
|
|
95
|
+
//# 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;AAlBY,wCAAc"}
|
|
@@ -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,CAAC,OAAO;IArDjB,OAAO,CAAC,MAAM,CAAC,cAAc,CAG5B;IACD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAK;IAC5B,OAAO,CAAC,MAAM,CAAC,OAAO,CAAiD;IAEvE,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAE,oBAAoB;IAyBtD,OAAO,CAAC,OAAO,CAAuB;IACtC,OAAO,CAAC,SAAS,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