@emerson-eps/color-tables 0.2.11 → 0.2.14

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 (122) hide show
  1. package/dist/component/ColorSelector/ColorSelectorAccordion.js +2 -2
  2. package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -1
  3. package/dist/component/ColorSelector/ColorSelectorComponent.d.ts +1 -2
  4. package/dist/component/ColorSelector/ColorSelectorComponent.js +7 -7
  5. package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
  6. package/dist/component/ColorSelector/ColorSelectorWrapper.d.ts +6 -2
  7. package/dist/component/ColorSelector/ColorSelectorWrapper.js +10 -10
  8. package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
  9. package/dist/component/Legend/ColorLegend.js +13 -5
  10. package/dist/component/Legend/ColorLegend.js.map +1 -1
  11. package/dist/component/Legend/ContinuousLegend.d.ts +1 -1
  12. package/dist/component/Legend/ContinuousLegend.js +18 -4
  13. package/dist/component/Legend/ContinuousLegend.js.map +1 -1
  14. package/dist/component/Legend/DiscreteLegend.d.ts +1 -1
  15. package/dist/component/Legend/DiscreteLegend.js +25 -16
  16. package/dist/component/Legend/DiscreteLegend.js.map +1 -1
  17. package/dist/component/Utils/continousLegend.d.ts +2 -2
  18. package/dist/component/Utils/continousLegend.js.map +1 -1
  19. package/dist/component/Utils/discreteLegend.js +14 -27
  20. package/dist/component/Utils/discreteLegend.js.map +1 -1
  21. package/dist/component/{Utils/ColorTableTypes.d.ts → colorTableTypes.d.ts} +0 -0
  22. package/dist/component/colorTableTypes.js +2 -0
  23. package/dist/component/colorTableTypes.js.map +1 -0
  24. package/dist/index.d.ts +2 -4
  25. package/dist/index.js +1 -3
  26. package/dist/index.js.map +1 -1
  27. package/package.json +6 -3
  28. package/.storybook/main.js +0 -11
  29. package/.storybook/preview.js +0 -9
  30. package/.vscode/settings.json +0 -3
  31. package/dist/component/Utils/ColorTableTypes.js +0 -2
  32. package/dist/component/Utils/ColorTableTypes.js.map +0 -1
  33. package/dist/stories/ColorLegends/ColorSelector/Selector.stories.d.ts +0 -7
  34. package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js +0 -11
  35. package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js.map +0 -1
  36. package/dist/stories/ColorLegends/ContinousLegends/MD.stories.d.ts +0 -7
  37. package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js +0 -38
  38. package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js.map +0 -1
  39. package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.d.ts +0 -7
  40. package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js +0 -38
  41. package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js.map +0 -1
  42. package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.d.ts +0 -7
  43. package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js +0 -38
  44. package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js.map +0 -1
  45. package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.d.ts +0 -7
  46. package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js +0 -38
  47. package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js.map +0 -1
  48. package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.d.ts +0 -7
  49. package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js +0 -38
  50. package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js.map +0 -1
  51. package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.d.ts +0 -7
  52. package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js +0 -38
  53. package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js.map +0 -1
  54. package/dist/stories/ColorLegends/ContinousLegends/SW.stories.d.ts +0 -7
  55. package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js +0 -38
  56. package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js.map +0 -1
  57. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.d.ts +0 -7
  58. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +0 -47
  59. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +0 -1
  60. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.d.ts +0 -7
  61. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +0 -47
  62. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +0 -1
  63. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.d.ts +0 -7
  64. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +0 -39
  65. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +0 -1
  66. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.d.ts +0 -7
  67. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +0 -39
  68. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +0 -1
  69. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.d.ts +0 -7
  70. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +0 -42
  71. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +0 -1
  72. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.d.ts +0 -7
  73. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +0 -53
  74. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +0 -1
  75. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.d.ts +0 -7
  76. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +0 -42
  77. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +0 -1
  78. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.d.ts +0 -7
  79. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +0 -52
  80. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +0 -1
  81. package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.d.ts +0 -7
  82. package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js +0 -52
  83. package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js.map +0 -1
  84. package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.d.ts +0 -7
  85. package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js +0 -38
  86. package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js.map +0 -1
  87. package/dist/stories/ColorLegends/SingleComponent/Single.stories.d.ts +0 -7
  88. package/dist/stories/ColorLegends/SingleComponent/Single.stories.js +0 -58
  89. package/dist/stories/ColorLegends/SingleComponent/Single.stories.js.map +0 -1
  90. package/src/component/ColorSelector/ColorSelectorAccordion.tsx +0 -54
  91. package/src/component/ColorSelector/ColorSelectorComponent.tsx +0 -312
  92. package/src/component/ColorSelector/ColorSelectorWrapper.tsx +0 -119
  93. package/src/component/Legend/ColorLegend.tsx +0 -89
  94. package/src/component/Legend/ContinuousLegend.tsx +0 -220
  95. package/src/component/Legend/DiscreteLegend.tsx +0 -195
  96. package/src/component/Utils/ColorTableTypes.ts +0 -6
  97. package/src/component/Utils/continousLegend.ts +0 -73
  98. package/src/component/Utils/d3ColorScale.ts +0 -84
  99. package/src/component/Utils/discreteLegend.ts +0 -84
  100. package/src/component/color-tables.json +0 -203
  101. package/src/custom.d.ts +0 -1
  102. package/src/index.ts +0 -26
  103. package/src/stories/ColorLegends/ColorSelector/Selector.stories.jsx +0 -12
  104. package/src/stories/ColorLegends/ContinousLegends/MD.stories.jsx +0 -29
  105. package/src/stories/ColorLegends/ContinousLegends/NTG.stories.jsx +0 -29
  106. package/src/stories/ColorLegends/ContinousLegends/PermTot.stories.jsx +0 -29
  107. package/src/stories/ColorLegends/ContinousLegends/Permeability.stories.jsx +0 -29
  108. package/src/stories/ColorLegends/ContinousLegends/PoroTot.stories.jsx +0 -29
  109. package/src/stories/ColorLegends/ContinousLegends/Porosity.stories.jsx +0 -29
  110. package/src/stories/ColorLegends/ContinousLegends/SW.stories.jsx +0 -29
  111. package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +0 -39
  112. package/src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx +0 -39
  113. package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +0 -31
  114. package/src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx +0 -31
  115. package/src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx +0 -34
  116. package/src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx +0 -45
  117. package/src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx +0 -34
  118. package/src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx +0 -46
  119. package/src/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.jsx +0 -44
  120. package/src/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.jsx +0 -30
  121. package/src/stories/ColorLegends/SingleComponent/Single.stories.jsx +0 -51
  122. package/tsconfig.json +0 -23
