@emuanalytics/flow-rdf-core 4.0.11 → 4.0.13
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/lib/map/flow-core-map.mjs +36 -12
- package/dist/lib/map/plugins/annotations/annotation.events.mjs +9 -0
- package/dist/lib/map/plugins/annotations/annotation.plugin.mjs +134 -2
- package/dist/lib/map/plugins/data-join.plugin.mjs +42 -1
- package/dist/lib/map/plugins/export/export.plugin.mjs +14 -0
- package/dist/lib/map/plugins/export/map-exporter.mjs +37 -34
- package/dist/lib/map/plugins/hover-effect.plugin.mjs +9 -0
- package/dist/lib/map/plugins/index.d.mts +742 -33
- package/dist/lib/map/plugins/index.d.ts +742 -33
- package/dist/lib/map/plugins/index.mjs +0 -1
- package/dist/lib/map/plugins/keyboard-shortcut-manager.mjs +6 -0
- package/dist/lib/map/plugins/map-plugin-base.mjs +5 -0
- package/dist/lib/map/plugins/plugin-manager.mjs +97 -0
- package/dist/lib/map/plugins/popup.plugin.mjs +12 -0
- package/dist/lib/map/plugins/selection/selection.events.mjs +3 -0
- package/dist/lib/map/plugins/selection/selection.plugin.mjs +75 -4
- package/dist/lib/map/plugins/selection/source-selection.mjs +50 -2
- package/dist/lib/map/support/map-events.mjs +19 -0
- package/dist/lib/map/support/map-popup.mjs +30 -5
- package/dist/lib/utils/index.d.mts +1 -0
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/package.json.mjs +1 -1
- package/dist/shared/{flow-rdf-core.08156446.d.mts → flow-rdf-core.3da5bd49.d.mts} +448 -17
- package/dist/shared/{flow-rdf-core.08156446.d.ts → flow-rdf-core.3da5bd49.d.ts} +448 -17
- package/package.json +4 -3
- package/styles/flow-rdf-core.css +1 -1
- package/dist/lib/map/plugins/url-sync.plugin.mjs +0 -55
|
@@ -9,11 +9,18 @@ var __publicField = (obj, key, value) => {
|
|
|
9
9
|
return value;
|
|
10
10
|
};
|
|
11
11
|
class HoverEffectPlugin extends MapPluginBase {
|
|
12
|
+
/**
|
|
13
|
+
* Constructs a new HoverEffectPlugin instance. This is called automatically when the plugin is added to a {@link FlowCoreMap} instance
|
|
14
|
+
* using {@link FlowCoreMap.usePlugin} method.
|
|
15
|
+
*
|
|
16
|
+
* @param pluginManager The plugin manager instance associated with the map
|
|
17
|
+
*/
|
|
12
18
|
constructor(pluginManager) {
|
|
13
19
|
super(pluginManager);
|
|
14
20
|
__publicField(this, "hoveredFeature", null);
|
|
15
21
|
__publicField(this, "name", "HoverEffectPlugin");
|
|
16
22
|
}
|
|
23
|
+
/** @internal MapPluginBase handler */
|
|
17
24
|
handleMouseMove(event) {
|
|
18
25
|
const hoveredFeature = event.features[0];
|
|
19
26
|
if (hoveredFeature) {
|
|
@@ -29,9 +36,11 @@ class HoverEffectPlugin extends MapPluginBase {
|
|
|
29
36
|
}
|
|
30
37
|
}
|
|
31
38
|
}
|
|
39
|
+
/** @internal MapPluginBase handler */
|
|
32
40
|
handleMouseOut(event) {
|
|
33
41
|
this.clearHover();
|
|
34
42
|
}
|
|
43
|
+
/** @internal MapPluginBase handler */
|
|
35
44
|
handleSetExclusivePlugin(exclusivePlugins) {
|
|
36
45
|
if (exclusivePlugins.length) {
|
|
37
46
|
this.clearHover();
|