@webviz/subsurface-viewer 0.0.2-alpha.3 → 0.0.2-alpha.4

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.
Files changed (84) hide show
  1. package/dist/SubsurfaceViewer.js +0 -4
  2. package/dist/SubsurfaceViewer.js.map +1 -1
  3. package/dist/components/ColorLegend.d.ts +1 -1
  4. package/dist/components/ColorLegends.d.ts +1 -1
  5. package/dist/components/InfoCard.js.map +1 -1
  6. package/dist/components/Map.d.ts +21 -19
  7. package/dist/components/Map.js +158 -245
  8. package/dist/components/Map.js.map +1 -1
  9. package/dist/layers/BoxSelectionLayer/boxSelectionLayer.d.ts +2 -3
  10. package/dist/layers/BoxSelectionLayer/boxSelectionLayer.js.map +1 -1
  11. package/dist/layers/axes/axesLayer.d.ts +2 -2
  12. package/dist/layers/axes/axesLayer.js.map +1 -1
  13. package/dist/layers/axes/boxLayer.d.ts +2 -2
  14. package/dist/layers/axes/boxLayer.js.map +1 -1
  15. package/dist/layers/axes2d/axes2DLayer.d.ts +2 -2
  16. package/dist/layers/axes2d/axes2DLayer.js.map +1 -1
  17. package/dist/layers/drawing/drawingLayer.d.ts +2 -2
  18. package/dist/layers/drawing/drawingLayer.js +1 -2
  19. package/dist/layers/drawing/drawingLayer.js.map +1 -1
  20. package/dist/layers/grid3d/grid3dLayer.d.ts +4 -4
  21. package/dist/layers/grid3d/grid3dLayer.js.map +1 -1
  22. package/dist/layers/grid3d/privateLayer.d.ts +2 -2
  23. package/dist/layers/grid3d/privateLayer.js +6 -3
  24. package/dist/layers/grid3d/privateLayer.js.map +1 -1
  25. package/dist/layers/map/mapLayer.d.ts +2 -2
  26. package/dist/layers/map/mapLayer.js.map +1 -1
  27. package/dist/layers/map/privateMapLayer.d.ts +2 -2
  28. package/dist/layers/map/privateMapLayer.js +2 -0
  29. package/dist/layers/map/privateMapLayer.js.map +1 -1
  30. package/dist/layers/northarrow/northArrow3DLayer.d.ts +2 -2
  31. package/dist/layers/northarrow/northArrow3DLayer.js.map +1 -1
  32. package/dist/layers/piechart/pieChartLayer.d.ts +1 -1
  33. package/dist/layers/points/pointsLayer.d.ts +2 -2
  34. package/dist/layers/points/pointsLayer.js.map +1 -1
  35. package/dist/layers/polylines/polylinesLayer.d.ts +2 -2
  36. package/dist/layers/polylines/polylinesLayer.js.map +1 -1
  37. package/dist/layers/terrain/map3DLayer.d.ts +4 -4
  38. package/dist/layers/terrain/map3DLayer.js.map +1 -1
  39. package/dist/layers/terrain/terrainMapLayer.js +6 -3
  40. package/dist/layers/terrain/terrainMapLayer.js.map +1 -1
  41. package/dist/layers/triangle/privateTriangleLayer.d.ts +2 -2
  42. package/dist/layers/triangle/privateTriangleLayer.js.map +1 -1
  43. package/dist/layers/triangle/triangleLayer.d.ts +2 -2
  44. package/dist/layers/triangle/triangleLayer.js.map +1 -1
  45. package/dist/layers/utils/layerTools.d.ts +2 -2
  46. package/dist/layers/wells/wellsLayer.d.ts +3 -3
  47. package/dist/layers/wells/wellsLayer.js.map +1 -1
  48. package/dist/package.json +2 -2
  49. package/dist/utils/fit-bounds.d.ts +0 -1
  50. package/dist/utils/fit-bounds.js +0 -3
  51. package/dist/utils/fit-bounds.js.map +1 -1
  52. package/dist/utils/specExtractor.d.ts +1 -1
  53. package/dist/utils/specExtractor.js.map +1 -1
  54. package/package.json +3 -3
  55. package/dist/storybook/SubsurfaceViewer.stories.d.ts +0 -455
  56. package/dist/storybook/SubsurfaceViewer.stories.js +0 -537
  57. package/dist/storybook/SubsurfaceViewer.stories.js.map +0 -1
  58. package/dist/storybook/components/InfoCard.stories.d.ts +0 -48
  59. package/dist/storybook/components/InfoCard.stories.js +0 -36
  60. package/dist/storybook/components/InfoCard.stories.js.map +0 -1
  61. package/dist/storybook/components/colorLegends/ContinuousLegend.stories.d.ts +0 -31
  62. package/dist/storybook/components/colorLegends/ContinuousLegend.stories.js +0 -30
  63. package/dist/storybook/components/colorLegends/ContinuousLegend.stories.js.map +0 -1
  64. package/dist/storybook/components/colorLegends/DiscreteLegend.stories.d.ts +0 -31
  65. package/dist/storybook/components/colorLegends/DiscreteLegend.stories.js +0 -30
  66. package/dist/storybook/components/colorLegends/DiscreteLegend.stories.js.map +0 -1
  67. package/dist/storybook/components/colorLegends/IndividualScaleForMap.stories.d.ts +0 -20
  68. package/dist/storybook/components/colorLegends/IndividualScaleForMap.stories.js +0 -66
  69. package/dist/storybook/components/colorLegends/IndividualScaleForMap.stories.js.map +0 -1
  70. package/dist/storybook/components/colorLegends/SingleScaleForMap.stories.d.ts +0 -65
  71. package/dist/storybook/components/colorLegends/SingleScaleForMap.stories.js +0 -94
  72. package/dist/storybook/components/colorLegends/SingleScaleForMap.stories.js.map +0 -1
  73. package/dist/storybook/components/settings/LayerSettingsButton.stories.d.ts +0 -34
  74. package/dist/storybook/components/settings/LayerSettingsButton.stories.js +0 -31
  75. package/dist/storybook/components/settings/LayerSettingsButton.stories.js.map +0 -1
  76. package/dist/storybook/components/settings/NumericInput.stories.d.ts +0 -14
  77. package/dist/storybook/components/settings/NumericInput.stories.js +0 -15
  78. package/dist/storybook/components/settings/NumericInput.stories.js.map +0 -1
  79. package/dist/storybook/components/settings/ToggleButton.stories.d.ts +0 -13
  80. package/dist/storybook/components/settings/ToggleButton.stories.js +0 -14
  81. package/dist/storybook/components/settings/ToggleButton.stories.js.map +0 -1
  82. package/dist/storybook/schemaValidation/schemaValidation.stories.d.ts +0 -31
  83. package/dist/storybook/schemaValidation/schemaValidation.stories.js +0 -42
  84. package/dist/storybook/schemaValidation/schemaValidation.stories.js.map +0 -1
