@emerson-eps/color-tables 0.2.11 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +7 -7
- package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
- package/dist/component/ColorSelector/ColorSelectorWrapper.d.ts +6 -2
- package/dist/component/ColorSelector/ColorSelectorWrapper.js +10 -10
- package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
- package/dist/component/Legend/ColorLegend.js +13 -5
- package/dist/component/Legend/ColorLegend.js.map +1 -1
- package/dist/component/Legend/ContinuousLegend.d.ts +1 -1
- package/dist/component/Legend/ContinuousLegend.js +18 -4
- package/dist/component/Legend/ContinuousLegend.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.d.ts +1 -1
- package/dist/component/Legend/DiscreteLegend.js +25 -16
- package/dist/component/Legend/DiscreteLegend.js.map +1 -1
- package/dist/component/Utils/continousLegend.d.ts +2 -2
- package/dist/component/Utils/continousLegend.js.map +1 -1
- package/dist/component/Utils/discreteLegend.js +14 -27
- package/dist/component/Utils/discreteLegend.js.map +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 +2 -4
- package/dist/index.js +1 -3
- 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/DiscreteLegendWithSelector.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js +0 -52
- package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js.map +0 -1
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js +0 -38
- package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js.map +0 -1
- package/dist/stories/ColorLegends/SingleComponent/Single.stories.d.ts +0 -7
- package/dist/stories/ColorLegends/SingleComponent/Single.stories.js +0 -58
- package/dist/stories/ColorLegends/SingleComponent/Single.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 -89
- package/src/component/Legend/ContinuousLegend.tsx +0 -220
- package/src/component/Legend/DiscreteLegend.tsx +0 -195
- 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 -84
- 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/DiscreteLegendWithSelector.stories.jsx +0 -44
- package/src/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.jsx +0 -30
- package/src/stories/ColorLegends/SingleComponent/Single.stories.jsx +0 -51
- package/tsconfig.json +0 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discreteLegend.js","sourceRoot":"","sources":["../../../src/component/Utils/discreteLegend.ts"],"names":[],"mappings":"AAIA,2BAA2B;AAC3B,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,SAAsB,EAAE,gBAA0B,EAAE,UAAgB;IAC3G,IAAM,YAAY,GAAgB,EAAE,CAAC;IAErC,2BAA2B;IAC3B,SAAS,MAAM,CAAC,CAAM;QAClB,SAAS,UAAU;YACf,yBAAyB;YACzB,oCAAoC;YACpC,
|
|
1
|
+
{"version":3,"file":"discreteLegend.js","sourceRoot":"","sources":["../../../src/component/Utils/discreteLegend.ts"],"names":[],"mappings":"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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorTableTypes.js","sourceRoot":"","sources":["../../src/component/colorTableTypes.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
|
|
2
|
-
import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
|
|
3
|
-
import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
|
|
4
2
|
import { ContinuousLegend } from './component/Legend/ContinuousLegend';
|
|
5
3
|
import { DiscreteColorLegend } from './component/Legend/DiscreteLegend';
|
|
6
4
|
import { ColorLegend } from './component/Legend/ColorLegend';
|
|
7
5
|
import { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
|
|
8
6
|
import { d3ColorScales } from './component/Utils/d3ColorScale';
|
|
9
|
-
import { colorTablesObj, colorTablesArray } from './component/
|
|
7
|
+
import { colorTablesObj, colorTablesArray } from './component/colorTableTypes';
|
|
10
8
|
import * as colorTables from './component/color-tables.json';
|
|
11
|
-
export { ColorSelectorAccordion,
|
|
9
|
+
export { ColorSelectorAccordion, ContinuousLegend, DiscreteColorLegend, ColorLegend, colorsArray, rgbValues, RGBToHex, d3ColorScales, colorTablesObj, colorTablesArray, colorTables, };
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ColorSelectorAccordion } from './component/ColorSelector/ColorSelectorAccordion';
|
|
2
|
-
import { ColorSelectorComponent } from './component/ColorSelector/ColorSelectorComponent';
|
|
3
|
-
import { ColorSelectorWrapper } from './component/ColorSelector/ColorSelectorWrapper';
|
|
4
2
|
import { ContinuousLegend } from './component/Legend/ContinuousLegend';
|
|
5
3
|
import { DiscreteColorLegend } from './component/Legend/DiscreteLegend';
|
|
6
4
|
import { ColorLegend } from './component/Legend/ColorLegend';
|
|
7
5
|
import { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
|
|
8
6
|
import { d3ColorScales } from './component/Utils/d3ColorScale';
|
|
9
7
|
import * as colorTables from './component/color-tables.json';
|
|
10
|
-
export { ColorSelectorAccordion,
|
|
8
|
+
export { ColorSelectorAccordion, ContinuousLegend, DiscreteColorLegend, ColorLegend, colorsArray, rgbValues, RGBToHex, d3ColorScales, colorTables, };
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EACH,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACR,aAAa,EAGb,WAAW,GACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emerson-eps/color-tables",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "Standard library of color tables for geological domain",
|
|
5
5
|
"release": {
|
|
6
6
|
"branches": [
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
},
|
|
10
10
|
"private": false,
|
|
11
11
|
"main": "dist/index.js",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
12
15
|
"scripts": {
|
|
13
|
-
"build": "tsc",
|
|
16
|
+
"build": "git clean -xdff dist && tsc",
|
|
14
17
|
"storybook": "start-storybook -p 6006",
|
|
15
18
|
"build-storybook": "build-storybook",
|
|
16
19
|
"semantic-release": "semantic-release"
|
|
@@ -22,7 +25,6 @@
|
|
|
22
25
|
"d3-interpolate": "^3.0.1",
|
|
23
26
|
"react": "^17.0.2",
|
|
24
27
|
"react-dom": "^17.0.2",
|
|
25
|
-
"react-scripts": "^5.0.0",
|
|
26
28
|
"web-vitals": "^2.1.4"
|
|
27
29
|
},
|
|
28
30
|
"repository": {
|
|
@@ -61,6 +63,7 @@
|
|
|
61
63
|
"@types/styled-components": "^5.1.23",
|
|
62
64
|
"babel-loader": "^8.1.0",
|
|
63
65
|
"html-webpack-plugin": "^5.5.0",
|
|
66
|
+
"react-scripts": "^5.0.1",
|
|
64
67
|
"semantic-release": "^19.0.2",
|
|
65
68
|
"ts-loader": "^9.2.6",
|
|
66
69
|
"typescript": "^4.5.4"
|
package/.storybook/main.js
DELETED
package/.storybook/preview.js
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColorTableTypes.js","sourceRoot":"","sources":["../../../src/component/Utils/ColorTableTypes.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export { ColorSelectorAccordion as component };
|
|
3
|
-
export const title: string;
|
|
4
|
-
}
|
|
5
|
-
export default _default;
|
|
6
|
-
export const selectorTemplate: any;
|
|
7
|
-
import { ColorSelectorAccordion } from "../../../component/ColorSelector/ColorSelectorAccordion";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ColorSelectorAccordion } from "../../../component/ColorSelector/ColorSelectorAccordion";
|
|
3
|
-
export default {
|
|
4
|
-
component: ColorSelectorAccordion,
|
|
5
|
-
title: "Legends/ColorSelector",
|
|
6
|
-
};
|
|
7
|
-
var Template = function (args) {
|
|
8
|
-
return React.createElement(ColorSelectorAccordion, null);
|
|
9
|
-
};
|
|
10
|
-
export var selectorTemplate = Template.bind({});
|
|
11
|
-
//# sourceMappingURL=Selector.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Selector.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ColorSelector/Selector.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACjG,eAAe;IACX,SAAS,EAAE,sBAAsB;IACjC,KAAK,EAAE,uBAAuB;CACjC,CAAC;AAEF,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,sBAAsB,OAAG,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,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 = 2918;
|
|
20
|
-
var max = 4770;
|
|
21
|
-
var dataObjectName = "Wells / MD";
|
|
22
|
-
var position = [16, 10];
|
|
23
|
-
var horizontal = true;
|
|
24
|
-
var colorName = "Time/Depth";
|
|
25
|
-
var Template = function (args) {
|
|
26
|
-
return React.createElement(ContinuousLegend, __assign({}, args));
|
|
27
|
-
};
|
|
28
|
-
export var MDTemplate = Template.bind({});
|
|
29
|
-
MDTemplate.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=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;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,IAAI,CAAC;AACjB,IAAM,GAAG,GAAG,IAAI,CAAC;AACjB,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,YAAY,CAAC;AAE/B,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,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 / NTG";
|
|
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 NTGTemplate = Template.bind({});
|
|
29
|
-
NTGTemplate.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=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;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,aAAa,CAAC;AACrC,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,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,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 / 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"}
|