@emerson-eps/color-tables 0.2.13 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/ColorSelector/ColorSelectorAccordion.js +2 -2
- package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorComponent.d.ts +1 -2
- package/dist/component/ColorSelector/ColorSelectorComponent.js +3 -3
- package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorWrapper.d.ts +6 -1
- package/dist/component/ColorSelector/ColorSelectorWrapper.js +7 -8
- package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
- package/dist/component/Legend/ColorLegend.js +2 -2
- package/dist/component/Legend/ColorLegend.js.map +1 -1
- package/dist/component/Legend/ContinuousLegend.d.ts +1 -1
- package/dist/component/Legend/ContinuousLegend.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.d.ts +1 -1
- package/dist/component/Legend/DiscreteLegend.js +1 -1
- package/dist/component/Legend/DiscreteLegend.js.map +1 -1
- package/dist/component/Utils/continousLegend.d.ts +1 -1
- package/dist/component/{Utils/ColorTableTypes.d.ts → colorTableTypes.d.ts} +0 -0
- package/dist/component/colorTableTypes.js +2 -0
- package/dist/component/colorTableTypes.js.map +1 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
- package/.storybook/main.js +0 -11
- package/.storybook/preview.js +0 -9
- package/.vscode/settings.json +0 -3
- package/dist/component/Utils/ColorTableTypes.js +0 -2
- package/dist/component/Utils/ColorTableTypes.js.map +0 -1
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js +0 -11
- package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/MD.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js.map +0 -1
- package/dist/stories/ColorLegends/ContinousLegends/SW.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js +0 -38
- package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +0 -47
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +0 -47
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +0 -39
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +0 -39
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +0 -42
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +0 -53
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +0 -42
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +0 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +0 -52
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +0 -1
- package/dist/stories/ColorLegends/LegendWithSelector/LegendSelector.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/LegendWithSelector/LegendSelector.stories.js +0 -58
- package/dist/stories/ColorLegends/LegendWithSelector/LegendSelector.stories.js.map +0 -1
- package/src/component/ColorSelector/ColorSelectorAccordion.tsx +0 -54
- package/src/component/ColorSelector/ColorSelectorComponent.tsx +0 -312
- package/src/component/ColorSelector/ColorSelectorWrapper.tsx +0 -119
- package/src/component/Legend/ColorLegend.tsx +0 -106
- package/src/component/Legend/ContinuousLegend.tsx +0 -233
- package/src/component/Legend/DiscreteLegend.tsx +0 -206
- package/src/component/Utils/ColorTableTypes.ts +0 -6
- package/src/component/Utils/continousLegend.ts +0 -73
- package/src/component/Utils/d3ColorScale.ts +0 -84
- package/src/component/Utils/discreteLegend.ts +0 -81
- package/src/component/color-tables.json +0 -203
- package/src/custom.d.ts +0 -1
- package/src/index.ts +0 -26
- package/src/stories/ColorLegends/ColorSelector/Selector.stories.jsx +0 -12
- package/src/stories/ColorLegends/ContinousLegends/MD.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/NTG.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/PermTot.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/Permeability.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/PoroTot.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/Porosity.stories.jsx +0 -29
- package/src/stories/ColorLegends/ContinousLegends/SW.stories.jsx +0 -29
- package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +0 -39
- package/src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx +0 -39
- package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +0 -31
- package/src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx +0 -31
- package/src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx +0 -34
- package/src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx +0 -45
- package/src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx +0 -34
- package/src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx +0 -46
- package/src/stories/ColorLegends/LegendWithSelector/LegendSelector.stories.jsx +0 -51
- package/tsconfig.json +0 -23
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
14
|
-
export default {
|
|
15
|
-
component: ContinuousLegend,
|
|
16
|
-
title: "Legends/ContinousLegend",
|
|
17
|
-
};
|
|
18
|
-
import colorTables from "../../../component/color-tables.json";
|
|
19
|
-
var min = -999;
|
|
20
|
-
var max = 14023;
|
|
21
|
-
var dataObjectName = "Wells / PERMTOT";
|
|
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));
|
|
27
|
-
};
|
|
28
|
-
export var PermTotTemplate = Template.bind({});
|
|
29
|
-
PermTotTemplate.args = {
|
|
30
|
-
min: min,
|
|
31
|
-
max: max,
|
|
32
|
-
dataObjectName: dataObjectName,
|
|
33
|
-
position: position,
|
|
34
|
-
colorName: colorName,
|
|
35
|
-
colorTables: colorTables,
|
|
36
|
-
horizontal: horizontal,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=PermTot.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PermTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/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,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,IAAM,GAAG,GAAG,KAAK,CAAC;AAClB,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,38 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
14
|
-
export default {
|
|
15
|
-
component: ContinuousLegend,
|
|
16
|
-
title: "Legends/ContinousLegend",
|
|
17
|
-
};
|
|
18
|
-
import colorTables from "../../../component/color-tables.json";
|
|
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));
|
|
27
|
-
};
|
|
28
|
-
export var PermeabilityTemplate = Template.bind({});
|
|
29
|
-
PermeabilityTemplate.args = {
|
|
30
|
-
min: min,
|
|
31
|
-
max: max,
|
|
32
|
-
dataObjectName: dataObjectName,
|
|
33
|
-
position: position,
|
|
34
|
-
colorName: colorName,
|
|
35
|
-
colorTables: colorTables,
|
|
36
|
-
horizontal: horizontal,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=Permeability.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
14
|
-
export default {
|
|
15
|
-
component: ContinuousLegend,
|
|
16
|
-
title: "Legends/ContinousLegend",
|
|
17
|
-
};
|
|
18
|
-
import colorTables from "../../../component/color-tables.json";
|
|
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));
|
|
27
|
-
};
|
|
28
|
-
export var PoroTotTemplate = Template.bind({});
|
|
29
|
-
PoroTotTemplate.args = {
|
|
30
|
-
min: min,
|
|
31
|
-
max: max,
|
|
32
|
-
dataObjectName: dataObjectName,
|
|
33
|
-
position: position,
|
|
34
|
-
colorName: colorName,
|
|
35
|
-
colorTables: colorTables,
|
|
36
|
-
horizontal: horizontal,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=PoroTot.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
14
|
-
export default {
|
|
15
|
-
component: ContinuousLegend,
|
|
16
|
-
title: "Legends/ContinousLegend",
|
|
17
|
-
};
|
|
18
|
-
import colorTables from "../../../component/color-tables.json";
|
|
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));
|
|
27
|
-
};
|
|
28
|
-
export var PorosityTemplate = Template.bind({});
|
|
29
|
-
PorosityTemplate.args = {
|
|
30
|
-
min: min,
|
|
31
|
-
max: max,
|
|
32
|
-
dataObjectName: dataObjectName,
|
|
33
|
-
position: position,
|
|
34
|
-
colorName: colorName,
|
|
35
|
-
colorTables: colorTables,
|
|
36
|
-
horizontal: horizontal,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=Porosity.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
14
|
-
export default {
|
|
15
|
-
component: ContinuousLegend,
|
|
16
|
-
title: "Legends/ContinousLegend",
|
|
17
|
-
};
|
|
18
|
-
import colorTables from "../../../component/color-tables.json";
|
|
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));
|
|
27
|
-
};
|
|
28
|
-
export var SWTemplate = Template.bind({});
|
|
29
|
-
SWTemplate.args = {
|
|
30
|
-
min: min,
|
|
31
|
-
max: max,
|
|
32
|
-
dataObjectName: dataObjectName,
|
|
33
|
-
position: position,
|
|
34
|
-
colorName: colorName,
|
|
35
|
-
colorTables: colorTables,
|
|
36
|
-
horizontal: horizontal,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=SW.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,47 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
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],
|
|
30
|
-
};
|
|
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));
|
|
37
|
-
};
|
|
38
|
-
export var FaciesTemplate = Template.bind({});
|
|
39
|
-
FaciesTemplate.args = {
|
|
40
|
-
discreteData: discreteData,
|
|
41
|
-
dataObjectName: dataObjectName,
|
|
42
|
-
position: position,
|
|
43
|
-
colorName: colorName,
|
|
44
|
-
colorTables: colorTables,
|
|
45
|
-
horizontal: horizontal,
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=Facies.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,47 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
18
|
-
};
|
|
19
|
-
var discreteData = {
|
|
20
|
-
"F_OFFSHORE": [[], 0],
|
|
21
|
-
"F_LOWER_SHOREFACE": [[], 1],
|
|
22
|
-
"F_UPPER_SHOREFACE": [[], 2],
|
|
23
|
-
"F_MOUTH_BAR": [[], 3],
|
|
24
|
-
"F_TIDAL_BAR": [[], 4],
|
|
25
|
-
"F_TIDAL_CHANNEL": [[], 5],
|
|
26
|
-
"F_TIDAL_FLAT_SANDY": [[], 6],
|
|
27
|
-
"F_TIDAL_FLAT_MUDDY": [[], 7],
|
|
28
|
-
"F_MARSH": [[], 8],
|
|
29
|
-
"F_CALCITE": [[], 9]
|
|
30
|
-
};
|
|
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));
|
|
37
|
-
};
|
|
38
|
-
export var FaciesNoCalciteTemplate = Template.bind({});
|
|
39
|
-
FaciesNoCalciteTemplate.args = {
|
|
40
|
-
discreteData: discreteData,
|
|
41
|
-
dataObjectName: dataObjectName,
|
|
42
|
-
position: position,
|
|
43
|
-
colorName: colorName,
|
|
44
|
-
colorTables: colorTables,
|
|
45
|
-
horizontal: horizontal,
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=FaciesNoCalcite.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,39 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
18
|
-
};
|
|
19
|
-
var discreteData = {
|
|
20
|
-
"no": [[], 0],
|
|
21
|
-
"yes": [[], 1]
|
|
22
|
-
};
|
|
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));
|
|
29
|
-
};
|
|
30
|
-
export var FaultDistanceHumTemplate = Template.bind({});
|
|
31
|
-
FaultDistanceHumTemplate.args = {
|
|
32
|
-
discreteData: discreteData,
|
|
33
|
-
dataObjectName: dataObjectName,
|
|
34
|
-
position: position,
|
|
35
|
-
colorName: colorName,
|
|
36
|
-
colorTables: colorTables,
|
|
37
|
-
horizontal: horizontal,
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=FaultDistanceHum.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,39 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
18
|
-
};
|
|
19
|
-
var discreteData = {
|
|
20
|
-
"no": [[], 0],
|
|
21
|
-
"yes": [[], 1]
|
|
22
|
-
};
|
|
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));
|
|
29
|
-
};
|
|
30
|
-
export var FaultProximityFlagTemplate = Template.bind({});
|
|
31
|
-
FaultProximityFlagTemplate.args = {
|
|
32
|
-
discreteData: discreteData,
|
|
33
|
-
dataObjectName: dataObjectName,
|
|
34
|
-
position: position,
|
|
35
|
-
colorName: colorName,
|
|
36
|
-
colorTables: colorTables,
|
|
37
|
-
horizontal: horizontal,
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=FaultProximityFlag.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,42 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
18
|
-
};
|
|
19
|
-
var discreteData = {
|
|
20
|
-
"OFFSHORE": [[], 1],
|
|
21
|
-
"LSF": [[], 2],
|
|
22
|
-
"USF": [[], 3],
|
|
23
|
-
"TIDAL": [[], 4],
|
|
24
|
-
"ONSHORE": [[], 5]
|
|
25
|
-
};
|
|
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));
|
|
32
|
-
};
|
|
33
|
-
export var RDETemplate = Template.bind({});
|
|
34
|
-
RDETemplate.args = {
|
|
35
|
-
discreteData: discreteData,
|
|
36
|
-
dataObjectName: dataObjectName,
|
|
37
|
-
position: position,
|
|
38
|
-
colorName: colorName,
|
|
39
|
-
colorTables: colorTables,
|
|
40
|
-
horizontal: horizontal,
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=RDE.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
14
|
-
import colorTables from "../../../component/color-tables.json";
|
|
15
|
-
export default {
|
|
16
|
-
component: DiscreteColorLegend,
|
|
17
|
-
title: "Legends/DiscreteColorLegend",
|
|
18
|
-
};
|
|
19
|
-
var discreteData = {
|
|
20
|
-
"F_OFFSHORE": [[], 0],
|
|
21
|
-
"F_LOWER_SHOREFACE": [[], 1],
|
|
22
|
-
"F_UPPER_SHOREFACE": [[], 2],
|
|
23
|
-
"F_MOUTH_BAR": [[], 3],
|
|
24
|
-
"F_TIDAL_BAR": [[], 4],
|
|
25
|
-
"F_TIDAL_CHANNEL": [[], 5],
|
|
26
|
-
"F_TIDAL_FLAT_SANDY": [[], 6],
|
|
27
|
-
"F_TIDAL_FLAT_MUDDY": [[], 7],
|
|
28
|
-
"F_MARSH": [[], 8],
|
|
29
|
-
"F_CALCITE": [[], 9],
|
|
30
|
-
"R_OFFSHORE": [[], 10],
|
|
31
|
-
"R_SHOREFACE": [[], 11],
|
|
32
|
-
"R_TIDAL": [[], 12],
|
|
33
|
-
"R_ONSHORE": [[], 13],
|
|
34
|
-
"R_USF": [[], 14],
|
|
35
|
-
"R_LSF": [[], 15]
|
|
36
|
-
};
|
|
37
|
-
var dataObjectName = "Wells / RDE_ORIG";
|
|
38
|
-
var position = [16, 10];
|
|
39
|
-
var horizontal = true;
|
|
40
|
-
var colorName = "Stratigraphy";
|
|
41
|
-
var Template = function (args) {
|
|
42
|
-
return React.createElement(DiscreteColorLegend, __assign({}, args));
|
|
43
|
-
};
|
|
44
|
-
export var RDEOrigTemplate = Template.bind({});
|
|
45
|
-
RDEOrigTemplate.args = {
|
|
46
|
-
discreteData: discreteData,
|
|
47
|
-
dataObjectName: dataObjectName,
|
|
48
|
-
position: position,
|
|
49
|
-
colorName: colorName,
|
|
50
|
-
colorTables: colorTables,
|
|
51
|
-
horizontal: horizontal,
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=RDE_Orig.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,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;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACtB,aAAa,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACvB,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACnB,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACrB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;CACpB,CAAC;AACF,IAAM,cAAc,GAAG,kBAAkB,CAAC;AAC1C,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,mBAAmB,eAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
|