@emerson-eps/color-tables 0.1.10 → 0.1.15

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 (76) hide show
  1. package/dist/component/Legend/ContinuousLegend.d.ts +2 -2
  2. package/dist/component/Legend/ContinuousLegend.js +1 -2
  3. package/dist/component/Legend/ContinuousLegend.js.map +1 -1
  4. package/dist/component/Legend/DiscreteLegend.d.ts +2 -2
  5. package/dist/component/Legend/DiscreteLegend.js +1 -2
  6. package/dist/component/Legend/DiscreteLegend.js.map +1 -1
  7. package/dist/component/color-tables.json +202 -0
  8. package/dist/component/welllayer_template.json +89 -0
  9. package/dist/index.d.ts +6 -3
  10. package/dist/index.js +4 -3
  11. package/dist/index.js.map +1 -1
  12. package/dist/stories/ColorLegends/ContinousLgends/MD.stories.d.ts +1 -1
  13. package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js +1 -1
  14. package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js.map +1 -1
  15. package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.d.ts +1 -1
  16. package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js +1 -1
  17. package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js.map +1 -1
  18. package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.d.ts +1 -1
  19. package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js +1 -1
  20. package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js.map +1 -1
  21. package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.d.ts +1 -1
  22. package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js +1 -1
  23. package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js.map +1 -1
  24. package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.d.ts +1 -1
  25. package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js +1 -1
  26. package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js.map +1 -1
  27. package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.d.ts +1 -1
  28. package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js +1 -1
  29. package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js.map +1 -1
  30. package/dist/stories/ColorLegends/ContinousLgends/SW.stories.d.ts +1 -1
  31. package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js +1 -1
  32. package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js.map +1 -1
  33. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.d.ts +1 -1
  34. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +1 -1
  35. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +1 -1
  36. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.d.ts +1 -1
  37. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +1 -1
  38. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +1 -1
  39. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.d.ts +1 -1
  40. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +1 -1
  41. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +1 -1
  42. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.d.ts +1 -1
  43. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +1 -1
  44. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +1 -1
  45. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.d.ts +1 -1
  46. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +1 -1
  47. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +1 -1
  48. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.d.ts +1 -1
  49. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +1 -1
  50. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +1 -1
  51. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.d.ts +1 -1
  52. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +1 -1
  53. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +1 -1
  54. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.d.ts +1 -1
  55. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +1 -1
  56. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/component/Legend/ContinuousLegend.tsx +1 -3
  59. package/src/component/Legend/DiscreteLegend.tsx +1 -3
  60. package/src/index.ts +6 -7
  61. package/src/stories/ColorLegends/ContinousLgends/MD.stories.jsx +1 -1
  62. package/src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx +1 -1
  63. package/src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx +1 -1
  64. package/src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx +1 -1
  65. package/src/stories/ColorLegends/ContinousLgends/PoroTot.stories.jsx +1 -1
  66. package/src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx +1 -1
  67. package/src/stories/ColorLegends/ContinousLgends/SW.stories.jsx +1 -1
  68. package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +1 -1
  69. package/src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx +1 -1
  70. package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +1 -1
  71. package/src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx +1 -1
  72. package/src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx +1 -1
  73. package/src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx +1 -1
  74. package/src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx +1 -1
  75. package/src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx +1 -1
  76. package/tsconfig.json +3 -4
@@ -11,5 +11,5 @@ declare type legendProps = {
11
11
  colorTables: colorTablesArray;
12
12
  horizontal: boolean;
13
13
  };
14
- declare const ContinuousLegend: React.FC<legendProps>;
15
- export default ContinuousLegend;
14
+ export declare const ContinuousLegend: React.FC<legendProps>;
15
+ export {};
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { RGBToHex, colorsArray } from "../Utils/continousLegend";
3
3
  import { select, scaleLinear, scaleSequential, axisBottom } from "d3";