@@ -1,455 +0,0 @@
1
- declare namespace _default {
2
- export { SubsurfaceViewer as component };
3
- export const title: string;
4
- export namespace argTypes {
5
- namespace id {
6
- const description: string;
7
- }
8
- namespace resources {
9
- const description_1: string;
10
- export { description_1 as description };
11
- }
12
- namespace layers {
13
- const description_2: string;
14
- export { description_2 as description };
15
- }
16
- namespace bounds {
17
- const description_3: string;
18
- export { description_3 as description };
19
- }
20
- namespace zoom {
21
- const description_4: string;
22
- export { description_4 as description };
23
- }
24
- namespace views {
25
- const description_5: string;
26
- export { description_5 as description };
27
- }
28
- namespace coords {
29
- const description_6: string;
30
- export { description_6 as description };
31
- }
32
- namespace scale {
33
- const description_7: string;
34
- export { description_7 as description };
35
- }
36
- namespace coordinateUnit {
37
- const description_8: string;
38
- export { description_8 as description };
39
- }
40
- namespace legend {
41
- const description_9: string;
42
- export { description_9 as description };
43
- }
44
- namespace colorTables {
45
- const description_10: string;
46
- export { description_10 as description };
47
- }
48
- namespace editedData {
49
- const description_11: string;
50
- export { description_11 as description };
51
- }
52
- namespace setProps {
53
- const description_12: string;
54
- export { description_12 as description };
55
- }
56
- }
57
- }
58
- export default _default;
59
- export function Default(args: any): React.JSX.Element;
60
- export namespace Default {
61
- const args: any;
62
- }
63
- export function Minimal(): React.JSX.Element;
64
- export namespace Minimal {
65
- namespace parameters {
66
- namespace docs {
67
- export namespace description_13 {
68
- const story: string;
69
- }
70
- export { description_13 as description };
71
- }
72
- }
73
- }
74
- export function KhMapFlat(args: any): React.JSX.Element;
75
- export namespace KhMapFlat {
76
- export namespace args_1 {
77
- const id_1: string;
78
- export { id_1 as id };
79
- export namespace resources_1 {
80
- const propertyMap: string;
81
- const depthMap: string;
82
- }
83
- export { resources_1 as resources };
84
- const bounds_1: number[];
85
- export { bounds_1 as bounds };
86
- const layers_1: any[];
87
- export { layers_1 as layers };
88
- }
89
- export { args_1 as args };
90
- export namespace parameters_1 {
91
- export namespace docs_1 {
92
- export namespace description_14 {
93
- const story_1: string;
94
- export { story_1 as story };
95
- }
96
- export { description_14 as description };
97
- export const inlineStories: boolean;
98
- export const iframeHeight: number;
99
- }
100
- export { docs_1 as docs };
101
- }
102
- export { parameters_1 as parameters };
103
- }
104
- export function KhMapMesh(args: any): React.JSX.Element;
105
- export namespace KhMapMesh {
106
- export namespace args_2 {
107
- const id_2: string;
108
- export { id_2 as id };
109
- const layers_2: {
110
- "@@type": string;
111
- id: string;
112
- mesh: string;
113
- meshValueRange: number[];
114
- frame: {
115
- origin: number[];
116
- count: number[];
117
- increment: number[];
118
- rotDeg: number;
119
- };
120
- propertyTexture: string;
121
- propertyValueRange: number[];
122
- contours: number[];
123
- isContoursDepth: boolean;
124
- colorMapName: string;
125
- }[];
126
- export { layers_2 as layers };
127
- export namespace toolbar {
128
- const visible: boolean;
129
- }
130
- const bounds_2: number[];
131
- export { bounds_2 as bounds };
132
- export namespace views_1 {
133
- const layout: number[];
134
- const viewports: {
135
- id: string;
136
- show3D: boolean;
137
- layerIds: never[];
138
- }[];
139
- }
140
- export { views_1 as views };
141
- }
142
- export { args_2 as args };
143
- }
144
- export function MapMaterial(args: any): React.JSX.Element;
145
- export namespace MapMaterial {
146
- export namespace args_3 {
147
- const id_3: string;
148
- export { id_3 as id };
149
- const layers_3: {
150
- material: {
151
- ambient: number;
152
- diffuse: number;
153
- shininess: number;
154
- specularColor: number[];
155
- };
156
- "@@type": string;
157
- id: string;
158
- mesh: string;
159
- meshValueRange: number[];
160
- frame: {
161
- origin: number[];
162
- count: number[];
163
- increment: number[];
164
- rotDeg: number;
165
- };
166
- propertyTexture: string;
167
- propertyValueRange: number[];
168
- contours: number[];
169
- isContoursDepth: boolean;
170
- colorMapName: string;
171
- }[];
172
- export { layers_3 as layers };
173
- const bounds_3: number[];
174
- export { bounds_3 as bounds };
175
- export namespace views_2 {
176
- const layout_1: number[];
177
- export { layout_1 as layout };
178
- const viewports_1: {
179
- id: string;
180
- show3D: boolean;
181
- layerIds: never[];
182
- }[];
183
- export { viewports_1 as viewports };
184
- }
185
- export { views_2 as views };
186
- }
187
- export { args_3 as args };
188
- export namespace parameters_2 {
189
- export namespace docs_2 {
190
- export namespace description_15 {
191
- const story_2: string;
192
- export { story_2 as story };
193
- }
194
- export { description_15 as description };
195
- const inlineStories_1: boolean;
196
- export { inlineStories_1 as inlineStories };
197
- const iframeHeight_1: number;
198
- export { iframeHeight_1 as iframeHeight };
199
- }
200
- export { docs_2 as docs };
201
- }
202
- export { parameters_2 as parameters };
203
- }
204
- export function MapClampColor(args: any): React.JSX.Element;
205
- export namespace MapClampColor {
206
- export namespace args_4 {
207
- const id_4: string;
208
- export { id_4 as id };
209
- const layers_4: {
210
- propertyValueRange: number[];
211
- colorMapRange: number[];
212
- colorMapClampColor: number[];
213
- "@@type": string;
214
- id: string;
215
- mesh: string;
216
- meshValueRange: number[];
217
- frame: {
218
- origin: number[];
219
- count: number[];
220
- increment: number[];
221
- rotDeg: number;
222
- };
223
- propertyTexture: string;
224
- contours: number[];
225
- isContoursDepth: boolean;
226
- colorMapName: string;
227
- }[];
228
- export { layers_4 as layers };
229
- const bounds_4: number[];
230
- export { bounds_4 as bounds };
231
- export namespace views_3 {
232
- const layout_2: number[];
233
- export { layout_2 as layout };
234
- const viewports_2: {
235
- id: string;
236
- show3D: boolean;
237
- layerIds: never[];
238
- }[];
239
- export { viewports_2 as viewports };
240
- }
241
- export { views_3 as views };
242
- }
243
- export { args_4 as args };
244
- export namespace parameters_3 {
245
- export namespace docs_3 {
246
- export namespace description_16 {
247
- const story_3: string;
248
- export { story_3 as story };
249
- }
250
- export { description_16 as description };
251
- const inlineStories_2: boolean;
252
- export { inlineStories_2 as inlineStories };
253
- const iframeHeight_2: number;
254
- export { iframeHeight_2 as iframeHeight };
255
- }
256
- export { docs_3 as docs };
257
- }
258
- export { parameters_3 as parameters };
259
- }
260
- export function colorMapFunction(args: any): React.JSX.Element;
261
- export namespace colorMapFunction {
262
- export namespace args_5 {
263
- const id_5: string;
264
- export { id_5 as id };
265
- const layers_5: any[];
266
- export { layers_5 as layers };
267
- const bounds_5: number[];
268
- export { bounds_5 as bounds };
269
- export namespace views_4 {
270
- const layout_3: number[];
271
- export { layout_3 as layout };
272
- const viewports_3: {
273
- id: string;
274
- show3D: boolean;
275
- layerIds: never[];
276
- }[];
277
- export { viewports_3 as viewports };
278
- }
279
- export { views_4 as views };
280
- }
281
- export { args_5 as args };
282
- }
283
- export function UserDefinedLayer1(args: any): React.JSX.Element;
284
- export namespace UserDefinedLayer1 {
285
- export namespace args_6 {
286
- const id_6: any;
287
- export { id_6 as id };
288
- const bounds_6: any;
289
- export { bounds_6 as bounds };
290
- export { layersData1 as layers };
291
- }
292
- export { args_6 as args };
293
- }
294
- export function UserDefinedLayer2(args: any): React.JSX.Element;
295
- export namespace UserDefinedLayer2 {
296
- export namespace args_7 {
297
- const id_7: any;
298
- export { id_7 as id };
299
- const resources_2: any;
300
- export { resources_2 as resources };
301
- const bounds_7: any;
302
- export { bounds_7 as bounds };
303
- export { layersData2 as layers };
304
- }
305
- export { args_7 as args };
306
- }
307
- export function MultiView(args: any): React.JSX.Element;
308
- export namespace MultiView {
309
- const args_8: any;
310
- export { args_8 as args };
311
- }
312
- export function SelectableFeatureExample(args: any): React.JSX.Element;
313
- export namespace SelectableFeatureExample {
314
- export namespace parameters_4 {
315
- export namespace docs_4 {
316
- export namespace description_17 {
317
- const story_4: string;
318
- export { story_4 as story };
319
- }
320
- export { description_17 as description };
321
- }
322
- export { docs_4 as docs };
323
- }
324
- export { parameters_4 as parameters };
325
- export namespace args_9 {
326
- const id_8: string;
327
- export { id_8 as id };
328
- const bounds_8: number[];
329
- export { bounds_8 as bounds };
330
- const layers_6: ({
331
- "@@type": string;
332
- id: string;
333
- name: string;
334
- data: {
335
- type: string;
336
- features: {
337
- type: string;
338
- properties: {};
339
- geometry: {
340
- type: string;
341
- coordinates: number[][];
342
- };
343
- }[];
344
- };
345
- getLineWidth: number;
346
- lineWidthMinPixels: number;
347
- } | {
348
- "@@type": string;
349
- id: string;
350
- name: string;
351
- data: {
352
- type: string;
353
- properties: {};
354
- geometry: {
355
- type: string;
356
- coordinates: number[][][];
357
- };
358
- };
359
- getLineWidth: number;
360
- lineWidthMinPixels: number;
361
- getLineColor: number[];
362
- getFillColor: number[];
363
- opacity: number;
364
- })[];
365
- export { layers_6 as layers };
366
- }
367
- export { args_9 as args };
368
- }
369
- export function MapInContainer(args: any): React.JSX.Element;
370
- export namespace MapInContainer {
371
- const args_10: any;
372
- export { args_10 as args };
373
- }
374
- export function ViewMatrixMargin(args: any): React.JSX.Element;
375
- export namespace ViewMatrixMargin {
376
- export namespace args_11 {
377
- const id_9: string;
378
- export { id_9 as id };
379
- const layers_7: (MapLayer | Axes2DLayer)[];
380
- export { layers_7 as layers };
381
- const bounds_9: number[];
382
- export { bounds_9 as bounds };
383
- export namespace views_5 {
384
- const layout_4: number[];
385
- export { layout_4 as layout };
386
- export const marginPixels: number;
387
- export const showLabel: boolean;
388
- const viewports_4: {
389
- id: string;
390
- show3D: boolean;
391
- layerIds: string[];
392
- isSync: boolean;
393
- }[];
394
- export { viewports_4 as viewports };
395
- }
396
- export { views_5 as views };
397
- }
398
- export { args_11 as args };
399
- }
400
- import SubsurfaceViewer from "../SubsurfaceViewer";
401
- import React from "react";
402
- declare const layersData1: ({
403
- "@@type": string;
404
- id: string;
405
- name: string;
406
- data: {
407
- type: string;
408
- features: {
409
- type: string;
410
- properties: {};
411
- geometry: {
412
- type: string;
413
- coordinates: number[][];
414
- };
415
- }[];
416
- };
417
- getLineWidth: number;
418
- lineWidthMinPixels: number;
419
- } | {
420
- "@@type": string;
421
- id: string;
422
- name: string;
423
- data: {
424
- type: string;
425
- properties: {};
426
- geometry: {
427
- type: string;
428
- coordinates: number[][][];
429
- };
430
- };
431
- getLineWidth: number;
432
- lineWidthMinPixels: number;
433
- getLineColor: number[];
434
- getFillColor: number[];
435
- opacity: number;
436
- } | {
437
- "@@type": string;
438
- id: string;
439
- name: string;
440
- data: {
441
- name: string;
442
- coordinates: number[];
443
- }[];
444
- pickable: boolean;
445
- getPosition: (d: any) => any;
446
- getText: (d: any) => any;
447
- getColor: number[];
448
- getSize: number;
449
- getAngle: number;
450
- getTextAnchor: string;
451
- getAlignmentBaseline: string;
452
- })[];
453
- declare const layersData2: any[];
454
- import { default as MapLayer } from "../layers/map/mapLayer";
455
- import { default as Axes2DLayer } from "../layers/axes2d/axes2DLayer";