@emerson-eps/color-tables 0.2.3 → 0.2.6
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/.vscode/settings.json +3 -0
- package/dist/component/ColorSelector/ColorSelectorAccordion.d.ts +2 -0
- package/dist/component/ColorSelector/{ColorTableSelectorWrapper.js → ColorSelectorAccordion.js} +12 -7
- package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -0
- package/dist/component/ColorSelector/ColorSelectorComponent.d.ts +14 -5
- package/dist/component/ColorSelector/ColorSelectorComponent.js +260 -51
- package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorWrapper.d.ts +8 -0
- package/dist/component/ColorSelector/ColorSelectorWrapper.js +65 -0
- package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -0
- package/dist/component/Legend/ColorLegend.d.ts +16 -0
- package/dist/component/Legend/ColorLegend.js +35 -0
- package/dist/component/Legend/ColorLegend.js.map +1 -0
- package/dist/component/Legend/ContinuousLegend.d.ts +1 -0
- package/dist/component/Legend/ContinuousLegend.js +190 -83
- package/dist/component/Legend/ContinuousLegend.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.d.ts +2 -0
- package/dist/component/Legend/DiscreteLegend.js +173 -71
- package/dist/component/Legend/DiscreteLegend.js.map +1 -1
- package/dist/component/Utils/continousLegend.js +14 -12
- package/dist/component/Utils/continousLegend.js.map +1 -1
- package/dist/component/Utils/d3ColorScale.js +1 -1
- package/dist/component/Utils/d3ColorScale.js.map +1 -1
- package/dist/component/Utils/discreteLegend.d.ts +1 -1
- package/dist/component/Utils/discreteLegend.js +117 -41
- package/dist/component/Utils/discreteLegend.js.map +1 -1
- package/dist/component/color-tables.json +4 -4
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.d.ts +2 -2
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js +5 -5
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js +27 -16
- package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +35 -24
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +25 -14
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +1 -1
- package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js +52 -0
- package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js.map +1 -0
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js +38 -0
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js.map +1 -0
- package/dist/stories/ColorLegends/SingleComponent/Single.stories.d.ts +7 -0
- package/dist/stories/ColorLegends/SingleComponent/Single.stories.js +58 -0
- package/dist/stories/ColorLegends/SingleComponent/Single.stories.js.map +1 -0
- package/package.json +2 -1
- package/src/component/ColorSelector/{ColorTableSelectorWrapper.tsx → ColorSelectorAccordion.tsx} +11 -6
- package/src/component/ColorSelector/ColorSelectorComponent.tsx +315 -95
- package/src/component/ColorSelector/ColorSelectorWrapper.tsx +118 -0
- package/src/component/Legend/ColorLegend.tsx +91 -0
- package/src/component/Legend/ContinuousLegend.tsx +159 -80
- package/src/component/Legend/DiscreteLegend.tsx +168 -63
- package/src/component/Utils/continousLegend.ts +1 -1
- package/src/component/Utils/discreteLegend.ts +128 -53
- package/src/component/color-tables.json +4 -4
- package/src/stories/ColorLegends/ColorSelector/Selector.stories.jsx +3 -3
- package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +39 -39
- package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +1 -1
- package/src/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.jsx +44 -0
- package/src/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.jsx +30 -0
- package/src/stories/ColorLegends/SingleComponent/Single.stories.jsx +51 -0
- package/tsconfig.json +1 -1
- package/dist/component/ColorSelector/ColorTableSelectorWrapper.d.ts +0 -2
- package/dist/component/ColorSelector/ColorTableSelectorWrapper.js.map +0 -1
- package/dist/component/ColorSelector/legendComponent.d.ts +0 -14
- package/dist/component/ColorSelector/legendComponent.js +0 -228
- package/dist/component/ColorSelector/legendComponent.js.map +0 -1
- package/src/component/ColorSelector/legendComponent.tsx +0 -289
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
14
|
export default {
|
|
@@ -5,23 +16,23 @@ export default {
|
|
|
5
16
|
title: "Legends/ContinousLegend",
|
|
6
17
|
};
|
|
7
18
|
import colorTables from "../../../component/color-tables.json";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return React.createElement(ContinuousLegend,
|
|
19
|
+
var min = -999;
|
|
20
|
+
var max = 14023;
|
|
21
|
+
var dataObjectName = "Wells / PERM";
|
|
22
|
+
var position = [16, 10];
|
|
23
|
+
var horizontal = true;
|
|
24
|
+
var colorName = "Permeability";
|
|
25
|
+
var Template = function (args) {
|
|
26
|
+
return React.createElement(ContinuousLegend, __assign({}, args));
|
|
16
27
|
};
|
|
17
|
-
export
|
|
28
|
+
export var PermeabilityTemplate = Template.bind({});
|
|
18
29
|
PermeabilityTemplate.args = {
|
|
19
|
-
min,
|
|
20
|
-
max,
|
|
21
|
-
dataObjectName,
|
|
22
|
-
position,
|
|
23
|
-
colorName,
|
|
24
|
-
colorTables,
|
|
25
|
-
horizontal,
|
|
30
|
+
min: min,
|
|
31
|
+
max: max,
|
|
32
|
+
dataObjectName: dataObjectName,
|
|
33
|
+
position: position,
|
|
34
|
+
colorName: colorName,
|
|
35
|
+
colorTables: colorTables,
|
|
36
|
+
horizontal: horizontal,
|
|
26
37
|
};
|
|
27
38
|
//# sourceMappingURL=Permeability.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,IAAM,GAAG,GAAG,KAAK,CAAC;AAClB,IAAM,cAAc,GAAG,cAAc,CAAC;AACtC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IACxB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
14
|
export default {
|
|
@@ -5,23 +16,23 @@ export default {
|
|
|
5
16
|
title: "Legends/ContinousLegend",
|
|
6
17
|
};
|
|
7
18
|
import colorTables from "../../../component/color-tables.json";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return React.createElement(ContinuousLegend,
|
|
19
|
+
var min = 0;
|
|
20
|
+
var max = 0.35;
|
|
21
|
+
var dataObjectName = "Wells / POROTOT";
|
|
22
|
+
var position = [16, 10];
|
|
23
|
+
var horizontal = true;
|
|
24
|
+
var colorName = "Porosity";
|
|
25
|
+
var Template = function (args) {
|
|
26
|
+
return React.createElement(ContinuousLegend, __assign({}, args));
|
|
16
27
|
};
|
|
17
|
-
export
|
|
28
|
+
export var PoroTotTemplate = Template.bind({});
|
|
18
29
|
PoroTotTemplate.args = {
|
|
19
|
-
min,
|
|
20
|
-
max,
|
|
21
|
-
dataObjectName,
|
|
22
|
-
position,
|
|
23
|
-
colorName,
|
|
24
|
-
colorTables,
|
|
25
|
-
horizontal,
|
|
30
|
+
min: min,
|
|
31
|
+
max: max,
|
|
32
|
+
dataObjectName: dataObjectName,
|
|
33
|
+
position: position,
|
|
34
|
+
colorName: colorName,
|
|
35
|
+
colorTables: colorTables,
|
|
36
|
+
horizontal: horizontal,
|
|
26
37
|
};
|
|
27
38
|
//# sourceMappingURL=PoroTot.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/PoroTot.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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/PoroTot.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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,GAAG,GAAG,IAAI,CAAC;AACjB,IAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,UAAU,CAAC;AAE7B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
14
|
export default {
|
|
@@ -5,23 +16,23 @@ export default {
|
|
|
5
16
|
title: "Legends/ContinousLegend",
|
|
6
17
|
};
|
|
7
18
|
import colorTables from "../../../component/color-tables.json";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return React.createElement(ContinuousLegend,
|
|
19
|
+
var min = 0;
|
|
20
|
+
var max = 0.35;
|
|
21
|
+
var dataObjectName = "Wells / PORO";
|
|
22
|
+
var position = [16, 10];
|
|
23
|
+
var horizontal = true;
|
|
24
|
+
var colorName = "Porosity";
|
|
25
|
+
var Template = function (args) {
|
|
26
|
+
return React.createElement(ContinuousLegend, __assign({}, args));
|
|
16
27
|
};
|
|
17
|
-
export
|
|
28
|
+
export var PorosityTemplate = Template.bind({});
|
|
18
29
|
PorosityTemplate.args = {
|
|
19
|
-
min,
|
|
20
|
-
max,
|
|
21
|
-
dataObjectName,
|
|
22
|
-
position,
|
|
23
|
-
colorName,
|
|
24
|
-
colorTables,
|
|
25
|
-
horizontal,
|
|
30
|
+
min: min,
|
|
31
|
+
max: max,
|
|
32
|
+
dataObjectName: dataObjectName,
|
|
33
|
+
position: position,
|
|
34
|
+
colorName: colorName,
|
|
35
|
+
colorTables: colorTables,
|
|
36
|
+
horizontal: horizontal,
|
|
26
37
|
};
|
|
27
38
|
//# sourceMappingURL=Porosity.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,GAAG,GAAG,IAAI,CAAC;AACjB,IAAM,cAAc,GAAG,cAAc,CAAC;AACtC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,UAAU,CAAC;AAE7B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
14
|
export default {
|
|
@@ -5,23 +16,23 @@ export default {
|
|
|
5
16
|
title: "Legends/ContinousLegend",
|
|
6
17
|
};
|
|
7
18
|
import colorTables from "../../../component/color-tables.json";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return React.createElement(ContinuousLegend,
|
|
19
|
+
var min = 0;
|
|
20
|
+
var max = 1;
|
|
21
|
+
var dataObjectName = "Wells / SW";
|
|
22
|
+
var position = [16, 10];
|
|
23
|
+
var horizontal = true;
|
|
24
|
+
var colorName = "Rainbow";
|
|
25
|
+
var Template = function (args) {
|
|
26
|
+
return React.createElement(ContinuousLegend, __assign({}, args));
|
|
16
27
|
};
|
|
17
|
-
export
|
|
28
|
+
export var SWTemplate = Template.bind({});
|
|
18
29
|
SWTemplate.args = {
|
|
19
|
-
min,
|
|
20
|
-
max,
|
|
21
|
-
dataObjectName,
|
|
22
|
-
position,
|
|
23
|
-
colorName,
|
|
24
|
-
colorTables,
|
|
25
|
-
horizontal,
|
|
30
|
+
min: min,
|
|
31
|
+
max: max,
|
|
32
|
+
dataObjectName: dataObjectName,
|
|
33
|
+
position: position,
|
|
34
|
+
colorName: colorName,
|
|
35
|
+
colorTables: colorTables,
|
|
36
|
+
horizontal: horizontal,
|
|
26
37
|
};
|
|
27
38
|
//# sourceMappingURL=SW.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,cAAc,GAAG,YAAY,CAAC;AACpC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,SAAS,CAAC;AAE5B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
14
|
import colorTables from "../../../component/color-tables.json";
|
|
@@ -5,32 +16,32 @@ export default {
|
|
|
5
16
|
component: DiscreteColorLegend,
|
|
6
17
|
title: "Legends/DiscreteColorLegend",
|
|
7
18
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
var discreteData = {
|
|
20
|
+
OS: [[], 0],
|
|
21
|
+
LSF: [[], 1],
|
|
22
|
+
USF: [[], 2],
|
|
23
|
+
MB: [[], 3],
|
|
24
|
+
TB: [[], 4],
|
|
25
|
+
TC: [[], 5],
|
|
26
|
+
TFS: [[], 6],
|
|
27
|
+
TFM: [[], 7],
|
|
28
|
+
MSH: [[], 8],
|
|
29
|
+
CAL: [[], 9],
|
|
19
30
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return React.createElement(DiscreteColorLegend,
|
|
31
|
+
var dataObjectName = "Wells / FACIES";
|
|
32
|
+
var position = [16, 10];
|
|
33
|
+
var horizontal = true;
|
|
34
|
+
var colorName = "Facies";
|
|
35
|
+
var Template = function (args) {
|
|
36
|
+
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
26
37
|
};
|
|
27
|
-
export
|
|
38
|
+
export var FaciesTemplate = Template.bind({});
|
|
28
39
|
FaciesTemplate.args = {
|
|
29
|
-
discreteData,
|
|
30
|
-
dataObjectName,
|
|
31
|
-
position,
|
|
32
|
-
colorName,
|
|
33
|
-
colorTables,
|
|
34
|
-
horizontal,
|
|
40
|
+
discreteData: discreteData,
|
|
41
|
+
dataObjectName: dataObjectName,
|
|
42
|
+
position: position,
|
|
43
|
+
colorName: colorName,
|
|
44
|
+
colorTables: colorTables,
|
|
45
|
+
horizontal: horizontal,
|
|
35
46
|
};
|
|
36
47
|
//# sourceMappingURL=Facies.stories.js.map
|
|
@@ -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,
|
|
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,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACb,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACrC,CAAC;AAEF,IAAM,YAAY,GAAG;IACnB,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACb,CAAC;AACF,IAAM,cAAc,GAAG,gBAAgB,CAAC;AACxC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,QAAQ,CAAC;AAE3B,IAAM,QAAQ,GAAG,UAAA,IAAI;IACnB,OAAO,oBAAC,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,GAAG;IACpB,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
14
|
import colorTables from "../../../component/color-tables.json";
|
|
@@ -5,7 +16,7 @@ export default {
|
|
|
5
16
|
component: DiscreteColorLegend,
|
|
6
17
|
title: "Legends/DiscreteColorLegend",
|
|
7
18
|
};
|
|
8
|
-
|
|
19
|
+
var discreteData = {
|
|
9
20
|
"F_OFFSHORE": [[], 0],
|
|
10
21
|
"F_LOWER_SHOREFACE": [[], 1],
|
|
11
22
|
"F_UPPER_SHOREFACE": [[], 2],
|
|
@@ -17,20 +28,20 @@ const discreteData = {
|
|
|
17
28
|
"F_MARSH": [[], 8],
|
|
18
29
|
"F_CALCITE": [[], 9]
|
|
19
30
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return React.createElement(DiscreteColorLegend,
|
|
31
|
+
var dataObjectName = "Wells / FACIES_NoCalcite";
|
|
32
|
+
var position = [16, 10];
|
|
33
|
+
var horizontal = true;
|
|
34
|
+
var colorName = "Facies";
|
|
35
|
+
var Template = function (args) {
|
|
36
|
+
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
26
37
|
};
|
|
27
|
-
export
|
|
38
|
+
export var FaciesNoCalciteTemplate = Template.bind({});
|
|
28
39
|
FaciesNoCalciteTemplate.args = {
|
|
29
|
-
discreteData,
|
|
30
|
-
dataObjectName,
|
|
31
|
-
position,
|
|
32
|
-
colorName,
|
|
33
|
-
colorTables,
|
|
34
|
-
horizontal,
|
|
40
|
+
discreteData: discreteData,
|
|
41
|
+
dataObjectName: dataObjectName,
|
|
42
|
+
position: position,
|
|
43
|
+
colorName: colorName,
|
|
44
|
+
colorTables: colorTables,
|
|
45
|
+
horizontal: horizontal,
|
|
35
46
|
};
|
|
36
47
|
//# sourceMappingURL=FaciesNoCalcite.stories.js.map
|
|
@@ -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,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,
|
|
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,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,IAAM,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;CACvB,CAAC;AACF,IAAM,cAAc,GAAG,0BAA0B,CAAC;AAClD,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,QAAQ,CAAC;AAE3B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzD,uBAAuB,CAAC,IAAI,GAAG;IAC3B,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
14
|
import colorTables from "../../../component/color-tables.json";
|
|
@@ -5,24 +16,24 @@ export default {
|
|
|
5
16
|
component: DiscreteColorLegend,
|
|
6
17
|
title: "Legends/DiscreteColorLegend",
|
|
7
18
|
};
|
|
8
|
-
|
|
19
|
+
var discreteData = {
|
|
9
20
|
"no": [[], 0],
|
|
10
21
|
"yes": [[], 1]
|
|
11
22
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return React.createElement(DiscreteColorLegend,
|
|
23
|
+
var dataObjectName = "Wells / FaultDistance_HUM";
|
|
24
|
+
var position = [16, 10];
|
|
25
|
+
var horizontal = true;
|
|
26
|
+
var colorName = "GasOilWater";
|
|
27
|
+
var Template = function (args) {
|
|
28
|
+
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
18
29
|
};
|
|
19
|
-
export
|
|
30
|
+
export var FaultDistanceHumTemplate = Template.bind({});
|
|
20
31
|
FaultDistanceHumTemplate.args = {
|
|
21
|
-
discreteData,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
32
|
+
discreteData: discreteData,
|
|
33
|
+
dataObjectName: dataObjectName,
|
|
34
|
+
position: position,
|
|
35
|
+
colorName: colorName,
|
|
36
|
+
colorTables: colorTables,
|
|
37
|
+
horizontal: horizontal,
|
|
27
38
|
};
|
|
28
39
|
//# sourceMappingURL=FaultDistanceHum.stories.js.map
|
|
@@ -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,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,
|
|
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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,IAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,IAAM,cAAc,GAAG,2BAA2B,CAAC;AACnD,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1D,wBAAwB,CAAC,IAAI,GAAG;IAC5B,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
14
|
import colorTables from "../../../component/color-tables.json";
|
|
@@ -5,24 +16,24 @@ export default {
|
|
|
5
16
|
component: DiscreteColorLegend,
|
|
6
17
|
title: "Legends/DiscreteColorLegend",
|
|
7
18
|
};
|
|
8
|
-
|
|
19
|
+
var discreteData = {
|
|
9
20
|
"no": [[], 0],
|
|
10
21
|
"yes": [[], 1]
|
|
11
22
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return React.createElement(DiscreteColorLegend,
|
|
23
|
+
var dataObjectName = "Wells / FAULT_PROXIMITY_FLAG";
|
|
24
|
+
var position = [16, 10];
|
|
25
|
+
var horizontal = true;
|
|
26
|
+
var colorName = "Time/Depth";
|
|
27
|
+
var Template = function (args) {
|
|
28
|
+
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
18
29
|
};
|
|
19
|
-
export
|
|
30
|
+
export var FaultProximityFlagTemplate = Template.bind({});
|
|
20
31
|
FaultProximityFlagTemplate.args = {
|
|
21
|
-
discreteData,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
32
|
+
discreteData: discreteData,
|
|
33
|
+
dataObjectName: dataObjectName,
|
|
34
|
+
position: position,
|
|
35
|
+
colorName: colorName,
|
|
36
|
+
colorTables: colorTables,
|
|
37
|
+
horizontal: horizontal,
|
|
27
38
|
};
|
|
28
39
|
//# sourceMappingURL=FaultProximityFlag.stories.js.map
|
|
@@ -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,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,
|
|
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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,IAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,IAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5D,0BAA0B,CAAC,IAAI,GAAG;IAC9B,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import React from "react";
|
|
2
13
|
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
14
|
import colorTables from "../../../component/color-tables.json";
|
|
@@ -5,27 +16,27 @@ export default {
|
|
|
5
16
|
component: DiscreteColorLegend,
|
|
6
17
|
title: "Legends/DiscreteColorLegend",
|
|
7
18
|
};
|
|
8
|
-
|
|
19
|
+
var discreteData = {
|
|
9
20
|
"OFFSHORE": [[], 1],
|
|
10
21
|
"LSF": [[], 2],
|
|
11
22
|
"USF": [[], 3],
|
|
12
23
|
"TIDAL": [[], 4],
|
|
13
24
|
"ONSHORE": [[], 5]
|
|
14
25
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return React.createElement(DiscreteColorLegend,
|
|
26
|
+
var dataObjectName = "Wells / RDE";
|
|
27
|
+
var position = [16, 10];
|
|
28
|
+
var horizontal = true;
|
|
29
|
+
var colorName = "Accent";
|
|
30
|
+
var Template = function (args) {
|
|
31
|
+
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
21
32
|
};
|
|
22
|
-
export
|
|
33
|
+
export var RDETemplate = Template.bind({});
|
|
23
34
|
RDETemplate.args = {
|
|
24
|
-
discreteData,
|
|
25
|
-
dataObjectName,
|
|
26
|
-
position,
|
|
27
|
-
colorName,
|
|
28
|
-
colorTables,
|
|
29
|
-
horizontal,
|
|
35
|
+
discreteData: discreteData,
|
|
36
|
+
dataObjectName: dataObjectName,
|
|
37
|
+
position: position,
|
|
38
|
+
colorName: colorName,
|
|
39
|
+
colorTables: colorTables,
|
|
40
|
+
horizontal: horizontal,
|
|
30
41
|
};
|
|
31
42
|
//# sourceMappingURL=RDE.stories.js.map
|
|
@@ -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,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,
|
|
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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,IAAM,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,IAAM,cAAc,GAAG,aAAa,CAAC;AACrC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,QAAQ,CAAC;AAE3B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|