@emuanalytics/flow-rdf-core 0.0.15
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/README.md +64 -0
- package/dist/flow-rdf-core.css +1 -0
- package/dist/index.cjs +3102 -0
- package/dist/index.d.cts +61 -0
- package/dist/index.d.mts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.mjs +3062 -0
- package/dist/lib/map/plugins/index.cjs +1652 -0
- package/dist/lib/map/plugins/index.d.cts +309 -0
- package/dist/lib/map/plugins/index.d.mts +309 -0
- package/dist/lib/map/plugins/index.d.ts +309 -0
- package/dist/lib/map/plugins/index.mjs +1614 -0
- package/dist/lib/utils/index.cjs +45 -0
- package/dist/lib/utils/index.d.cts +39 -0
- package/dist/lib/utils/index.d.mts +39 -0
- package/dist/lib/utils/index.d.ts +39 -0
- package/dist/lib/utils/index.mjs +5 -0
- package/dist/shared/flow-rdf-core.08975378.d.cts +68 -0
- package/dist/shared/flow-rdf-core.08975378.d.mts +68 -0
- package/dist/shared/flow-rdf-core.08975378.d.ts +68 -0
- package/dist/shared/flow-rdf-core.278a260a.cjs +1364 -0
- package/dist/shared/flow-rdf-core.2e456f93.mjs +83 -0
- package/dist/shared/flow-rdf-core.3042be4a.cjs +93 -0
- package/dist/shared/flow-rdf-core.84eded74.cjs +34 -0
- package/dist/shared/flow-rdf-core.b4b16e78.mjs +1329 -0
- package/dist/shared/flow-rdf-core.b80085b4.mjs +66 -0
- package/dist/shared/flow-rdf-core.bd95d618.mjs +29 -0
- package/dist/shared/flow-rdf-core.c44cf082.cjs +88 -0
- package/dist/shared/flow-rdf-core.c9d2f730.d.cts +1815 -0
- package/dist/shared/flow-rdf-core.c9d2f730.d.mts +1815 -0
- package/dist/shared/flow-rdf-core.c9d2f730.d.ts +1815 -0
- package/package.json +106 -0
- package/plugins/package.json +7 -0
- package/utils/package.json +7 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { A as Annotation, M as MapStyleSpecification, S as StateStore, a as MapDataSource, b as MapLayer, F as FlowContextOptions, c as FlowContext } from './shared/flow-rdf-core.c9d2f730.cjs';
|
|
2
|
+
export { d as FlowEngineEndpoint, y as FlowMap, r as MapAnimationOptions, s as MapCenterOptions, o as MapDataSourceOptions, p as MapDataSourceSpecification, n as MapDataSourceType, t as MapFeature, u as MapFeatureIdentifier, q as MapGeojsonData, j as MapLayerExpression, i as MapLayerOptions, m as MapLayerPropertyMetadataIndex, k as MapLayerSpecification, f as MapLayerStyleBuilder, e as MapLayerType, x as MapOptions, v as MapPaddingOptions, w as MapSourceIdentifier, P as Path, E as PathValue, Q as Query, R as ReactiveExpression, H as StoreAnnotations, G as StoreConstructor, g as StyleExpression, h as expr, l as layerStyle, z as query, B as queryMany, C as queryOne, D as traceReaction } from './shared/flow-rdf-core.c9d2f730.cjs';
|
|
3
|
+
export { IDisposer, IObservableStream, ISubscription } from 'mobx-utils';
|
|
4
|
+
import '@emuanalytics/flow-engine-client';
|
|
5
|
+
import 'eventemitter3';
|
|
6
|
+
import '@emuanalytics/maplibre-gl';
|
|
7
|
+
|
|
8
|
+
interface SyncAnnotation<T = any> extends Annotation {
|
|
9
|
+
serialize(val: T): string;
|
|
10
|
+
deserialize(val: string, target?: T): T;
|
|
11
|
+
}
|
|
12
|
+
declare const serialize: {
|
|
13
|
+
string: PropertyDecorator & SyncAnnotation<string>;
|
|
14
|
+
number: PropertyDecorator & SyncAnnotation<number>;
|
|
15
|
+
stringArray: PropertyDecorator & SyncAnnotation<string[]>;
|
|
16
|
+
numberArray: PropertyDecorator & SyncAnnotation<number[]>;
|
|
17
|
+
state: PropertyDecorator & SyncAnnotation<any>;
|
|
18
|
+
};
|
|
19
|
+
interface ReactiveAnnotation extends Annotation {
|
|
20
|
+
mobxAnnotation: any;
|
|
21
|
+
}
|
|
22
|
+
declare const observable: PropertyDecorator & ReactiveAnnotation & {
|
|
23
|
+
ref: PropertyDecorator & ReactiveAnnotation;
|
|
24
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
25
|
+
shallow: PropertyDecorator & ReactiveAnnotation;
|
|
26
|
+
};
|
|
27
|
+
declare const computed: PropertyDecorator & ReactiveAnnotation & {
|
|
28
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
interface MapStyleOptions {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
declare class MapStyle {
|
|
35
|
+
private static _defaultBaseStyle;
|
|
36
|
+
private _state;
|
|
37
|
+
private _baseStyle;
|
|
38
|
+
private _sources;
|
|
39
|
+
private _layers;
|
|
40
|
+
private _layerOrder;
|
|
41
|
+
get styleSpecification(): MapStyleSpecification;
|
|
42
|
+
get formattedName(): string;
|
|
43
|
+
constructor();
|
|
44
|
+
bindState(state: StateStore): this;
|
|
45
|
+
setBaseStyle(style?: MapStyleSpecification): this;
|
|
46
|
+
addSource(source: MapDataSource): this;
|
|
47
|
+
removeSource(id: string, removeLayers?: boolean): this;
|
|
48
|
+
getSource(id: string): MapDataSource;
|
|
49
|
+
getSources(filter?: (source: MapDataSource) => boolean): MapDataSource[];
|
|
50
|
+
addLayer(layer: MapLayer): this;
|
|
51
|
+
removeLayer(id: string): this;
|
|
52
|
+
getLayer(id: string): MapLayer;
|
|
53
|
+
getLayers(filter?: (layer: MapLayer) => boolean): MapLayer[];
|
|
54
|
+
private layerInsertionPoint;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const initializeContext: <TState extends StateStore = StateStore>(options: FlowContextOptions<TState>) => FlowContext<TState>;
|
|
58
|
+
declare const uninitializeContext: (contextId?: string) => void;
|
|
59
|
+
declare const getContext: <TState extends StateStore = StateStore>(id?: string) => Promise<FlowContext<TState>>;
|
|
60
|
+
|
|
61
|
+
export { MapDataSource, MapLayer, MapStyle, MapStyleOptions, MapStyleSpecification, StateStore, computed, getContext, initializeContext, observable, serialize, uninitializeContext };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { A as Annotation, M as MapStyleSpecification, S as StateStore, a as MapDataSource, b as MapLayer, F as FlowContextOptions, c as FlowContext } from './shared/flow-rdf-core.c9d2f730.mjs';
|
|
2
|
+
export { d as FlowEngineEndpoint, y as FlowMap, r as MapAnimationOptions, s as MapCenterOptions, o as MapDataSourceOptions, p as MapDataSourceSpecification, n as MapDataSourceType, t as MapFeature, u as MapFeatureIdentifier, q as MapGeojsonData, j as MapLayerExpression, i as MapLayerOptions, m as MapLayerPropertyMetadataIndex, k as MapLayerSpecification, f as MapLayerStyleBuilder, e as MapLayerType, x as MapOptions, v as MapPaddingOptions, w as MapSourceIdentifier, P as Path, E as PathValue, Q as Query, R as ReactiveExpression, H as StoreAnnotations, G as StoreConstructor, g as StyleExpression, h as expr, l as layerStyle, z as query, B as queryMany, C as queryOne, D as traceReaction } from './shared/flow-rdf-core.c9d2f730.mjs';
|
|
3
|
+
export { IDisposer, IObservableStream, ISubscription } from 'mobx-utils';
|
|
4
|
+
import '@emuanalytics/flow-engine-client';
|
|
5
|
+
import 'eventemitter3';
|
|
6
|
+
import '@emuanalytics/maplibre-gl';
|
|
7
|
+
|
|
8
|
+
interface SyncAnnotation<T = any> extends Annotation {
|
|
9
|
+
serialize(val: T): string;
|
|
10
|
+
deserialize(val: string, target?: T): T;
|
|
11
|
+
}
|
|
12
|
+
declare const serialize: {
|
|
13
|
+
string: PropertyDecorator & SyncAnnotation<string>;
|
|
14
|
+
number: PropertyDecorator & SyncAnnotation<number>;
|
|
15
|
+
stringArray: PropertyDecorator & SyncAnnotation<string[]>;
|
|
16
|
+
numberArray: PropertyDecorator & SyncAnnotation<number[]>;
|
|
17
|
+
state: PropertyDecorator & SyncAnnotation<any>;
|
|
18
|
+
};
|
|
19
|
+
interface ReactiveAnnotation extends Annotation {
|
|
20
|
+
mobxAnnotation: any;
|
|
21
|
+
}
|
|
22
|
+
declare const observable: PropertyDecorator & ReactiveAnnotation & {
|
|
23
|
+
ref: PropertyDecorator & ReactiveAnnotation;
|
|
24
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
25
|
+
shallow: PropertyDecorator & ReactiveAnnotation;
|
|
26
|
+
};
|
|
27
|
+
declare const computed: PropertyDecorator & ReactiveAnnotation & {
|
|
28
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
interface MapStyleOptions {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
declare class MapStyle {
|
|
35
|
+
private static _defaultBaseStyle;
|
|
36
|
+
private _state;
|
|
37
|
+
private _baseStyle;
|
|
38
|
+
private _sources;
|
|
39
|
+
private _layers;
|
|
40
|
+
private _layerOrder;
|
|
41
|
+
get styleSpecification(): MapStyleSpecification;
|
|
42
|
+
get formattedName(): string;
|
|
43
|
+
constructor();
|
|
44
|
+
bindState(state: StateStore): this;
|
|
45
|
+
setBaseStyle(style?: MapStyleSpecification): this;
|
|
46
|
+
addSource(source: MapDataSource): this;
|
|
47
|
+
removeSource(id: string, removeLayers?: boolean): this;
|
|
48
|
+
getSource(id: string): MapDataSource;
|
|
49
|
+
getSources(filter?: (source: MapDataSource) => boolean): MapDataSource[];
|
|
50
|
+
addLayer(layer: MapLayer): this;
|
|
51
|
+
removeLayer(id: string): this;
|
|
52
|
+
getLayer(id: string): MapLayer;
|
|
53
|
+
getLayers(filter?: (layer: MapLayer) => boolean): MapLayer[];
|
|
54
|
+
private layerInsertionPoint;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const initializeContext: <TState extends StateStore = StateStore>(options: FlowContextOptions<TState>) => FlowContext<TState>;
|
|
58
|
+
declare const uninitializeContext: (contextId?: string) => void;
|
|
59
|
+
declare const getContext: <TState extends StateStore = StateStore>(id?: string) => Promise<FlowContext<TState>>;
|
|
60
|
+
|
|
61
|
+
export { MapDataSource, MapLayer, MapStyle, MapStyleOptions, MapStyleSpecification, StateStore, computed, getContext, initializeContext, observable, serialize, uninitializeContext };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { A as Annotation, M as MapStyleSpecification, S as StateStore, a as MapDataSource, b as MapLayer, F as FlowContextOptions, c as FlowContext } from './shared/flow-rdf-core.c9d2f730.js';
|
|
2
|
+
export { d as FlowEngineEndpoint, y as FlowMap, r as MapAnimationOptions, s as MapCenterOptions, o as MapDataSourceOptions, p as MapDataSourceSpecification, n as MapDataSourceType, t as MapFeature, u as MapFeatureIdentifier, q as MapGeojsonData, j as MapLayerExpression, i as MapLayerOptions, m as MapLayerPropertyMetadataIndex, k as MapLayerSpecification, f as MapLayerStyleBuilder, e as MapLayerType, x as MapOptions, v as MapPaddingOptions, w as MapSourceIdentifier, P as Path, E as PathValue, Q as Query, R as ReactiveExpression, H as StoreAnnotations, G as StoreConstructor, g as StyleExpression, h as expr, l as layerStyle, z as query, B as queryMany, C as queryOne, D as traceReaction } from './shared/flow-rdf-core.c9d2f730.js';
|
|
3
|
+
export { IDisposer, IObservableStream, ISubscription } from 'mobx-utils';
|
|
4
|
+
import '@emuanalytics/flow-engine-client';
|
|
5
|
+
import 'eventemitter3';
|
|
6
|
+
import '@emuanalytics/maplibre-gl';
|
|
7
|
+
|
|
8
|
+
interface SyncAnnotation<T = any> extends Annotation {
|
|
9
|
+
serialize(val: T): string;
|
|
10
|
+
deserialize(val: string, target?: T): T;
|
|
11
|
+
}
|
|
12
|
+
declare const serialize: {
|
|
13
|
+
string: PropertyDecorator & SyncAnnotation<string>;
|
|
14
|
+
number: PropertyDecorator & SyncAnnotation<number>;
|
|
15
|
+
stringArray: PropertyDecorator & SyncAnnotation<string[]>;
|
|
16
|
+
numberArray: PropertyDecorator & SyncAnnotation<number[]>;
|
|
17
|
+
state: PropertyDecorator & SyncAnnotation<any>;
|
|
18
|
+
};
|
|
19
|
+
interface ReactiveAnnotation extends Annotation {
|
|
20
|
+
mobxAnnotation: any;
|
|
21
|
+
}
|
|
22
|
+
declare const observable: PropertyDecorator & ReactiveAnnotation & {
|
|
23
|
+
ref: PropertyDecorator & ReactiveAnnotation;
|
|
24
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
25
|
+
shallow: PropertyDecorator & ReactiveAnnotation;
|
|
26
|
+
};
|
|
27
|
+
declare const computed: PropertyDecorator & ReactiveAnnotation & {
|
|
28
|
+
struct: PropertyDecorator & ReactiveAnnotation;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
interface MapStyleOptions {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
declare class MapStyle {
|
|
35
|
+
private static _defaultBaseStyle;
|
|
36
|
+
private _state;
|
|
37
|
+
private _baseStyle;
|
|
38
|
+
private _sources;
|
|
39
|
+
private _layers;
|
|
40
|
+
private _layerOrder;
|
|
41
|
+
get styleSpecification(): MapStyleSpecification;
|
|
42
|
+
get formattedName(): string;
|
|
43
|
+
constructor();
|
|
44
|
+
bindState(state: StateStore): this;
|
|
45
|
+
setBaseStyle(style?: MapStyleSpecification): this;
|
|
46
|
+
addSource(source: MapDataSource): this;
|
|
47
|
+
removeSource(id: string, removeLayers?: boolean): this;
|
|
48
|
+
getSource(id: string): MapDataSource;
|
|
49
|
+
getSources(filter?: (source: MapDataSource) => boolean): MapDataSource[];
|
|
50
|
+
addLayer(layer: MapLayer): this;
|
|
51
|
+
removeLayer(id: string): this;
|
|
52
|
+
getLayer(id: string): MapLayer;
|
|
53
|
+
getLayers(filter?: (layer: MapLayer) => boolean): MapLayer[];
|
|
54
|
+
private layerInsertionPoint;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const initializeContext: <TState extends StateStore = StateStore>(options: FlowContextOptions<TState>) => FlowContext<TState>;
|
|
58
|
+
declare const uninitializeContext: (contextId?: string) => void;
|
|
59
|
+
declare const getContext: <TState extends StateStore = StateStore>(id?: string) => Promise<FlowContext<TState>>;
|
|
60
|
+
|
|
61
|
+
export { MapDataSource, MapLayer, MapStyle, MapStyleOptions, MapStyleSpecification, StateStore, computed, getContext, initializeContext, observable, serialize, uninitializeContext };
|