@equinor/esv-intersection 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/axis.d.ts +1 -2
- package/dist/control/ZoomPanHandler.d.ts +1 -2
- package/dist/control/overlay.d.ts +2 -3
- package/dist/index.esm.js +1 -15
- package/dist/index.js +1 -15
- package/dist/index.umd.js +262 -228
- package/dist/interfaces.d.ts +5 -0
- package/dist/layers/CalloutCanvasLayer.d.ts +2 -3
- package/dist/layers/CementLayer.d.ts +1 -2
- package/dist/layers/CompletionLayer.d.ts +1 -2
- package/dist/layers/base/PixiLayer.d.ts +1 -2
- package/package.json +29 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Selection } from 'd3-selection';
|
|
2
2
|
import { ScaleLinear } from 'd3-scale';
|
|
3
3
|
import { OnResizeEvent, OnRescaleEvent } from '../interfaces';
|
|
4
|
-
declare type Options = {
|
|
4
|
+
export declare type Options = {
|
|
5
5
|
offsetX: number;
|
|
6
6
|
offsetY: number;
|
|
7
7
|
visible: boolean;
|
|
@@ -45,4 +45,3 @@ export declare class Axis {
|
|
|
45
45
|
get scaleX(): ScaleLinear<number, number>;
|
|
46
46
|
get scaleY(): ScaleLinear<number, number>;
|
|
47
47
|
}
|
|
48
|
-
export {};
|
|
@@ -2,7 +2,7 @@ import { Selection } from 'd3-selection';
|
|
|
2
2
|
import { ScaleLinear } from 'd3-scale';
|
|
3
3
|
import { ZoomBehavior, ZoomTransform } from 'd3-zoom';
|
|
4
4
|
import { ZoomAndPanOptions, OnRescaleEvent } from '../interfaces';
|
|
5
|
-
declare type RescaleFunction = (event: OnRescaleEvent) => void;
|
|
5
|
+
export declare type RescaleFunction = (event: OnRescaleEvent) => void;
|
|
6
6
|
/**
|
|
7
7
|
* Handle zoom and pan for intersection layers
|
|
8
8
|
*/
|
|
@@ -154,4 +154,3 @@ export declare class ZoomPanHandler {
|
|
|
154
154
|
setMaxZoomLevel(zoomlevel: number): ZoomPanHandler;
|
|
155
155
|
setMinZoomLevel(zoomlevel: number): ZoomPanHandler;
|
|
156
156
|
}
|
|
157
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Selection } from 'd3-selection';
|
|
2
2
|
import { OverlayCallbacks } from './interfaces';
|
|
3
|
-
declare class Overlay {
|
|
3
|
+
export declare class Overlay {
|
|
4
4
|
elm: Selection<Element, unknown, null, undefined>;
|
|
5
5
|
source: Element;
|
|
6
6
|
elements: {
|
|
@@ -17,5 +17,4 @@ declare class Overlay {
|
|
|
17
17
|
setZIndex(zIndex: number): void;
|
|
18
18
|
destroy(): void;
|
|
19
19
|
}
|
|
20
|
-
declare const overlay: (caller: any, container: HTMLElement) => Overlay;
|
|
21
|
-
export { overlay, Overlay };
|
|
20
|
+
export declare const overlay: (caller: any, container: HTMLElement) => Overlay;
|