@webviz/subsurface-viewer 0.0.1-alpha.1 → 0.0.2-alpha.2
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.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +5 -2
- package/package.json +6 -3
- package/dist/DashSubsurfaceViewer.d.ts +0 -56
- package/dist/DashSubsurfaceViewer.js +0 -160
- package/dist/DashSubsurfaceViewer.js.map +0 -1
- package/src/DashSubsurfaceViewer.tsx +0 -270
- package/src/SubsurfaceViewer.stories.tsx +0 -449
- package/src/SubsurfaceViewer.test.tsx +0 -98
- package/src/SubsurfaceViewer.tsx +0 -356
- package/src/__snapshots__/SubsurfaceViewer.test.tsx.snap +0 -178
- package/src/assets/glTF/north_arrow/scene.bin +0 -0
- package/src/assets/glTF/north_arrow/scene.gltf +0 -315
- package/src/assets/glTF/north_arrow/textures/Arrow5_baseColor.png +0 -0
- package/src/assets/glTF/north_arrow/textures/Arrow5_metallicRoughness.png +0 -0
- package/src/assets/glTF/north_arrow/textures/Arrow5_normal.png +0 -0
- package/src/components/ColorLegend.test.tsx +0 -32
- package/src/components/ColorLegend.tsx +0 -80
- package/src/components/ColorLegends.test.tsx +0 -97
- package/src/components/ColorLegends.tsx +0 -46
- package/src/components/DistanceScale.stories.tsx +0 -28
- package/src/components/DistanceScale.test.tsx +0 -36
- package/src/components/DistanceScale.tsx +0 -84
- package/src/components/InfoCard.test.tsx +0 -110
- package/src/components/InfoCard.tsx +0 -263
- package/src/components/Map.test.tsx +0 -142
- package/src/components/Map.tsx +0 -1435
- package/src/components/StatusIndicator.test.tsx +0 -14
- package/src/components/StatusIndicator.tsx +0 -38
- package/src/components/ViewAnnotation.tsx +0 -16
- package/src/components/ViewFooter.test.tsx +0 -12
- package/src/components/ViewFooter.tsx +0 -30
- package/src/components/__snapshots__/ColorLegends.test.tsx.snap +0 -15
- package/src/components/__snapshots__/DistanceScale.test.tsx.snap +0 -33
- package/src/components/__snapshots__/InfoCard.test.tsx.snap +0 -561
- package/src/components/__snapshots__/Map.test.tsx.snap +0 -119
- package/src/components/__snapshots__/StatusIndicator.test.tsx.snap +0 -3
- package/src/components/__snapshots__/ViewFooter.test.tsx.snap +0 -7
- package/src/components/settings/DrawModeSelector.test.tsx +0 -45
- package/src/components/settings/DrawModeSelector.tsx +0 -58
- package/src/components/settings/DrawModeSelector_performance.test.tsx +0 -35
- package/src/components/settings/LayerProperty.test.tsx +0 -35
- package/src/components/settings/LayerProperty.tsx +0 -153
- package/src/components/settings/LayerProperty_performance.test.tsx +0 -39
- package/src/components/settings/LayerSettingsButton.test.tsx +0 -133
- package/src/components/settings/LayerSettingsButton.tsx +0 -95
- package/src/components/settings/LayersButton.test.tsx +0 -102
- package/src/components/settings/LayersButton.tsx +0 -97
- package/src/components/settings/NumericInput.test.tsx +0 -25
- package/src/components/settings/NumericInput.tsx +0 -67
- package/src/components/settings/Settings.tsx +0 -71
- package/src/components/settings/SliderInput.test.tsx +0 -28
- package/src/components/settings/SliderInput.tsx +0 -71
- package/src/components/settings/ToggleButton.test.tsx +0 -25
- package/src/components/settings/ToggleButton.tsx +0 -53
- package/src/components/settings/__snapshots__/DrawModeSelector.test.tsx.snap +0 -124
- package/src/components/settings/__snapshots__/LayerProperty.test.tsx.snap +0 -124
- package/src/components/settings/__snapshots__/LayerSettingsButton.test.tsx.snap +0 -36
- package/src/components/settings/__snapshots__/LayersButton.test.tsx.snap +0 -83
- package/src/components/settings/__snapshots__/NumericInput.test.tsx.snap +0 -123
- package/src/components/settings/__snapshots__/SliderInput.test.tsx.snap +0 -244
- package/src/components/settings/__snapshots__/ToggleButton.test.tsx.snap +0 -182
- package/src/custom.d.ts +0 -9
- package/src/index.ts +0 -5
- package/src/inputSchema/ColorTables.json +0 -51
- package/src/inputSchema/FaultPolygons.json +0 -80
- package/src/inputSchema/Grid.json +0 -39
- package/src/inputSchema/PieChart.json +0 -72
- package/src/inputSchema/WellLog.json +0 -126
- package/src/inputSchema/WellLogTemplate.json +0 -136
- package/src/inputSchema/WellLogs.json +0 -5
- package/src/inputSchema/Wells.json +0 -106
- package/src/inputSchema/schemaValidationUtil.tsx +0 -55
- package/src/inputSchema/validator.tsx +0 -72
- package/src/inputSchema/wellCompletions.json +0 -108
- package/src/layers/BoxSelectionLayer/boxSelectionLayer.stories.tsx +0 -172
- package/src/layers/BoxSelectionLayer/boxSelectionLayer.tsx +0 -136
- package/src/layers/axes/axes-fragment.glsl.ts +0 -15
- package/src/layers/axes/axesLayer.stories.tsx +0 -87
- package/src/layers/axes/axesLayer.ts +0 -692
- package/src/layers/axes/boxLayer.ts +0 -71
- package/src/layers/axes/grid-vertex.glsl.ts +0 -14
- package/src/layers/axes2d/axes2DLayer.stories.tsx +0 -150
- package/src/layers/axes2d/axes2DLayer.ts +0 -841
- package/src/layers/axes2d/font-atlas.png +0 -0
- package/src/layers/axes2d/label-fragment.glsl.js +0 -37
- package/src/layers/axes2d/label-vertex.glsl.js +0 -20
- package/src/layers/axes2d/line-fragment.glsl.js +0 -14
- package/src/layers/axes2d/line-vertex.glsl.js +0 -13
- package/src/layers/colormap/colormap.fs.glsl.ts +0 -42
- package/src/layers/colormap/colormapLayer.ts +0 -247
- package/src/layers/drawing/drawingLayer.tsx +0 -256
- package/src/layers/fault_polygons/faultPolygonsLayer.ts +0 -54
- package/src/layers/grid3d/fragment.fs.glsl.ts +0 -109
- package/src/layers/grid3d/fragment_lines.glsl.ts +0 -21
- package/src/layers/grid3d/grid3dLayer.stories.tsx +0 -172
- package/src/layers/grid3d/grid3dLayer.ts +0 -248
- package/src/layers/grid3d/privateLayer.ts +0 -292
- package/src/layers/grid3d/vertex.glsl.ts +0 -43
- package/src/layers/grid3d/vertex_lines.glsl.ts +0 -15
- package/src/layers/grid3d/webworker.ts +0 -173
- package/src/layers/hillshading2d/hillshading2d.fs.glsl.ts +0 -62
- package/src/layers/hillshading2d/hillshading2dLayer.ts +0 -172
- package/src/layers/index.ts +0 -35
- package/src/layers/intersection/intersectionView.stories.tsx +0 -294
- package/src/layers/intersection/unfoldedGeoJsonLayer.ts +0 -92
- package/src/layers/map/fragment.fs.glsl.ts +0 -127
- package/src/layers/map/fragment_lines.glsl.ts +0 -21
- package/src/layers/map/mapLayer.stories.tsx +0 -1369
- package/src/layers/map/mapLayer.ts +0 -470
- package/src/layers/map/privateMapLayer.ts +0 -317
- package/src/layers/map/vertex.glsl.ts +0 -45
- package/src/layers/map/vertex_lines.glsl.ts +0 -15
- package/src/layers/map/webworker.ts +0 -479
- package/src/layers/northarrow/northArrow.stories.tsx +0 -108
- package/src/layers/northarrow/northArrow3DLayer.ts +0 -204
- package/src/layers/northarrow/northarrow-fragment.glsl.js +0 -14
- package/src/layers/northarrow/northarrow-vertex.glsl.js +0 -13
- package/src/layers/piechart/fragment.glsl.js +0 -42
- package/src/layers/piechart/pieChartLayer.ts +0 -246
- package/src/layers/piechart/vertex.glsl.js +0 -42
- package/src/layers/points/pointsLayer.stories.tsx +0 -141
- package/src/layers/points/pointsLayer.ts +0 -143
- package/src/layers/polylines/polylinesLayer.stories.tsx +0 -144
- package/src/layers/polylines/polylinesLayer.ts +0 -263
- package/src/layers/selectable_geojson/selectableGeoJsonLayer.ts +0 -25
- package/src/layers/shader_modules/decoder.fs.glsl.ts +0 -41
- package/src/layers/shader_modules/decoder.ts +0 -46
- package/src/layers/shader_modules/index.ts +0 -1
- package/src/layers/terrain/map3DLayer.stories.tsx +0 -340
- package/src/layers/terrain/map3DLayer.ts +0 -556
- package/src/layers/terrain/terrainMapLayer.ts +0 -334
- package/src/layers/terrain/terrainmap.fs.glsl.ts +0 -134
- package/src/layers/triangle/fragment.fs.glsl.ts +0 -126
- package/src/layers/triangle/fragment_lines.glsl.ts +0 -21
- package/src/layers/triangle/privateTriangleLayer.ts +0 -203
- package/src/layers/triangle/test_data/surfacePoints.ts +0 -4344
- package/src/layers/triangle/test_data/surfaceTriangles.ts +0 -7392
- package/src/layers/triangle/triangleLayer.stories.tsx +0 -191
- package/src/layers/triangle/triangleLayer.ts +0 -273
- package/src/layers/triangle/vertex.glsl.ts +0 -35
- package/src/layers/triangle/vertex_lines.glsl.ts +0 -15
- package/src/layers/triangle/webworker.ts +0 -165
- package/src/layers/utils/glsl.d.ts +0 -4
- package/src/layers/utils/layerTools.ts +0 -182
- package/src/layers/utils/propertyMapTools.ts +0 -43
- package/src/layers/wells/utils/spline.ts +0 -318
- package/src/layers/wells/wellsLayer.stories.tsx +0 -625
- package/src/layers/wells/wellsLayer.ts +0 -1377
- package/src/redux/actions.ts +0 -8
- package/src/redux/reducer.ts +0 -43
- package/src/redux/store.ts +0 -15
- package/src/redux/types.ts +0 -114
- package/src/storybook/SubsurfaceViewer.stories.jsx +0 -644
- package/src/storybook/components/InfoCard.stories.jsx +0 -39
- package/src/storybook/components/colorLegends/ContinuousLegend.stories.jsx +0 -32
- package/src/storybook/components/colorLegends/DiscreteLegend.stories.jsx +0 -33
- package/src/storybook/components/colorLegends/IndividualScaleForMap.stories.jsx +0 -99
- package/src/storybook/components/colorLegends/SingleScaleForMap.stories.jsx +0 -120
- package/src/storybook/components/settings/LayerSettingsButton.stories.jsx +0 -34
- package/src/storybook/components/settings/NumericInput.stories.jsx +0 -17
- package/src/storybook/components/settings/ToggleButton.stories.jsx +0 -16
- package/src/storybook/schemaValidation/sampleData.js +0 -177
- package/src/storybook/schemaValidation/schemaValidation.stories.jsx +0 -91
- package/src/test/TestWrapper.tsx +0 -13
- package/src/utils/configuration.ts +0 -61
- package/src/utils/fit-bounds.js +0 -85
- package/src/utils/measurement.ts +0 -61
- package/src/utils/northArrow.ts +0 -4
- package/src/utils/specExtractor.ts +0 -36
- package/src/viewports/index.js +0 -1
- package/src/viewports/intersectionViewport.ts +0 -137
- package/src/views/index.js +0 -1
- package/src/views/intersectionView.ts +0 -38
- package/tsconfig.json +0 -7
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Test Info Card snapshot test when property value provided 1`] = `
|
|
4
|
-
.c1 {
|
|
5
|
-
display: grid;
|
|
6
|
-
grid-gap: 8px;
|
|
7
|
-
grid-auto-flow: column;
|
|
8
|
-
-webkit-align-items: center;
|
|
9
|
-
-webkit-box-align: center;
|
|
10
|
-
-ms-flex-align: center;
|
|
11
|
-
align-items: center;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.c0 {
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
background: transparent;
|
|
19
|
-
height: 36px;
|
|
20
|
-
padding-left: 16px;
|
|
21
|
-
padding-right: 16px;
|
|
22
|
-
border: 1px solid transparent;
|
|
23
|
-
border-radius: 4px;
|
|
24
|
-
margin: 0;
|
|
25
|
-
color: var(--eds_interactive_primary__resting,rgba(0,112,121,1));
|
|
26
|
-
font-family: Equinor;
|
|
27
|
-
font-size: 0.875rem;
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
line-height: 1.143em;
|
|
30
|
-
text-align: center;
|
|
31
|
-
-webkit-text-decoration: none;
|
|
32
|
-
text-decoration: none;
|
|
33
|
-
position: relative;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
display: inline-block;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.c0 svg {
|
|
39
|
-
justify-self: center;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.c0::after {
|
|
43
|
-
position: absolute;
|
|
44
|
-
top: -6px;
|
|
45
|
-
left: -0;
|
|
46
|
-
width: 100%;
|
|
47
|
-
height: 48px;
|
|
48
|
-
content: '';
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.c0:hover {
|
|
52
|
-
background: var(--eds_interactive_primary__hover_alt,rgba(222,237,238,1));
|
|
53
|
-
color: var(--eds_interactive_primary__hover,rgba(0,79,85,1));
|
|
54
|
-
border: 1px solid transparent;
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.c0:focus {
|
|
59
|
-
outline: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.c0[data-focus-visible-added]:focus {
|
|
63
|
-
outline: 1px dashed rgba(0,112,121,1);
|
|
64
|
-
outline-offset: 2px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.c0::-moz-focus-inner {
|
|
68
|
-
border: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.c0:disabled {
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
background: transparent;
|
|
74
|
-
border: 1px solid transparent;
|
|
75
|
-
margin: 0;
|
|
76
|
-
color: var(--eds_interactive__disabled__text,rgba(190,190,190,1));
|
|
77
|
-
font-family: Equinor;
|
|
78
|
-
font-size: 0.875rem;
|
|
79
|
-
font-weight: 500;
|
|
80
|
-
line-height: 1.143em;
|
|
81
|
-
text-align: center;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.c0:disabled:hover {
|
|
85
|
-
background: transparent;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.c0::before {
|
|
89
|
-
position: absolute;
|
|
90
|
-
top: 0;
|
|
91
|
-
left: 0;
|
|
92
|
-
width: auto;
|
|
93
|
-
min-height: auto;
|
|
94
|
-
content: '';
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
<div
|
|
98
|
-
class="MuiTableContainer-root css-rorn0c-MuiTableContainer-root"
|
|
99
|
-
>
|
|
100
|
-
<table
|
|
101
|
-
aria-label="info-card"
|
|
102
|
-
class="MuiTable-root css-t8ttc-MuiTable-root"
|
|
103
|
-
>
|
|
104
|
-
<tbody
|
|
105
|
-
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
|
|
106
|
-
>
|
|
107
|
-
<tr
|
|
108
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
109
|
-
>
|
|
110
|
-
<td
|
|
111
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-spv49l-MuiTableCell-root"
|
|
112
|
-
>
|
|
113
|
-
<button
|
|
114
|
-
class="c0"
|
|
115
|
-
style="padding: 0px;"
|
|
116
|
-
tabindex="0"
|
|
117
|
-
type="button"
|
|
118
|
-
>
|
|
119
|
-
<span
|
|
120
|
-
class="c1"
|
|
121
|
-
>
|
|
122
|
-
<svg
|
|
123
|
-
aria-hidden="true"
|
|
124
|
-
class=""
|
|
125
|
-
fill="currentColor"
|
|
126
|
-
height="24px"
|
|
127
|
-
viewBox="0 0 24 24"
|
|
128
|
-
width="24px"
|
|
129
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
130
|
-
>
|
|
131
|
-
<path
|
|
132
|
-
class=""
|
|
133
|
-
clip-rule="evenodd"
|
|
134
|
-
d="m7 14.5 5-5 5 5H7z"
|
|
135
|
-
data-testid="eds-icon-path"
|
|
136
|
-
fill-rule="evenodd"
|
|
137
|
-
height="24"
|
|
138
|
-
/>
|
|
139
|
-
</svg>
|
|
140
|
-
</span>
|
|
141
|
-
</button>
|
|
142
|
-
</td>
|
|
143
|
-
<td
|
|
144
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
145
|
-
>
|
|
146
|
-
|
|
147
|
-
Position
|
|
148
|
-
|
|
149
|
-
</td>
|
|
150
|
-
</tr>
|
|
151
|
-
<tr
|
|
152
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
153
|
-
>
|
|
154
|
-
<td
|
|
155
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
156
|
-
colspan="2"
|
|
157
|
-
style="padding-bottom: 0px; padding-top: 0px;"
|
|
158
|
-
>
|
|
159
|
-
<div
|
|
160
|
-
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-pwcg7p-MuiCollapse-root"
|
|
161
|
-
style="min-height: 0px;"
|
|
162
|
-
>
|
|
163
|
-
<div
|
|
164
|
-
class="MuiCollapse-wrapper MuiCollapse-vertical css-smkl36-MuiCollapse-wrapper"
|
|
165
|
-
>
|
|
166
|
-
<div
|
|
167
|
-
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
|
|
168
|
-
>
|
|
169
|
-
<table
|
|
170
|
-
aria-label="properties"
|
|
171
|
-
class="MuiTable-root css-rqglhn-MuiTable-root"
|
|
172
|
-
>
|
|
173
|
-
<tbody
|
|
174
|
-
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
|
|
175
|
-
>
|
|
176
|
-
<tr
|
|
177
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
178
|
-
>
|
|
179
|
-
<td
|
|
180
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
181
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
182
|
-
>
|
|
183
|
-
x
|
|
184
|
-
</td>
|
|
185
|
-
<td
|
|
186
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
187
|
-
style="text-align: right;"
|
|
188
|
-
>
|
|
189
|
-
111.00 m
|
|
190
|
-
</td>
|
|
191
|
-
</tr>
|
|
192
|
-
<tr
|
|
193
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
194
|
-
>
|
|
195
|
-
<td
|
|
196
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
197
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
198
|
-
>
|
|
199
|
-
y
|
|
200
|
-
</td>
|
|
201
|
-
<td
|
|
202
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
203
|
-
style="text-align: right;"
|
|
204
|
-
>
|
|
205
|
-
222.00 m
|
|
206
|
-
</td>
|
|
207
|
-
</tr>
|
|
208
|
-
<tr
|
|
209
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
210
|
-
>
|
|
211
|
-
<td
|
|
212
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
213
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
214
|
-
>
|
|
215
|
-
Hill shading
|
|
216
|
-
</td>
|
|
217
|
-
<td
|
|
218
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
219
|
-
style="text-align: right;"
|
|
220
|
-
>
|
|
221
|
-
3152.02
|
|
222
|
-
</td>
|
|
223
|
-
</tr>
|
|
224
|
-
</tbody>
|
|
225
|
-
</table>
|
|
226
|
-
</div>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</td>
|
|
230
|
-
</tr>
|
|
231
|
-
<tr
|
|
232
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
233
|
-
>
|
|
234
|
-
<td
|
|
235
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-spv49l-MuiTableCell-root"
|
|
236
|
-
>
|
|
237
|
-
<button
|
|
238
|
-
class="c0"
|
|
239
|
-
style="padding: 0px;"
|
|
240
|
-
tabindex="0"
|
|
241
|
-
type="button"
|
|
242
|
-
>
|
|
243
|
-
<span
|
|
244
|
-
class="c1"
|
|
245
|
-
>
|
|
246
|
-
<svg
|
|
247
|
-
aria-hidden="true"
|
|
248
|
-
class=""
|
|
249
|
-
fill="currentColor"
|
|
250
|
-
height="24px"
|
|
251
|
-
viewBox="0 0 24 24"
|
|
252
|
-
width="24px"
|
|
253
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
254
|
-
>
|
|
255
|
-
<path
|
|
256
|
-
class=""
|
|
257
|
-
clip-rule="evenodd"
|
|
258
|
-
d="m7 14.5 5-5 5 5H7z"
|
|
259
|
-
data-testid="eds-icon-path"
|
|
260
|
-
fill-rule="evenodd"
|
|
261
|
-
height="24"
|
|
262
|
-
/>
|
|
263
|
-
</svg>
|
|
264
|
-
</span>
|
|
265
|
-
</button>
|
|
266
|
-
</td>
|
|
267
|
-
<td
|
|
268
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
269
|
-
>
|
|
270
|
-
|
|
271
|
-
Wells layer
|
|
272
|
-
|
|
273
|
-
</td>
|
|
274
|
-
</tr>
|
|
275
|
-
<tr
|
|
276
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
277
|
-
>
|
|
278
|
-
<td
|
|
279
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
280
|
-
colspan="2"
|
|
281
|
-
style="padding-bottom: 0px; padding-top: 0px;"
|
|
282
|
-
>
|
|
283
|
-
<div
|
|
284
|
-
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-pwcg7p-MuiCollapse-root"
|
|
285
|
-
style="min-height: 0px;"
|
|
286
|
-
>
|
|
287
|
-
<div
|
|
288
|
-
class="MuiCollapse-wrapper MuiCollapse-vertical css-smkl36-MuiCollapse-wrapper"
|
|
289
|
-
>
|
|
290
|
-
<div
|
|
291
|
-
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
|
|
292
|
-
>
|
|
293
|
-
<table
|
|
294
|
-
aria-label="properties"
|
|
295
|
-
class="MuiTable-root css-rqglhn-MuiTable-root"
|
|
296
|
-
>
|
|
297
|
-
<tbody
|
|
298
|
-
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
|
|
299
|
-
>
|
|
300
|
-
<tr
|
|
301
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
302
|
-
>
|
|
303
|
-
<td
|
|
304
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
305
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
306
|
-
>
|
|
307
|
-
Poro
|
|
308
|
-
</td>
|
|
309
|
-
<td
|
|
310
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
311
|
-
style="text-align: right;"
|
|
312
|
-
>
|
|
313
|
-
123
|
|
314
|
-
</td>
|
|
315
|
-
</tr>
|
|
316
|
-
<tr
|
|
317
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
318
|
-
>
|
|
319
|
-
<td
|
|
320
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
321
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
322
|
-
>
|
|
323
|
-
Perm
|
|
324
|
-
</td>
|
|
325
|
-
<td
|
|
326
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
327
|
-
style="text-align: right;"
|
|
328
|
-
>
|
|
329
|
-
456
|
|
330
|
-
</td>
|
|
331
|
-
</tr>
|
|
332
|
-
</tbody>
|
|
333
|
-
</table>
|
|
334
|
-
</div>
|
|
335
|
-
</div>
|
|
336
|
-
</div>
|
|
337
|
-
</td>
|
|
338
|
-
</tr>
|
|
339
|
-
</tbody>
|
|
340
|
-
</table>
|
|
341
|
-
</div>
|
|
342
|
-
`;
|
|
343
|
-
|
|
344
|
-
exports[`Test Info Card snapshot test with no props 1`] = `
|
|
345
|
-
.c1 {
|
|
346
|
-
display: grid;
|
|
347
|
-
grid-gap: 8px;
|
|
348
|
-
grid-auto-flow: column;
|
|
349
|
-
-webkit-align-items: center;
|
|
350
|
-
-webkit-box-align: center;
|
|
351
|
-
-ms-flex-align: center;
|
|
352
|
-
align-items: center;
|
|
353
|
-
height: 100%;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.c0 {
|
|
357
|
-
margin: 0;
|
|
358
|
-
padding: 0;
|
|
359
|
-
background: transparent;
|
|
360
|
-
height: 36px;
|
|
361
|
-
padding-left: 16px;
|
|
362
|
-
padding-right: 16px;
|
|
363
|
-
border: 1px solid transparent;
|
|
364
|
-
border-radius: 4px;
|
|
365
|
-
margin: 0;
|
|
366
|
-
color: var(--eds_interactive_primary__resting,rgba(0,112,121,1));
|
|
367
|
-
font-family: Equinor;
|
|
368
|
-
font-size: 0.875rem;
|
|
369
|
-
font-weight: 500;
|
|
370
|
-
line-height: 1.143em;
|
|
371
|
-
text-align: center;
|
|
372
|
-
-webkit-text-decoration: none;
|
|
373
|
-
text-decoration: none;
|
|
374
|
-
position: relative;
|
|
375
|
-
cursor: pointer;
|
|
376
|
-
display: inline-block;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.c0 svg {
|
|
380
|
-
justify-self: center;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.c0::after {
|
|
384
|
-
position: absolute;
|
|
385
|
-
top: -6px;
|
|
386
|
-
left: -0;
|
|
387
|
-
width: 100%;
|
|
388
|
-
height: 48px;
|
|
389
|
-
content: '';
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.c0:hover {
|
|
393
|
-
background: var(--eds_interactive_primary__hover_alt,rgba(222,237,238,1));
|
|
394
|
-
color: var(--eds_interactive_primary__hover,rgba(0,79,85,1));
|
|
395
|
-
border: 1px solid transparent;
|
|
396
|
-
border-radius: 4px;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.c0:focus {
|
|
400
|
-
outline: none;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.c0[data-focus-visible-added]:focus {
|
|
404
|
-
outline: 1px dashed rgba(0,112,121,1);
|
|
405
|
-
outline-offset: 2px;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.c0::-moz-focus-inner {
|
|
409
|
-
border: 0;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.c0:disabled {
|
|
413
|
-
cursor: not-allowed;
|
|
414
|
-
background: transparent;
|
|
415
|
-
border: 1px solid transparent;
|
|
416
|
-
margin: 0;
|
|
417
|
-
color: var(--eds_interactive__disabled__text,rgba(190,190,190,1));
|
|
418
|
-
font-family: Equinor;
|
|
419
|
-
font-size: 0.875rem;
|
|
420
|
-
font-weight: 500;
|
|
421
|
-
line-height: 1.143em;
|
|
422
|
-
text-align: center;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.c0:disabled:hover {
|
|
426
|
-
background: transparent;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.c0::before {
|
|
430
|
-
position: absolute;
|
|
431
|
-
top: 0;
|
|
432
|
-
left: 0;
|
|
433
|
-
width: auto;
|
|
434
|
-
min-height: auto;
|
|
435
|
-
content: '';
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
<div
|
|
439
|
-
class="MuiTableContainer-root css-rorn0c-MuiTableContainer-root"
|
|
440
|
-
>
|
|
441
|
-
<table
|
|
442
|
-
aria-label="info-card"
|
|
443
|
-
class="MuiTable-root css-t8ttc-MuiTable-root"
|
|
444
|
-
>
|
|
445
|
-
<tbody
|
|
446
|
-
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
|
|
447
|
-
>
|
|
448
|
-
<tr
|
|
449
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
450
|
-
>
|
|
451
|
-
<td
|
|
452
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-spv49l-MuiTableCell-root"
|
|
453
|
-
>
|
|
454
|
-
<button
|
|
455
|
-
class="c0"
|
|
456
|
-
style="padding: 0px;"
|
|
457
|
-
tabindex="0"
|
|
458
|
-
type="button"
|
|
459
|
-
>
|
|
460
|
-
<span
|
|
461
|
-
class="c1"
|
|
462
|
-
>
|
|
463
|
-
<svg
|
|
464
|
-
aria-hidden="true"
|
|
465
|
-
class=""
|
|
466
|
-
fill="currentColor"
|
|
467
|
-
height="24px"
|
|
468
|
-
viewBox="0 0 24 24"
|
|
469
|
-
width="24px"
|
|
470
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
471
|
-
>
|
|
472
|
-
<path
|
|
473
|
-
class=""
|
|
474
|
-
clip-rule="evenodd"
|
|
475
|
-
d="m7 14.5 5-5 5 5H7z"
|
|
476
|
-
data-testid="eds-icon-path"
|
|
477
|
-
fill-rule="evenodd"
|
|
478
|
-
height="24"
|
|
479
|
-
/>
|
|
480
|
-
</svg>
|
|
481
|
-
</span>
|
|
482
|
-
</button>
|
|
483
|
-
</td>
|
|
484
|
-
<td
|
|
485
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
486
|
-
>
|
|
487
|
-
|
|
488
|
-
Position
|
|
489
|
-
|
|
490
|
-
</td>
|
|
491
|
-
</tr>
|
|
492
|
-
<tr
|
|
493
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
494
|
-
>
|
|
495
|
-
<td
|
|
496
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1ex1afd-MuiTableCell-root"
|
|
497
|
-
colspan="2"
|
|
498
|
-
style="padding-bottom: 0px; padding-top: 0px;"
|
|
499
|
-
>
|
|
500
|
-
<div
|
|
501
|
-
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-pwcg7p-MuiCollapse-root"
|
|
502
|
-
style="min-height: 0px;"
|
|
503
|
-
>
|
|
504
|
-
<div
|
|
505
|
-
class="MuiCollapse-wrapper MuiCollapse-vertical css-smkl36-MuiCollapse-wrapper"
|
|
506
|
-
>
|
|
507
|
-
<div
|
|
508
|
-
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
|
|
509
|
-
>
|
|
510
|
-
<table
|
|
511
|
-
aria-label="properties"
|
|
512
|
-
class="MuiTable-root css-rqglhn-MuiTable-root"
|
|
513
|
-
>
|
|
514
|
-
<tbody
|
|
515
|
-
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
|
|
516
|
-
>
|
|
517
|
-
<tr
|
|
518
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
519
|
-
>
|
|
520
|
-
<td
|
|
521
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
522
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
523
|
-
>
|
|
524
|
-
x
|
|
525
|
-
</td>
|
|
526
|
-
<td
|
|
527
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
528
|
-
style="text-align: right;"
|
|
529
|
-
>
|
|
530
|
-
111.00 m
|
|
531
|
-
</td>
|
|
532
|
-
</tr>
|
|
533
|
-
<tr
|
|
534
|
-
class="MuiTableRow-root css-229i8j-MuiTableRow-root"
|
|
535
|
-
>
|
|
536
|
-
<td
|
|
537
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
538
|
-
style="padding-left: 10px; padding-right: 10px;"
|
|
539
|
-
>
|
|
540
|
-
y
|
|
541
|
-
</td>
|
|
542
|
-
<td
|
|
543
|
-
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-dsuxgy-MuiTableCell-root"
|
|
544
|
-
style="text-align: right;"
|
|
545
|
-
>
|
|
546
|
-
222.00 m
|
|
547
|
-
</td>
|
|
548
|
-
</tr>
|
|
549
|
-
</tbody>
|
|
550
|
-
</table>
|
|
551
|
-
</div>
|
|
552
|
-
</div>
|
|
553
|
-
</div>
|
|
554
|
-
</td>
|
|
555
|
-
</tr>
|
|
556
|
-
</tbody>
|
|
557
|
-
</table>
|
|
558
|
-
</div>
|
|
559
|
-
`;
|
|
560
|
-
|
|
561
|
-
exports[`Test Info Card undefined coordinates 1`] = `null`;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Test Map component snapshot test 1`] = `
|
|
4
|
-
.c0 {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
-webkit-transform: rotate(-90deg);
|
|
7
|
-
-ms-transform: rotate(-90deg);
|
|
8
|
-
transform: rotate(-90deg);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
<div>
|
|
12
|
-
<div
|
|
13
|
-
id="DeckGL-Map-wrapper"
|
|
14
|
-
style="position: absolute; z-index: 0; left: 0px; top: 0px; width: 100%; height: 100%;"
|
|
15
|
-
>
|
|
16
|
-
<canvas
|
|
17
|
-
id="DeckGL-Map"
|
|
18
|
-
style="left: 0px; top: 0px; width: 100%; position: absolute; height: 100%;"
|
|
19
|
-
/>
|
|
20
|
-
</div>
|
|
21
|
-
<div>
|
|
22
|
-
<svg
|
|
23
|
-
aria-valuemax="100"
|
|
24
|
-
aria-valuemin="0"
|
|
25
|
-
aria-valuenow="0"
|
|
26
|
-
class="c0"
|
|
27
|
-
height="48"
|
|
28
|
-
preserveAspectRatio="xMidYMid meet"
|
|
29
|
-
role="progressbar"
|
|
30
|
-
viewBox="24 24 48 48"
|
|
31
|
-
width="48"
|
|
32
|
-
>
|
|
33
|
-
<circle
|
|
34
|
-
class=""
|
|
35
|
-
cx="48"
|
|
36
|
-
cy="48"
|
|
37
|
-
fill="none"
|
|
38
|
-
r="22"
|
|
39
|
-
stroke="var(--eds_infographic_primary__moss_green_13, rgba(222, 237, 238, 1))"
|
|
40
|
-
stroke-width="4"
|
|
41
|
-
style="stroke: 138.230; stroke-dashoffset: 138.230px;"
|
|
42
|
-
/>
|
|
43
|
-
<circle
|
|
44
|
-
class=""
|
|
45
|
-
cx="48"
|
|
46
|
-
cy="48"
|
|
47
|
-
fill="none"
|
|
48
|
-
r="22"
|
|
49
|
-
stroke="var(--eds_infographic_primary__moss_green_100, rgba(0, 112, 121, 1))"
|
|
50
|
-
stroke-dasharray="138.23007675795088"
|
|
51
|
-
stroke-linecap="round"
|
|
52
|
-
stroke-width="4"
|
|
53
|
-
style="stroke: 138.230; stroke-dashoffset: 138.230px;"
|
|
54
|
-
/>
|
|
55
|
-
</svg>
|
|
56
|
-
<br />
|
|
57
|
-
Loading assets...
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
`;
|
|
61
|
-
|
|
62
|
-
exports[`Test Map component snapshot test with edited data 1`] = `
|
|
63
|
-
.c0 {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
-webkit-transform: rotate(-90deg);
|
|
66
|
-
-ms-transform: rotate(-90deg);
|
|
67
|
-
transform: rotate(-90deg);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
<div>
|
|
71
|
-
<div
|
|
72
|
-
id="DeckGL-Map-wrapper"
|
|
73
|
-
style="position: absolute; z-index: 0; left: 0px; top: 0px; width: 100%; height: 100%;"
|
|
74
|
-
>
|
|
75
|
-
<canvas
|
|
76
|
-
id="DeckGL-Map"
|
|
77
|
-
style="left: 0px; top: 0px; width: 100%; position: absolute; height: 100%;"
|
|
78
|
-
/>
|
|
79
|
-
</div>
|
|
80
|
-
<div>
|
|
81
|
-
<svg
|
|
82
|
-
aria-valuemax="100"
|
|
83
|
-
aria-valuemin="0"
|
|
84
|
-
aria-valuenow="0"
|
|
85
|
-
class="c0"
|
|
86
|
-
height="48"
|
|
87
|
-
preserveAspectRatio="xMidYMid meet"
|
|
88
|
-
role="progressbar"
|
|
89
|
-
viewBox="24 24 48 48"
|
|
90
|
-
width="48"
|
|
91
|
-
>
|
|
92
|
-
<circle
|
|
93
|
-
class=""
|
|
94
|
-
cx="48"
|
|
95
|
-
cy="48"
|
|
96
|
-
fill="none"
|
|
97
|
-
r="22"
|
|
98
|
-
stroke="var(--eds_infographic_primary__moss_green_13, rgba(222, 237, 238, 1))"
|
|
99
|
-
stroke-width="4"
|
|
100
|
-
style="stroke: 138.230; stroke-dashoffset: 138.230px;"
|
|
101
|
-
/>
|
|
102
|
-
<circle
|
|
103
|
-
class=""
|
|
104
|
-
cx="48"
|
|
105
|
-
cy="48"
|
|
106
|
-
fill="none"
|
|
107
|
-
r="22"
|
|
108
|
-
stroke="var(--eds_infographic_primary__moss_green_100, rgba(0, 112, 121, 1))"
|
|
109
|
-
stroke-dasharray="138.23007675795088"
|
|
110
|
-
stroke-linecap="round"
|
|
111
|
-
stroke-width="4"
|
|
112
|
-
style="stroke: 138.230; stroke-dashoffset: 138.230px;"
|
|
113
|
-
/>
|
|
114
|
-
</svg>
|
|
115
|
-
<br />
|
|
116
|
-
Loading assets...
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
`;
|