@emerson-eps/color-tables 1.0.13 → 1.0.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.
- package/dist/component/BreakPoint/Canvas.js +3 -15
- package/dist/component/BreakPoint/Canvas.js.map +1 -1
- package/dist/component/BreakPoint/ColorScale.js +1 -1
- package/dist/component/BreakPoint/ColorScale.js.map +1 -1
- package/dist/component/BreakPoint/index.d.ts +1 -1
- package/dist/component/BreakPoint/index.js.map +1 -1
- package/dist/component/ColorSelector/BreakPointModule.js +11 -4
- package/dist/component/ColorSelector/BreakPointModule.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorAccordion.js +10 -11
- package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorComponent.js +4 -5
- package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorWrapper.js +13 -13
- package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
- package/dist/component/ColorSelector/index.d.ts +1 -1
- package/dist/component/Legend/ColorLegend.js +7 -9
- package/dist/component/Legend/ColorLegend.js.map +1 -1
- package/dist/component/Legend/ColorLegend.stories.d.ts +13 -14
- package/dist/component/Legend/ColorLegend.stories.js +85 -32
- package/dist/component/Legend/ColorLegend.stories.js.map +1 -1
- package/dist/component/Legend/ContinuousLegend.js +221 -229
- package/dist/component/Legend/ContinuousLegend.js.map +1 -1
- package/dist/component/Legend/ContinuousLegend.stories.d.ts +15 -10
- package/dist/component/Legend/ContinuousLegend.stories.js +147 -18
- package/dist/component/Legend/ContinuousLegend.stories.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.js +129 -133
- package/dist/component/Legend/DiscreteLegend.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.stories.d.ts +14 -9
- package/dist/component/Legend/DiscreteLegend.stories.js +178 -16
- package/dist/component/Legend/DiscreteLegend.stories.js.map +1 -1
- package/dist/component/Utils/Utils.stories.d.ts +7 -0
- package/dist/component/Utils/Utils.stories.js +41 -0
- package/dist/component/Utils/Utils.stories.js.map +1 -0
- package/dist/component/Utils/legendCommonFunction.js +40 -48
- package/dist/component/Utils/legendCommonFunction.js.map +1 -1
- package/package.json +10 -15
- package/dist/component/Utils/legendCommonFunction.stories.d.ts +0 -8
- package/dist/component/Utils/legendCommonFunction.stories.js +0 -35
- package/dist/component/Utils/legendCommonFunction.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 -34
- 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 -34
- 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 -34
- 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 -36
- 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 -34
- 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 -34
- 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 -34
- package/dist/stories/ColorLegends/ContinousLegends/SW.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 -39
- 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 -31
- 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 -31
- 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 -34
- 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 -45
- 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 -34
- 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 -44
- 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 -33
- package/dist/stories/ColorLegends/LegendWithSelector/LegendSelector.stories.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emerson-eps/color-tables",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Standard library of color tables for geological domain",
|
|
5
5
|
"release": {
|
|
6
6
|
"branches": [
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"validate": "npm run typecheck && npm run lint:check && npm run prettier:check"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"@uiw/react-color-sketch": "^2.10.3",
|
|
30
31
|
"d3": "^7.9.0",
|
|
31
32
|
"d3-color": "^3.1.0",
|
|
32
33
|
"d3-interpolate": "^3.0.1",
|
|
33
|
-
"@uiw/react-color-sketch": "^2.4.0",
|
|
34
34
|
"react-resize-detector": "^9.1.1"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
@@ -57,17 +57,11 @@
|
|
|
57
57
|
"@emotion/react": "^11.14.0",
|
|
58
58
|
"@emotion/styled": "^11.14.1",
|
|
59
59
|
"@mui/icons-material": "^7.3.7",
|
|
60
|
-
"@storybook/addon-
|
|
61
|
-
"@storybook/addon-
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@storybook/
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@storybook/blocks": "8.6.18",
|
|
66
|
-
"@storybook/cli": "8.6.18",
|
|
67
|
-
"@storybook/react": "8.6.18",
|
|
68
|
-
"@storybook/react-vite": "8.6.18",
|
|
69
|
-
"@storybook/test": "^8.6.18",
|
|
70
|
-
"@storybook/test-runner": "^0.17.0",
|
|
60
|
+
"@storybook/addon-docs": "10.4.5",
|
|
61
|
+
"@storybook/addon-links": "10.4.5",
|
|
62
|
+
"@storybook/cli": "10.4.5",
|
|
63
|
+
"@storybook/react-vite": "10.4.5",
|
|
64
|
+
"@storybook/test-runner": "^0.24.4",
|
|
71
65
|
"@testing-library/jest-dom": "^6.9.1",
|
|
72
66
|
"@testing-library/react": "^16.3.2",
|
|
73
67
|
"@testing-library/user-event": "^14.1.1",
|
|
@@ -77,13 +71,14 @@
|
|
|
77
71
|
"@types/react-dom": "^18.0.11",
|
|
78
72
|
"@types/styled-components": "^5.1.25",
|
|
79
73
|
"eslint": "^8.57.1",
|
|
74
|
+
"eslint-plugin-storybook": "10.4.2",
|
|
80
75
|
"html-webpack-plugin": "^5.5.0",
|
|
81
76
|
"prettier": "^3.4.2",
|
|
82
77
|
"prop-types": "^15.8.1",
|
|
83
78
|
"react": "^18.3.1",
|
|
84
79
|
"react-dom": "^18.3.1",
|
|
85
80
|
"semantic-release": "^25.0.3",
|
|
86
|
-
"storybook": "
|
|
81
|
+
"storybook": "10.4.5",
|
|
87
82
|
"ts-loader": "^9.2.6",
|
|
88
83
|
"typescript": "^5.9.3"
|
|
89
84
|
},
|
|
@@ -95,6 +90,6 @@
|
|
|
95
90
|
"react-dom": "^17 || ^18"
|
|
96
91
|
},
|
|
97
92
|
"volta": {
|
|
98
|
-
"node": "
|
|
93
|
+
"node": "22.22.0"
|
|
99
94
|
}
|
|
100
95
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: React.FC<import("../../component/Legend/ContinuousLegend").ContinuousLegendProps>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const ColorMapFunction: any;
|
|
8
|
-
export declare const DefaultColorMapFunction: any;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ContinuousLegend } from "../../component/Legend/ContinuousLegend";
|
|
3
|
-
import { createContinuousLibraryColorScale, createDefaultContinuousColorScale, } from "./legendCommonFunction";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Utils / Common Functions",
|
|
7
|
-
};
|
|
8
|
-
const min = 0;
|
|
9
|
-
const max = 1;
|
|
10
|
-
const dataObjectName = "Physics color map function";
|
|
11
|
-
const colorName = "Physics";
|
|
12
|
-
function colorMap(value) {
|
|
13
|
-
const f = createContinuousLibraryColorScale(colorName);
|
|
14
|
-
return f(value);
|
|
15
|
-
}
|
|
16
|
-
const ContinuousLegendTemplate = (args) => {
|
|
17
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
18
|
-
};
|
|
19
|
-
export const ColorMapFunction = ContinuousLegendTemplate.bind({});
|
|
20
|
-
ColorMapFunction.args = {
|
|
21
|
-
min,
|
|
22
|
-
max,
|
|
23
|
-
dataObjectName,
|
|
24
|
-
colorMapFunction: colorMap,
|
|
25
|
-
legendFontSize: 13,
|
|
26
|
-
};
|
|
27
|
-
export const DefaultColorMapFunction = ContinuousLegendTemplate.bind({});
|
|
28
|
-
DefaultColorMapFunction.args = {
|
|
29
|
-
min,
|
|
30
|
-
max,
|
|
31
|
-
dataObjectName: "Default color scale (Rainbow)",
|
|
32
|
-
colorMapFunction: createDefaultContinuousColorScale(),
|
|
33
|
-
legendFontSize: 13,
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=legendCommonFunction.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legendCommonFunction.stories.js","sourceRoot":"","sources":["../../../src/component/Utils/legendCommonFunction.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EACL,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAEhC,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,0BAA0B;CAClC,CAAC;AAEF,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,4BAA4B,CAAC;AACpD,MAAM,SAAS,GAAG,SAAS,CAAC;AAE5B,SAAS,QAAQ,CAAC,KAAa;IAC7B,MAAM,CAAC,GAAG,iCAAiC,CAAC,SAAS,CAAC,CAAC;IACvD,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC;AAClB,CAAC;AAED,MAAM,wBAAwB,GAAG,CAC/B,IAKC,EACD,EAAE;IACF,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClE,gBAAgB,CAAC,IAAI,GAAG;IACtB,GAAG;IACH,GAAG;IACH,cAAc;IACd,gBAAgB,EAAE,QAAQ;IAC1B,cAAc,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzE,uBAAuB,CAAC,IAAI,GAAG;IAC7B,GAAG;IACH,GAAG;IACH,cAAc,EAAE,+BAA+B;IAC/C,gBAAgB,EAAE,iCAAiC,EAAE;IACrD,cAAc,EAAE,EAAE;CACnB,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 2917;
|
|
9
|
-
const max = 4723;
|
|
10
|
-
const dataObjectName = "Wells / MD";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Time/Depth";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const MDTemplate = Template.bind({});
|
|
19
|
-
MDTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=MD.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MD.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/MD.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,YAAY,CAAC;AAC/B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IAChB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 0;
|
|
9
|
-
const max = 1;
|
|
10
|
-
const dataObjectName = "Wells / NTG";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Rainbow";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const NTGTemplate = Template.bind({});
|
|
19
|
-
NTGTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=NTG.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NTG.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/NTG.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,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,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,SAAS,CAAC;AAC5B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACjB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = -999;
|
|
9
|
-
const max = 14023;
|
|
10
|
-
const dataObjectName = "Wells / PERMTOT";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Porosity";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const PermTotTemplate = Template.bind({});
|
|
19
|
-
PermTotTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# 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;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,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,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACrB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 2782;
|
|
9
|
-
const max = 3513;
|
|
10
|
-
const dataObjectName = "Wells / PERM";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Permeability";
|
|
14
|
-
const colorMapFunction = (x) => [255 - x * 100, 255 - x * 100, 255 * x];
|
|
15
|
-
const isRangeShown = true;
|
|
16
|
-
const Template = (args) => {
|
|
17
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
18
|
-
};
|
|
19
|
-
export const PermeabilityTemplate = Template.bind({});
|
|
20
|
-
PermeabilityTemplate.args = {
|
|
21
|
-
min,
|
|
22
|
-
max,
|
|
23
|
-
dataObjectName,
|
|
24
|
-
position,
|
|
25
|
-
colorName,
|
|
26
|
-
colorTables,
|
|
27
|
-
horizontal,
|
|
28
|
-
colorMapFunction,
|
|
29
|
-
isRangeShown,
|
|
30
|
-
legendFontSize: 13,
|
|
31
|
-
tickFontSize: 13,
|
|
32
|
-
numberOfTicks: 3,
|
|
33
|
-
legendScaleSize: 300,
|
|
34
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
35
|
-
};
|
|
36
|
-
//# 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;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,gBAAgB,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,EAAE,GAAG,GAAG,CAAC,GAAG,GAAG,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC;AACxE,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IAC1B,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,gBAAgB;IAChB,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 0;
|
|
9
|
-
const max = 0.35;
|
|
10
|
-
const dataObjectName = "Wells / POROTOT";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Porosity";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const PoroTotTemplate = Template.bind({});
|
|
19
|
-
PoroTotTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# 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;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACrB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 0;
|
|
9
|
-
const max = 0.35;
|
|
10
|
-
const dataObjectName = "Wells / PORO";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Porosity";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const PorosityTemplate = Template.bind({});
|
|
19
|
-
PorosityTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# 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;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,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,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACtB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import colorTables from "../../../component/color-tables.json";
|
|
3
|
-
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
4
|
-
export default {
|
|
5
|
-
component: ContinuousLegend,
|
|
6
|
-
title: "Legends/ContinousLegend",
|
|
7
|
-
};
|
|
8
|
-
const min = 0;
|
|
9
|
-
const max = 1;
|
|
10
|
-
const dataObjectName = "Wells / SW";
|
|
11
|
-
const position = [16, 10];
|
|
12
|
-
const horizontal = true;
|
|
13
|
-
const colorName = "Rainbow";
|
|
14
|
-
const isRangeShown = true;
|
|
15
|
-
const Template = (args) => {
|
|
16
|
-
return React.createElement(ContinuousLegend, Object.assign({}, args));
|
|
17
|
-
};
|
|
18
|
-
export const SWTemplate = Template.bind({});
|
|
19
|
-
SWTemplate.args = {
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
isRangeShown,
|
|
28
|
-
legendFontSize: 13,
|
|
29
|
-
tickFontSize: 13,
|
|
30
|
-
numberOfTicks: 3,
|
|
31
|
-
legendScaleSize: 300,
|
|
32
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
33
|
-
};
|
|
34
|
-
//# 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;AAE1B,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,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,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,SAAS,CAAC;AAC5B,MAAM,YAAY,GAAG,IAAI,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IAChB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
|
-
import colorTables from "../../../component/color-tables.json";
|
|
4
|
-
export default {
|
|
5
|
-
component: DiscreteColorLegend,
|
|
6
|
-
title: "Legends/DiscreteColorLegend",
|
|
7
|
-
};
|
|
8
|
-
const discreteData = {
|
|
9
|
-
F_OFFSHORE: [[], 0],
|
|
10
|
-
F_LOWER_SHOREFACE: [[], 1],
|
|
11
|
-
F_UPPER_SHOREFACE: [[], 2],
|
|
12
|
-
F_MOUTH_BAR: [[], 3],
|
|
13
|
-
F_TIDAL_BAR: [[], 4],
|
|
14
|
-
F_TIDAL_CHANNEL: [[], 5],
|
|
15
|
-
F_TIDAL_FLAT_SANDY: [[], 6],
|
|
16
|
-
F_TIDAL_FLAT_MUDDY: [[], 7],
|
|
17
|
-
F_MARSH: [[], 8],
|
|
18
|
-
F_CALCITE: [[], 9],
|
|
19
|
-
};
|
|
20
|
-
const dataObjectName = "Wells / FACIES_NoCalcite";
|
|
21
|
-
const position = { left: 16, top: 10 };
|
|
22
|
-
const horizontal = true;
|
|
23
|
-
const colorName = "Facies";
|
|
24
|
-
const Template = (args) => {
|
|
25
|
-
return React.createElement(DiscreteColorLegend, Object.assign({}, args));
|
|
26
|
-
};
|
|
27
|
-
export const FaciesNoCalciteTemplate = Template.bind({});
|
|
28
|
-
FaciesNoCalciteTemplate.args = {
|
|
29
|
-
discreteData,
|
|
30
|
-
dataObjectName,
|
|
31
|
-
position,
|
|
32
|
-
colorName,
|
|
33
|
-
colorTables,
|
|
34
|
-
horizontal,
|
|
35
|
-
legendFontSize: 13,
|
|
36
|
-
legendScaleSize: 300,
|
|
37
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
38
|
-
};
|
|
39
|
-
//# 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;AAE1B,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,MAAM,YAAY,GAAG;IACnB,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACnB,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1B,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1B,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACxB,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC3B,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC3B,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACnB,CAAC;AACF,MAAM,cAAc,GAAG,0BAA0B,CAAC;AAClD,MAAM,QAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AACvC,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,QAAQ,CAAC;AAE3B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzD,uBAAuB,CAAC,IAAI,GAAG;IAC7B,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
|
-
import colorTables from "../../../component/color-tables.json";
|
|
4
|
-
export default {
|
|
5
|
-
component: DiscreteColorLegend,
|
|
6
|
-
title: "Legends/DiscreteColorLegend",
|
|
7
|
-
};
|
|
8
|
-
const discreteData = {
|
|
9
|
-
no: [[], 0],
|
|
10
|
-
yes: [[], 1],
|
|
11
|
-
};
|
|
12
|
-
const dataObjectName = "Wells / FaultDistance_HUM";
|
|
13
|
-
const position = { left: 16, top: 10 };
|
|
14
|
-
const horizontal = true;
|
|
15
|
-
const colorName = "GasOilWater";
|
|
16
|
-
const Template = (args) => {
|
|
17
|
-
return React.createElement(DiscreteColorLegend, Object.assign({}, args));
|
|
18
|
-
};
|
|
19
|
-
export const FaultDistanceHumTemplate = Template.bind({});
|
|
20
|
-
FaultDistanceHumTemplate.args = {
|
|
21
|
-
discreteData,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
legendFontSize: 13,
|
|
28
|
-
legendScaleSize: 300,
|
|
29
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
30
|
-
};
|
|
31
|
-
//# 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;AAE1B,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,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACb,CAAC;AACF,MAAM,cAAc,GAAG,2BAA2B,CAAC;AACnD,MAAM,QAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AACvC,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1D,wBAAwB,CAAC,IAAI,GAAG;IAC9B,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
|
-
import colorTables from "../../../component/color-tables.json";
|
|
4
|
-
export default {
|
|
5
|
-
component: DiscreteColorLegend,
|
|
6
|
-
title: "Legends/DiscreteColorLegend",
|
|
7
|
-
};
|
|
8
|
-
const discreteData = {
|
|
9
|
-
no: [[], 0],
|
|
10
|
-
yes: [[], 1],
|
|
11
|
-
};
|
|
12
|
-
const dataObjectName = "Wells / FAULT_PROXIMITY_FLAG";
|
|
13
|
-
const position = { left: 16, top: 10 };
|
|
14
|
-
const horizontal = true;
|
|
15
|
-
const colorName = "Time/Depth";
|
|
16
|
-
const Template = (args) => {
|
|
17
|
-
return React.createElement(DiscreteColorLegend, Object.assign({}, args));
|
|
18
|
-
};
|
|
19
|
-
export const FaultProximityFlagTemplate = Template.bind({});
|
|
20
|
-
FaultProximityFlagTemplate.args = {
|
|
21
|
-
discreteData,
|
|
22
|
-
dataObjectName,
|
|
23
|
-
position,
|
|
24
|
-
colorName,
|
|
25
|
-
colorTables,
|
|
26
|
-
horizontal,
|
|
27
|
-
legendFontSize: 13,
|
|
28
|
-
legendScaleSize: 300,
|
|
29
|
-
cssLegendStyles: { top: "0%", left: "0%" },
|
|
30
|
-
};
|
|
31
|
-
//# 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;AAE1B,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,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACX,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACb,CAAC;AACF,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,QAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AACvC,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5D,0BAA0B,CAAC,IAAI,GAAG;IAChC,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,GAAG;IACpB,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3C,CAAC"}
|