4
- const ContinuousLegend = ({ min, max, dataObjectName, position, name, template, colorTables, horizontal, }) => {
4
+ export const ContinuousLegend = ({ min, max, dataObjectName, position, name, template, colorTables, horizontal, }) => {
5
5
  React.useEffect(() => {
6
6
  continuousLegend("#legend");
7
7
  }, [min, max, template, colorTables, horizontal]);
@@ -86,5 +86,4 @@ const ContinuousLegend = ({ min, max, dataObjectName, position, name, template,
86
86
  ContinuousLegend.defaultProps = {
87
87
  position: [5, 10],
88
88
  };
89
- export default ContinuousLegend;
90
89
  //# sourceMappingURL=ContinuousLegend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContinuousLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/ContinuousLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAoBtE,MAAM,gBAAgB,GAA0B,CAAC,EAC7C,GAAG,EACH,GAAG,EACH,cAAc,EACd,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,GACA,EAAE,EAAE;IACd,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,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QAE/D,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;QAEjE,SAAS;aACJ,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;aACrB,MAAM,CAAC,GAAG,CAAC;aACX,IAAI,CAAC,WAAW,EAAE,mBAAmB,CAAC;aACtC,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC;aAC1B,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC;aAC3B,IAAI,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,CACH,6BACI,KAAK,EAAE;YACH,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;YAClB,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;SACnB;QAED,6BAAK,EAAE,EAAC,QAAQ,GAAO,CACrB,CACT,CAAC;AACN,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC5B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;CACpB,CAAC"}
@@ -12,6 +12,6 @@ declare type colorLegendProps = {
12
12
  colorTables: colorTablesArray;
13
13
  horizontal: boolean;
14
14
  };
15
- declare const DiscreteColorLegend: React.FC<colorLegendProps>;
15
+ export declare const DiscreteColorLegend: React.FC<colorLegendProps>;
16
16
  export declare function colorTableData(name: string, template: templateArray, colorTables: colorTablesArray): [number, number, number, number][];
17
- export default DiscreteColorLegend;
17
+ export {};
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import legendUtil from "../Utils/discreteLegend";
3
3
  import { scaleOrdinal, select } from "d3";
4
- const DiscreteColorLegend = ({ discreteData, name, dataObjectName, position, template, colorTables, horizontal, }) => {
4
+ export const DiscreteColorLegend = ({ discreteData, name, dataObjectName, position, template, colorTables, horizontal, }) => {
5
5
  React.useEffect(() => {
6
6
  discreteLegend("#legend");
7
7
  }, [discreteData, template, colorTables, horizontal]);
@@ -77,5 +77,4 @@ export function colorTableData(name, template, colorTables) {
77
77
  DiscreteColorLegend.defaultProps = {
78
78
  position: [5, 10],
79
79
  };
80
- export default DiscreteColorLegend;
81
80
  //# sourceMappingURL=DiscreteLegend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DiscreteLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/DiscreteLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAkB1C,MAAM,mBAAmB,GAA+B,CAAC,EACrD,YAAY,EACZ,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,UAAU,GACK,EAAE,EAAE;IACnB,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,cAAc,CAAC,SAAS,CAAC,CAAC;IAC9B,CAAC,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;IACtD,SAAS,cAAc,CAAC,MAAc;QAClC,MAAM,QAAQ,GAAa,EAAE,CAAC;QAC9B,MAAM,SAAS,GAAgB,EAAE,CAAC;QAClC,MAAM,WAAW,GAAuC,cAAc,CAClE,IAAI,EACJ,QAAQ,EACR,WAAW,CACd,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACtC,2BAA2B;YAC3B,IAAI,IAAI,GAAI,YAAuC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;YAC3D,+EAA+E;YAC/E,MAAM,mBAAmB,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,KAAe,EAAE,EAAE;gBAC7D,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;YAC5B,CAAC,CAAC,CAAC;YACH,I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WAA6B;IAE7B,MAAM,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CACpC,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CACrD,CAAC;IACF,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,CACrC,CAAC,KAAqB,EAAE,EAAE,CACtB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE;QACxB,cAAc,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,EAAE,CACjD,CAAC;IACF,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACpC,CAAC;AAED,mBAAmB,CAAC,YAAY,GAAG;IAC/B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;CACpB,CAAC"}
@@ -0,0 +1,202 @@
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 BlueWhiteRed",
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": "Gas-Oil-Water",
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": "Gas-Water",
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": "Oil-Water",
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
+ ]
@@ -0,0 +1,89 @@
1
+ [
2
+ {
3
+ "name": "Welllayer Template",
4
+ "properties": [
5
+ {
6
+ "objectName": "PORO",
7
+ "colorTable": "Porosity",
8
+ "context": "wells-layer",
9
+ "scale": "linear"
10
+ },
11
+ {
12
+ "objectName": "PERM",
13
+ "colorTable": "Permeability",
14
+ "context": "wells-layer",
15
+ "scale": "linear"
16
+ },
17
+ {
18
+ "objectName": "MD",
19
+ "colorTable": "Time/Depth",
20
+ "context": "wells-layer",
21
+ "scale": "linear"
22
+ },
23
+ {
24
+ "objectName": "PORO_TOT",
25
+ "colorTable": "Porosity",
26
+ "context": "wells-layer",
27
+ "scale": "linear"
28
+ },
29
+ {
30
+ "objectName": "NTG",
31
+ "colorTable": "Rainbow",
32
+ "context": "wells-layer",
33
+ "scale": "linear"
34
+ },
35
+ {
36
+ "objectName": "PERM_TOT",
37
+ "colorTable": "Permeability",
38
+ "context": "wells-layer",
39
+ "scale": "linear"
40
+ },
41
+ {
42
+ "objectName": "SW",
43
+ "colorTable": "Physics",
44
+ "context": "wells-layer",
45
+ "scale": "linear"
46
+ },
47
+ {
48
+ "objectName": "ZONELOG",
49
+ "colorTable": "Stratigraphy",
50
+ "context": "wells-layer"
51
+ },
52
+ {
53
+ "objectName": "RDE_ORIG",
54
+ "colorTable": "Stratigraphy",
55
+ "context": "wells-layer"
56
+ },
57
+ {
58
+ "objectName": "FACIES",
59
+ "colorTable": "Facies",
60
+ "context": "wells-layer"
61
+ },
62
+ {
63
+ "objectName": "ZONE_MAIN",
64
+ "colorTable": "Stratigraphy",
65
+ "context": "wells-layer"
66
+ },
67
+ {
68
+ "objectName": "RDE",
69
+ "colorTable": "Accent",
70
+ "context": "wells-layer"
71
+ },
72
+ {
73
+ "objectName": "FaultDistance_HUM",
74
+ "colorTable": "Gas-Oil-Water",
75
+ "context": "wells-layer"
76
+ },
77
+ {
78
+ "objectName": "FAULT_PROXIMITY_FLAG",
79
+ "colorTable": "Gas-Water",
80
+ "context": "wells-layer"
81
+ },
82
+ {
83
+ "objectName": "FACIES_NoCalcite",
84
+ "colorTable": "Facies",
85
+ "context": "wells-layer"
86
+ }
87
+ ]
88
+ }
89
+ ]
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
- import ContinuousLegend from './component/Legend/ContinuousLegend';
2
- import DiscreteColorLegend from './component/Legend/DiscreteLegend';
3
- export { ContinuousLegend, DiscreteColorLegend };
1
+ export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
3
+ export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
4
+ export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
+ export { propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
6
+ export declare const colorTables: any;
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- import ContinuousLegend from './component/Legend/ContinuousLegend';
2
- import DiscreteColorLegend from './component/Legend/DiscreteLegend';
3
- export { ContinuousLegend, DiscreteColorLegend };
1
+ export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
3
+ export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
4
+ export const colorTables = require('./component/color-tables');
4
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AACnE,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AAEpE,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACtB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AAGpF,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const MDTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"MD.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/MD.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MA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AM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const NTGTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"NTG.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,UAAU,GAAG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AQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const PermTotTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"PermTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"PermTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const PermeabilityTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IACxB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IACxB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const PoroTotTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PoroTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM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GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const PorosityTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const SWTemplate: any;
7
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
7
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1 +1 @@
1
- {"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/SW.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/SW.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const FaciesTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"Facies.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,QAAQ,CAAC;AACtB,MAAM,cAAc,GAAG,gBAAgB,CAAC;AACxC,MAAM,QAAQ,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AAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,QAAQ,CAAC;AACtB,MAAM,cAAc,GAAG,gBAAgB,CAAC;AACxC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IAClB,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const FaciesNoCalciteTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"FaciesNoCalcite.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EA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,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const FaultDistanceHumTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"FaultDistanceHum.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,mBAAmB,CAAC;AACjC,MAAM,cAAc,GAAG,2BAA2B,CAAC;AACnD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1D,wBAAwB,CAAC,IAAI,GAAG;IAC5B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"FaultDistanceHum.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,mBAAmB,CAAC;AACjC,MAAM,cAAc,GAAG,2BAA2B,CAAC;AACnD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1D,wBAAwB,CAAC,IAAI,GAAG;IAC5B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const FaultProximityFlagTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"FaultProximityFlag.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,sBAAsB,CAAC;AACpC,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5D,0BAA0B,CAAC,IAAI,GAAG;IAC9B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"FaultProximityFlag.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,sBAAsB,CAAC;AACpC,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5D,0BAA0B,CAAC,IAAI,GAAG;IAC9B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const RDETemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"RDE.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACnB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"RDE.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACnB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const RDEOrigTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"RDE_Orig.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtB,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtB,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1B,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7B,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7B,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAClB,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACtB,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}
5
5
  export default _default;
6
6
  export const ZoneMainTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"ZoneMain.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACnB,CAAC;AACF,MAAM,IAAI,GAAG,WAAW,CAAC;AACzB,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAC3C,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC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;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export const ZonelogTemplate: any;
7
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
7
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
  export default {
@@ -1 +1 @@
1
- {"version":3,"file":"Zonelog.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,CAAC,EAAE,EAAE,CA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6 +1,6 @@
1
1
  {
2
2
  "name": "@emerson-eps/color-tables",
3
- "version": "0.1.10",
3
+ "version": "0.1.15",
4
4
  "description": "Standard library of color tables for geological domain",
5
5
  "release": {
6
6
  "branches": [
@@ -20,7 +20,7 @@ declare type ItemColor = {
20
20
  offset: number;
21
21
  }
22
22
 
23
- const ContinuousLegend: React.FC<legendProps> = ({
23
+ export const ContinuousLegend: React.FC<legendProps> = ({
24
24
  min,
25
25
  max,
26
26
  dataObjectName,
@@ -127,5 +127,3 @@ const ContinuousLegend: React.FC<legendProps> = ({
127
127
  ContinuousLegend.defaultProps = {
128
128
  position: [5, 10],
129
129
  };
130
-
131
- export default ContinuousLegend;
@@ -18,7 +18,7 @@ declare type colorLegendProps = {
18
18
  horizontal: boolean;
19
19
  }
20
20
 
21
- const DiscreteColorLegend: React.FC<colorLegendProps> = ({
21
+ export const DiscreteColorLegend: React.FC<colorLegendProps> = ({
22
22
  discreteData,
23
23
  name,
24
24
  dataObjectName,
@@ -122,5 +122,3 @@ export function colorTableData(
122
122
  DiscreteColorLegend.defaultProps = {
123
123
  position: [5, 10],
124
124
  };
125
-
126
- export default DiscreteColorLegend;
package/src/index.ts CHANGED
@@ -1,7 +1,6 @@
1
- import ContinuousLegend from './component/Legend/ContinuousLegend';
2
- import DiscreteColorLegend from './component/Legend/DiscreteLegend';
3
-
4
- export {
5
- ContinuousLegend,
6
- DiscreteColorLegend
7
- };
1
+ export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
+ export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
3
+ export { colorsArray, rgbValues, RGBToHex} from './component/Utils/continousLegend';
4
+ export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
+ export { propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
6
+ export const colorTables = require('./component/color-tables');
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
2
+ import {ContinuousLegend} from "../../../component/Legend/ContinuousLegend";
3
3
  export default {
4
4
  component: ContinuousLegend,
5
5
  title: "Legends/ContinousLegend",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
2
+ import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
3
3
  import template from "../../../component/welllayer_template.json";
4
4
  import colorTables from "../../../component/color-tables.json";
5
5
 
package/tsconfig.json CHANGED
@@ -1,10 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- //"baseUrl": "src",
4
3
  "outDir": "dist",
5
4
  "module": "es6",
6
5
  "target": "es6",
7
- //"lib": ["es6", "dom", "es2016", "es2017"],
8
6
  "sourceMap": true,
9
7
  "allowJs": true,
10
8
  "jsx": "react",
@@ -17,8 +15,9 @@
17
15
  "strictNullChecks": true,
18
16
  "suppressImplicitAnyIndexErrors": true,
19
17
  "noUnusedLocals": true,
20
- "noUnusedParameters": true
18
+ "noUnusedParameters": true,
19
+ "resolveJsonModule": true
21
20
  },
22
- "include": ["src",],
21
+ "include": ["src"],
23
22
  "exclude": ["node_modules"]
24
23
  }