@emerson-eps/color-tables 0.1.10 → 0.1.12
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/Legend/ContinuousLegend.d.ts +2 -2
- package/dist/component/Legend/ContinuousLegend.js +1 -2
- package/dist/component/Legend/ContinuousLegend.js.map +1 -1
- package/dist/component/Legend/DiscreteLegend.d.ts +2 -2
- package/dist/component/Legend/DiscreteLegend.js +1 -2
- package/dist/component/Legend/DiscreteLegend.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/MD.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/NTG.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PermTot.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Permeability.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/PoroTot.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/Porosity.stories.js.map +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js +1 -1
- package/dist/stories/ColorLegends/ContinousLgends/SW.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.d.ts +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +1 -1
- package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +1 -1
- package/package.json +1 -1
- package/src/component/Legend/ContinuousLegend.tsx +1 -3
- package/src/component/Legend/DiscreteLegend.tsx +1 -3
- package/src/index.ts +6 -7
- package/src/stories/ColorLegends/ContinousLgends/MD.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/PoroTot.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx +1 -1
- package/src/stories/ColorLegends/ContinousLgends/SW.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx +1 -1
- package/src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx +1 -1
|
@@ -11,5 +11,5 @@ declare type legendProps = {
|
|
|
11
11
|
colorTables: colorTablesArray;
|
|
12
12
|
horizontal: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const ContinuousLegend: React.FC<legendProps>;
|
|
15
|
-
export
|
|
14
|
+
export declare const ContinuousLegend: React.FC<legendProps>;
|
|
15
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { RGBToHex, colorsArray } from "../Utils/continousLegend";
|
|
3
3
|
import { select, scaleLinear, scaleSequential, axisBottom } from "d3";
|
|
4
|
-
const ContinuousLegend = ({ min, max, dataObjectName, position, name, template, colorTables, horizontal, }) => {
|
|
4
|
+
export const ContinuousLegend = ({ min, max, dataObjectName, position, name, template, colorTables, horizontal, }) => {
|
|
5
5
|
React.useEffect(() => {
|
|
6
6
|
continuousLegend("#legend");
|
|
7
7
|
}, [min, max, template, colorTables, horizontal]);
|
|
@@ -86,5 +86,4 @@ const ContinuousLegend = ({ min, max, dataObjectName, position, name, template,
|
|
|
86
86
|
ContinuousLegend.defaultProps = {
|
|
87
87
|
position: [5, 10],
|
|
88
88
|
};
|
|
89
|
-
export default ContinuousLegend;
|
|
90
89
|
//# sourceMappingURL=ContinuousLegend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContinuousLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/ContinuousLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAoBtE,MAAM,gBAAgB,GAA0B,CAAC,
|
|
1
|
+
{"version":3,"file":"ContinuousLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/ContinuousLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,E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C,QAAQ,EAAE,EAAE,CAAC;aAClB,KAAK,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;QAE5C,mBAAmB;QACnB,MAAM,IAAI,GAAG,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;QAE/D,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;QAEjE,SAAS;aACJ,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;aACrB,MAAM,CAAC,GAAG,CAAC;aACX,IAAI,CAAC,WAAW,EAAE,mBAAmB,CAAC;aACtC,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC;aAC1B,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC;aAC3B,IAAI,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,CACH,6BACI,KAAK,EAAE;YACH,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;YAClB,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;SACnB;QAED,6BAAK,EAAE,EAAC,QAAQ,GAAO,CACrB,CACT,CAAC;AACN,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC5B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;CACpB,CAAC"}
|
|
@@ -12,6 +12,6 @@ declare type colorLegendProps = {
|
|
|
12
12
|
colorTables: colorTablesArray;
|
|
13
13
|
horizontal: boolean;
|
|
14
14
|
};
|
|
15
|
-
declare const DiscreteColorLegend: React.FC<colorLegendProps>;
|
|
15
|
+
export declare const DiscreteColorLegend: React.FC<colorLegendProps>;
|
|
16
16
|
export declare function colorTableData(name: string, template: templateArray, colorTables: colorTablesArray): [number, number, number, number][];
|
|
17
|
-
export
|
|
17
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import legendUtil from "../Utils/discreteLegend";
|
|
3
3
|
import { scaleOrdinal, select } from "d3";
|
|
4
|
-
const DiscreteColorLegend = ({ discreteData, name, dataObjectName, position, template, colorTables, horizontal, }) => {
|
|
4
|
+
export const DiscreteColorLegend = ({ discreteData, name, dataObjectName, position, template, colorTables, horizontal, }) => {
|
|
5
5
|
React.useEffect(() => {
|
|
6
6
|
discreteLegend("#legend");
|
|
7
7
|
}, [discreteData, template, colorTables, horizontal]);
|
|
@@ -77,5 +77,4 @@ export function colorTableData(name, template, colorTables) {
|
|
|
77
77
|
DiscreteColorLegend.defaultProps = {
|
|
78
78
|
position: [5, 10],
|
|
79
79
|
};
|
|
80
|
-
export default DiscreteColorLegend;
|
|
81
80
|
//# sourceMappingURL=DiscreteLegend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscreteLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/DiscreteLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAkB1C,MAAM,mBAAmB,GAA+B,CAAC,
|
|
1
|
+
{"version":3,"file":"DiscreteLegend.js","sourceRoot":"","sources":["../../../src/component/Legend/DiscreteLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAkB1C,MAAM,CAAC,MAAM,mBAAmB,GAA+B,CAAC,EAC5D,YAAY,EACZ,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,UAAU,GACK,EAAE,EAAE;IACnB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AgB,GAAG,IAAI,CAAC,CAAC;SAChD;IACL,CAAC;IACD,OAAO,CACH,6BACI,KAAK,EAAE;YACH,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;YAClB,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;YAChB,eAAe,EAAE,WAAW;YAC5B,YAAY,EAAE,KAAK;SACtB;QAED,+BAAO,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,IAClD,cAAc,CACX;QACR,6BAAK,EAAE,EAAC,QAAQ,GAAO,CACrB,CACT,CAAC;AACN,CAAC,CAAC;AAEF,oEAAoE;AACpE,MAAM,UAAU,cAAc,CAC1B,IAAY,EACZ,QAAuB,EACvB,WAA6B;IAE7B,MAAM,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CACpC,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CACrD,CAAC;IACF,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,CACrC,CAAC,KAAqB,EAAE,EAAE,CACtB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE;QACxB,cAAc,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,EAAE,CACjD,CAAC;IACF,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACpC,CAAC;AAED,mBAAmB,CAAC,YAAY,GAAG;IAC/B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;CACpB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
1
|
+
export { ContinuousLegend } from './component/Legend/ContinuousLegend';
|
|
2
|
+
export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
|
|
3
|
+
export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
|
|
4
|
+
export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
|
|
5
|
+
export { propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
|
|
6
|
+
export declare const colorTables: any;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
1
|
+
export { ContinuousLegend } from './component/Legend/ContinuousLegend';
|
|
2
|
+
export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
|
|
3
|
+
export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
|
|
4
|
+
export const colorTables = require('./component/color-tables');
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AAGpF,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MD.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/MD.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"MD.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/MD.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,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,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NTG.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"NTG.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/NTG.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"PermTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PermTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Permeability.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,MAAM,GAAG,GAAG,KAAK,CAAC;AAClB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IACxB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/PoroTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/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,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/Porosity.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,IAAI,CAAC;AACjB,MAAM,cAAc,GAAG,cAAc,CAAC;AACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import ContinuousLegend from "../../../component/Legend/ContinuousLegend";
|
|
2
|
+
import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
|
|
3
3
|
export default {
|
|
4
4
|
component: ContinuousLegend,
|
|
5
5
|
title: "Legends/ContinousLegend",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/SW.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"SW.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLgends/SW.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,gBAAgB,oBAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG;IACH,GAAG;IACH,cAAc;IACd,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Facies.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"Facies.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Facies.stories.jsx"],"names":[],"mappings":"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X,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaciesNoCalcite.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
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,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtB,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtB,iBAAiB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1B,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7B,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7B,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAClB,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACvB,CAAC;AACF,MAAM,IAAI,GAAG,kBAAkB,CAAC;AAChC,MAAM,cAAc,GAAG,0BAA0B,CAAC;AAClD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzD,uBAAuB,CAAC,IAAI,GAAG;IAC3B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaultDistanceHum.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"FaultDistanceHum.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,mBAAmB,CAAC;AACjC,MAAM,cAAc,GAAG,2BAA2B,CAAC;AACnD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1D,wBAAwB,CAAC,IAAI,GAAG;IAC5B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaultProximityFlag.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"FaultProximityFlag.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACjB,CAAC;AACF,MAAM,IAAI,GAAG,sBAAsB,CAAC;AACpC,MAAM,cAAc,GAAG,8BAA8B,CAAC;AACtD,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5D,0BAA0B,CAAC,IAAI,GAAG;IAC9B,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RDE.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"RDE.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACnB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,GAAG;IACf,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RDE_Orig.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
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,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,mBAAmB,EAAE,CAAC,E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DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneMain.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"ZoneMain.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACZ,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;CACnB,CAAC;AACF,MAAM,IAAI,GAAG,WAAW,CAAC;AACzB,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAC3C,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,mBAAmB,oBAAK,IAAI,EAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACpB,YAAY;IACZ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,UAAU;CACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import { DiscreteColorLegend } from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
export default {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zonelog.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"Zonelog.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/DiscreteLegends/Zonelog.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAC7E,OAAO,QAAQ,MAAM,4CAA4C,CAAC;AAClE,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,eAAe;IACX,SAAS,EAAE,mBAAmB;IAC9B,KAAK,EAAE,6BAA6B;CACvC,CAAC;AAEF,MAAM,YAAY,GAAG;IACjB,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC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
23
|
-
const ContinuousLegend: React.FC<legendProps> = ({
|
|
23
|
+
export const ContinuousLegend: React.FC<legendProps> = ({
|
|
24
24
|
min,
|
|
25
25
|
max,
|
|
26
26
|
dataObjectName,
|
|
@@ -127,5 +127,3 @@ const ContinuousLegend: React.FC<legendProps> = ({
|
|
|
127
127
|
ContinuousLegend.defaultProps = {
|
|
128
128
|
position: [5, 10],
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
export default ContinuousLegend;
|
|
@@ -18,7 +18,7 @@ declare type colorLegendProps = {
|
|
|
18
18
|
horizontal: boolean;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
const DiscreteColorLegend: React.FC<colorLegendProps> = ({
|
|
21
|
+
export const DiscreteColorLegend: React.FC<colorLegendProps> = ({
|
|
22
22
|
discreteData,
|
|
23
23
|
name,
|
|
24
24
|
dataObjectName,
|
|
@@ -122,5 +122,3 @@ export function colorTableData(
|
|
|
122
122
|
DiscreteColorLegend.defaultProps = {
|
|
123
123
|
position: [5, 10],
|
|
124
124
|
};
|
|
125
|
-
|
|
126
|
-
export default DiscreteColorLegend;
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
1
|
+
export { ContinuousLegend } from './component/Legend/ContinuousLegend';
|
|
2
|
+
export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
|
|
3
|
+
export { colorsArray, rgbValues, RGBToHex} from './component/Utils/continousLegend';
|
|
4
|
+
export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
|
|
5
|
+
export {propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
|
|
6
|
+
export const colorTables = require('./component/color-tables');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import DiscreteColorLegend from "../../../component/Legend/DiscreteLegend";
|
|
2
|
+
import {DiscreteColorLegend} from "../../../component/Legend/DiscreteLegend";
|
|
3
3
|
import template from "../../../component/welllayer_template.json";
|
|
4
4
|
import colorTables from "../../../component/color-tables.json";
|
|
5
5
|
|