@equinor/esv-intersection 3.0.0 → 3.0.1
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 -1
- package/dist/control/ZoomPanHandler.d.ts +1 -1
- package/dist/datautils/picks.d.ts +6 -6
- package/dist/datautils/schematicShapeGenerator.d.ts +2 -2
- package/dist/datautils/seismicimage.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1285 -1274
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/layers/CalloutCanvasLayer.d.ts +2 -2
- package/dist/layers/CustomDisplayObjects/ComplexRope.d.ts +1 -1
- package/dist/layers/GeomodelCanvasLayer.d.ts +1 -1
- package/dist/layers/ImageCanvasLayer.d.ts +1 -1
- package/dist/layers/ReferenceLineLayer.d.ts +2 -2
- package/dist/layers/SeismicCanvasLayer.d.ts +2 -2
- package/dist/layers/schematicInterfaces.d.ts +4 -4
- package/dist/utils/arc-length.d.ts +1 -1
- package/dist/utils/root-finder.d.ts +1 -1
- package/dist/vendor/pixi-dashed-line/index.d.ts +1 -1
- package/package.json +18 -18
|
@@ -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
|
-
export
|
|
4
|
+
export type Options = {
|
|
5
5
|
offsetX: number;
|
|
6
6
|
offsetY: number;
|
|
7
7
|
visible: boolean;
|
|
@@ -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
|
-
export
|
|
5
|
+
export type RescaleFunction = (event: OnRescaleEvent) => void;
|
|
6
6
|
/**
|
|
7
7
|
* Handle zoom and pan for intersection layers
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Annotation } from '../interfaces';
|
|
2
|
-
|
|
2
|
+
type Pick = {
|
|
3
3
|
pickIdentifier?: string;
|
|
4
4
|
confidence: string | null;
|
|
5
5
|
depthReferencePoint: string;
|
|
@@ -7,10 +7,10 @@ declare type Pick = {
|
|
|
7
7
|
mdUnit: string;
|
|
8
8
|
tvd: number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type PickWithId = {
|
|
11
11
|
identifier: string;
|
|
12
12
|
} & Pick;
|
|
13
|
-
|
|
13
|
+
type Unit = {
|
|
14
14
|
identifier: string;
|
|
15
15
|
top: string;
|
|
16
16
|
base: string;
|
|
@@ -23,7 +23,7 @@ declare type Unit = {
|
|
|
23
23
|
lithologyType: number;
|
|
24
24
|
stratUnitParent: number;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
type UnitDto = {
|
|
27
27
|
unitName: string;
|
|
28
28
|
topSurface: string;
|
|
29
29
|
baseSurface: string;
|
|
@@ -38,8 +38,8 @@ declare type UnitDto = {
|
|
|
38
38
|
lithType: number;
|
|
39
39
|
parent: number;
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
type PickAndUnit = PickWithId & UnitDto;
|
|
42
|
+
type PairedPickAndUnit = {
|
|
43
43
|
name: string;
|
|
44
44
|
mdEntry: number;
|
|
45
45
|
tvdEntry: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPoint, Point, Texture } from 'pixi.js';
|
|
2
2
|
import { Casing, Cement, CementOptions, CementPlug, CementPlugOptions, CementSqueeze, CementSqueezeOptions, Completion, HoleOptions, HoleSize, ScreenOptions, TubingOptions, Perforation, PerforationOptions, PerforationSubKind } from '../layers/schematicInterfaces';
|
|
3
3
|
import { ComplexRopeSegment } from '../layers/CustomDisplayObjects/ComplexRope';
|
|
4
|
-
export
|
|
4
|
+
export type PerforationShape = ComplexRopeSegment;
|
|
5
5
|
export interface TubularRenderingObject {
|
|
6
6
|
leftPath: Point[];
|
|
7
7
|
rightPath: Point[];
|
|
@@ -46,7 +46,7 @@ export declare const createCementTexture: ({ firstColor, secondColor, scalingFac
|
|
|
46
46
|
export declare const createCementPlugTexture: ({ firstColor, secondColor, scalingFactor }: CementPlugOptions) => Texture;
|
|
47
47
|
export declare const createCementSqueezeTexture: ({ firstColor, secondColor, scalingFactor }: CementSqueezeOptions) => Texture;
|
|
48
48
|
export declare const createTubularRenderingObject: (radius: number, pathPoints: IPoint[]) => TubularRenderingObject;
|
|
49
|
-
export
|
|
49
|
+
export type CasingInterval = {
|
|
50
50
|
kind: 'casing' | 'casing-window';
|
|
51
51
|
start: number;
|
|
52
52
|
end: number;
|