@@ -1,203 +0,0 @@
1
- [
2
- {
3
- "name": "Physics",
4
- "discrete": false,
5
- "colors": [
6
- [ 0.00, 255, 0, 0 ],
7
- [ 0.25, 255, 255, 0 ],
8
- [ 0.50, 0, 255, 0 ],
9
- [ 0.75, 0, 255, 255 ],
10
- [ 1.00, 0, 0, 255 ]
11
- ]
12
- },
13
- {
14
- "name": "Rainbow",
15
- "discrete": false,
16
- "colors": [
17
- [ 0.00, 255, 0, 0 ],
18
- [ 0.20, 255, 255, 0 ],
19
- [ 0.40, 0, 255, 0 ],
20
- [ 0.60, 0, 255, 255 ],
21
- [ 0.80, 0, 0, 255 ],
22
- [ 1.00, 255, 0, 255 ]
23
- ]
24
- },
25
- {
26
- "name": "Porosity",
27
- "discrete": false,
28
- "colors": [
29
- [ 0.00, 255, 246, 117 ],
30
- [ 0.11, 255, 243, 53 ],
31
- [ 0.18, 255, 241, 0 ],
32
- [ 0.25, 155, 193, 0 ],
33
- [ 0.32, 255, 155, 23 ],
34
- [ 0.39, 255, 162, 61 ],
35
- [ 0.46, 255, 126, 45 ],
36
- [ 0.53, 227, 112, 24 ],
37
- [ 0.60, 246, 96, 31 ],
38
- [ 0.67, 229, 39, 48 ],
39
- [ 0.74, 252, 177, 170 ],
40
- [ 0.81, 236, 103, 146 ],
41
- [ 0.88, 226, 44, 118 ],
42
- [ 1.00, 126, 40, 111 ]
43
- ]
44
- },
45
- {
46
- "name": "Permeability",
47
- "discrete": false,
48
- "colors": [
49
- [ 0.00, 119, 63, 49 ],
50
- [ 0.148, 135, 49, 45 ],
51
- [ 0.246, 154, 89, 24 ],
52
- [ 0.344, 191, 88, 22 ],
53
- [ 0.441, 190, 142, 97 ],
54
- [ 0.539, 255, 126, 45 ],
55
- [ 0.637, 255, 162, 61 ],
56
- [ 0.734, 255, 155, 23 ],
57
- [ 0.832, 255, 241, 0 ],
58
- [ 1.00, 255, 246, 117 ]
59
- ]
60
- },
61
- {
62
- "name": "Seismic",
63
- "discrete": false,
64
- "colors": [
65
- [ 0.00, 0, 0, 255 ],
66
- [ 0.50, 255, 255, 255 ],
67
- [ 1.00, 255, 2, 2 ]
68
- ]
69
- },
70
- {
71
- "name": "Time/Depth",
72
- "discrete": false,
73
- "colors": [
74
- [ 0.00, 252, 174, 169 ],
75
- [ 0.10, 226, 44, 118 ],
76
- [ 0.168, 229, 39, 48 ],
77
- [ 0.234, 150, 40, 34 ],
78
- [ 0.301, 255, 126, 45 ],
79
- [ 0.367, 255, 162, 61 ],
80
- [ 0.434, 255, 241, 0 ],
81
- [ 0.50, 219, 228, 163 ],
82
- [ 0.566, 0, 143, 74 ],
83
- [ 0.633, 0, 110, 78 ],
84
- [ 0.699, 0, 124, 140 ],
85
- [ 0.766, 116, 190, 230 ],
86
- [ 0.832, 0, 143, 212 ],
87
- [ 0.898, 0, 51, 116 ],
88
- [ 1.00, 74, 19, 86 ]
89
- ]
90
- },
91
- {
92
- "name": "Stratigraphy",
93
- "discrete": true,
94
- "colors": [
95
- [ 0, 255, 120, 61 ],
96
- [ 1, 255, 193, 0 ],
97
- [ 2, 255, 155, 76 ],
98
- [ 3, 255, 223, 161 ],
99
- [ 4, 226, 44, 118 ],
100
- [ 5, 255, 243, 53 ],
101
- [ 6, 255, 212, 179 ],
102
- [ 7, 255, 155, 23 ],
103
- [ 8, 255, 246, 117 ],
104
- [ 9, 255, 241, 0 ],
105
- [ 10, 255, 211, 178 ],
106
- [ 11, 255, 173, 128 ],
107
- [ 12, 248, 152, 0 ],
108
- [ 13, 154, 89, 24 ],
109
- [ 14, 0, 138, 185 ],
110
- [ 15, 82, 161, 40 ],
111
- [ 16, 219, 228, 163 ],
112
- [ 17, 0, 119, 64 ],
113
- [ 18, 0, 110, 172 ],
114
- [ 19, 116, 190, 230 ],
115
- [ 20, 0, 155, 212 ],
116
- [ 21, 0, 117, 190 ],
117
- [ 22, 143, 40, 112 ],
118
- [ 23, 220, 153, 190 ],
119
- [ 24, 226, 44, 118 ],
120
- [ 25, 126, 40, 111 ],
121
- [ 26, 73, 69, 43 ],
122
- [ 27, 203, 63, 42 ],
123
- [ 28, 255, 198, 190 ],
124
- [ 29, 135, 49, 45 ],
125
- [ 30, 150, 136, 120 ],
126
- [ 31, 198, 182, 175 ],
127
- [ 32, 166, 154, 145 ],
128
- [ 33, 191, 88, 22 ],
129
- [ 34, 255, 212, 179 ],
130
- [ 35, 251, 139, 105 ],
131
- [ 36, 154, 89, 24 ],
132
- [ 37, 186, 222, 200 ],
133
- [ 38, 0, 124, 140 ],
134
- [ 39, 87, 84, 83 ]
135
- ]
136
- },
137
- {
138
- "name": "Facies",
139
- "discrete": true,
140
- "colors": [
141
- [ 0, 255, 193, 0 ],
142
- [ 1, 255, 246, 117 ],
143
- [ 2, 166, 194, 42 ],
144
- [ 3, 149, 160, 24 ],
145
- [ 4, 9, 143, 74 ],
146
- [ 5, 125, 98, 15 ],
147
- [ 6, 0, 108, 154 ],
148
- [ 7, 0, 117, 190 ],
149
- [ 8, 28, 22, 59 ],
150
- [ 9, 39, 142, 199 ],
151
- [ 10, 0, 138, 185 ],
152
- [ 11, 52, 178, 188 ],
153
- [ 12, 235, 63, 34 ],
154
- [ 13, 74, 19, 86 ],
155
- [ 14, 248, 152, 0 ],
156
- [ 15, 1, 1, 1 ],
157
- [ 16, 128, 128, 128 ]
158
- ]
159
- },
160
- {
161
- "name": "GasOilWater",
162
- "discrete": true,
163
- "colors": [
164
- [ 0, 255, 46, 0],
165
- [ 1, 0, 184, 0 ],
166
- [ 2, 0, 25, 255 ],
167
- [ 3, 179, 179, 179 ]
168
- ]
169
- },
170
- {
171
- "name": "GasWater",
172
- "discrete": true,
173
- "colors": [
174
- [ 0, 255, 46, 0 ],
175
- [ 1, 0, 25, 255 ],
176
- [ 2, 179, 179, 179 ]
177
- ]
178
- },
179
- {
180
- "name": "OilWater",
181
- "discrete": true,
182
- "colors": [
183
- [ 0, 0, 184, 0 ],
184
- [ 1, 0, 25, 255 ],
185
- [ 2, 179, 179, 179 ]
186
- ]
187
- },
188
- {
189
- "name": "Accent",
190
- "discrete": true,
191
- "colors": [
192
- [ 0, 127, 201, 127 ],
193
- [ 1, 190, 174, 212 ],
194
- [ 2, 253, 192, 134 ],
195
- [ 4, 255, 255, 153 ],
196
- [ 5, 56, 108, 176 ],
197
- [ 6, 240, 2, 127 ],
198
- [ 7, 191, 91, 23 ],
199
- [ 8, 102, 102, 102 ]
200
- ]
201
- }
202
- ]
203
-
package/src/custom.d.ts DELETED
@@ -1 +0,0 @@
1
- declare module '@emerson-eps/color-tables';
package/src/index.ts DELETED
@@ -1,26 +0,0 @@
1
- import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
2
- import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
3
- import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
4
- import { ContinuousLegend } from './component/Legend/ContinuousLegend';
5
- import { DiscreteColorLegend } from './component/Legend/DiscreteLegend';
6
- import { ColorLegend } from './component/Legend/ColorLegend';
7
- import { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
8
- import { d3ColorScales } from './component/Utils/d3ColorScale';
9
- import { colorTablesObj, colorTablesArray } from './component/Utils/ColorTableTypes';
10
- import * as colorTables from './component/color-tables.json';
11
-
12
- export {
13
- ColorSelectorAccordion,
14
- ColorSelectorComponent,
15
- ColorSelectorWrapper,
16
- ContinuousLegend,
17
- DiscreteColorLegend,
18
- ColorLegend,
19
- colorsArray,
20
- rgbValues,
21
- RGBToHex,
22
- d3ColorScales,
23
- colorTablesObj,
24
- colorTablesArray,
25
- colorTables,
26
- };
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- import { ColorSelectorAccordion } from "../../../component/ColorSelector/ColorSelectorAccordion";
3
- export default {
4
- component: ColorSelectorAccordion,
5
- title: "Legends/ColorSelector",
6
- };
7
-
8
- const Template = (args) => {
9
- return <ColorSelectorAccordion />;
10
- };
11
-
12
- export const selectorTemplate = Template.bind({});
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = 2918;
10
- const max = 4770;
11
- const dataObjectName = "Wells / MD";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Time/Depth";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const MDTemplate = Template.bind({});
21
- MDTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = 0;
10
- const max = 1;
11
- const dataObjectName = "Wells / NTG";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Rainbow";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const NTGTemplate = Template.bind({});
21
- NTGTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = -999;
10
- const max = 14023;
11
- const dataObjectName = "Wells / PERMTOT";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Porosity";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const PermTotTemplate = Template.bind({});
21
- PermTotTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = -999;
10
- const max = 14023;
11
- const dataObjectName = "Wells / PERM";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Permeability";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const PermeabilityTemplate = Template.bind({});
21
- PermeabilityTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = 0;
10
- const max = 0.35;
11
- const dataObjectName = "Wells / POROTOT";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Porosity";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const PoroTotTemplate = Template.bind({});
21
- PoroTotTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = 0;
10
- const max = 0.35;
11
- const dataObjectName = "Wells / PORO";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Porosity";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const PorosityTemplate = Template.bind({});
21
- PorosityTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
- export default {
4
- component: ContinuousLegend,
5
- title: "Legends/ContinousLegend",
6
- };
7
- import colorTables from "../../../component/color-tables.json";
8
-
9
- const min = 0;
10
- const max = 1;
11
- const dataObjectName = "Wells / SW";
12
- const position = [16, 10];
13
- const horizontal = true;
14
- const colorName = "Rainbow";
15
-
16
- const Template = (args) => {
17
- return <ContinuousLegend {...args} />;
18
- };
19
-
20
- export const SWTemplate = Template.bind({});
21
- SWTemplate.args = {
22
- min,
23
- max,
24
- dataObjectName,
25
- position,
26
- colorName,
27
- colorTables,
28
- horizontal,
29
- };
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- OS: [[], 0],
12
- LSF: [[], 1],
13
- USF: [[], 2],
14
- MB: [[], 3],
15
- TB: [[], 4],
16
- TC: [[], 5],
17
- TFS: [[], 6],
18
- TFM: [[], 7],
19
- MSH: [[], 8],
20
- CAL: [[], 9],
21
- };
22
- const dataObjectName = "Wells / FACIES";
23
- const position = [16, 10];
24
- const horizontal = true;
25
- const colorName = "Facies";
26
-
27
- const Template = args => {
28
- return <DiscreteColorLegend {...args} />;
29
- };
30
-
31
- export const FaciesTemplate = Template.bind({});
32
- FaciesTemplate.args = {
33
- discreteData,
34
- dataObjectName,
35
- position,
36
- colorName,
37
- colorTables,
38
- horizontal,
39
- };
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- "F_OFFSHORE": [[], 0],
12
- "F_LOWER_SHOREFACE": [[], 1],
13
- "F_UPPER_SHOREFACE": [[], 2],
14
- "F_MOUTH_BAR": [[], 3],
15
- "F_TIDAL_BAR": [[], 4],
16
- "F_TIDAL_CHANNEL": [[], 5],
17
- "F_TIDAL_FLAT_SANDY": [[], 6],
18
- "F_TIDAL_FLAT_MUDDY": [[], 7],
19
- "F_MARSH": [[], 8],
20
- "F_CALCITE": [[], 9]
21
- };
22
- const dataObjectName = "Wells / FACIES_NoCalcite";
23
- const position = [16, 10];
24
- const horizontal = true;
25
- const colorName = "Facies";
26
-
27
- const Template = (args) => {
28
- return <DiscreteColorLegend {...args} />;
29
- };
30
-
31
- export const FaciesNoCalciteTemplate = Template.bind({});
32
- FaciesNoCalciteTemplate.args = {
33
- discreteData,
34
- dataObjectName,
35
- position,
36
- colorName,
37
- colorTables,
38
- horizontal,
39
- };
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- "no": [[], 0],
12
- "yes": [[], 1]
13
- };
14
- const dataObjectName = "Wells / FaultDistance_HUM";
15
- const position = [16, 10];
16
- const horizontal = true;
17
- const colorName = "GasOilWater";
18
-
19
- const Template = (args) => {
20
- return <DiscreteColorLegend {...args} />;
21
- };
22
-
23
- export const FaultDistanceHumTemplate = Template.bind({});
24
- FaultDistanceHumTemplate.args = {
25
- discreteData,
26
- dataObjectName,
27
- position,
28
- colorName,
29
- colorTables,
30
- horizontal,
31
- };
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- "no": [[], 0],
12
- "yes": [[], 1]
13
- };
14
- const dataObjectName = "Wells / FAULT_PROXIMITY_FLAG";
15
- const position = [16, 10];
16
- const horizontal = true;
17
- const colorName = "Time/Depth";
18
-
19
- const Template = (args) => {
20
- return <DiscreteColorLegend {...args} />;
21
- };
22
-
23
- export const FaultProximityFlagTemplate = Template.bind({});
24
- FaultProximityFlagTemplate.args = {
25
- discreteData,
26
- dataObjectName,
27
- position,
28
- colorName,
29
- colorTables,
30
- horizontal,
31
- };
@@ -1,34 +0,0 @@
1
- import React from "react";
2
- import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- "OFFSHORE": [[], 1],
12
- "LSF": [[], 2],
13
- "USF": [[], 3],
14
- "TIDAL": [[], 4],
15
- "ONSHORE": [[], 5]
16
- };
17
- const dataObjectName = "Wells / RDE";
18
- const position = [16, 10];
19
- const horizontal = true;
20
- const colorName = "Accent";
21
-
22
- const Template = (args) => {
23
- return <DiscreteColorLegend {...args} />;
24
- };
25
-
26
- export const RDETemplate = Template.bind({});
27
- RDETemplate.args = {
28
- discreteData,
29
- dataObjectName,
30
- position,
31
- colorName,
32
- colorTables,
33
- horizontal,
34
- };
@@ -1,45 +0,0 @@
1
- import React from "react";
2
- import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
- import colorTables from "../../../component/color-tables.json";
4
-
5
- export default {
6
- component: DiscreteColorLegend,
7
- title: "Legends/DiscreteColorLegend",
8
- };
9
-
10
- const discreteData = {
11
- "F_OFFSHORE": [[], 0],
12
- "F_LOWER_SHOREFACE": [[], 1],
13
- "F_UPPER_SHOREFACE": [[], 2],
14
- "F_MOUTH_BAR": [[], 3],
15
- "F_TIDAL_BAR": [[], 4],
16
- "F_TIDAL_CHANNEL": [[], 5],
17
- "F_TIDAL_FLAT_SANDY": [[], 6],
18
- "F_TIDAL_FLAT_MUDDY": [[], 7],
19
- "F_MARSH": [[], 8],
20
- "F_CALCITE": [[], 9],
21
- "R_OFFSHORE": [[], 10],
22
- "R_SHOREFACE": [[], 11],
23
- "R_TIDAL": [[], 12],
24
- "R_ONSHORE": [[], 13],
25
- "R_USF": [[], 14],
26
- "R_LSF": [[], 15]
27
- };
28
- const dataObjectName = "Wells / RDE_ORIG";
29
- const position = [16, 10];
30
- const horizontal = true;
31
- const colorName = "Stratigraphy";
32
-
33
- const Template = (args) => {
34
- return <DiscreteColorLegend {...args} />;
35
- };
36
-
37
- export const RDEOrigTemplate = Template.bind({});
38
- RDEOrigTemplate.args = {
39
- discreteData,
40
- dataObjectName,
41
- position,
42
- colorName,
43
- colorTables,
44
- horizontal,
45
- };