@emerson-eps/color-tables 0.2.4 → 0.2.7

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.
Files changed (72) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/dist/component/ColorSelector/ColorSelectorAccordion.js +3 -3
  3. package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -1
  4. package/dist/component/ColorSelector/ColorSelectorComponent.js +51 -45
  5. package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
  6. package/dist/component/ColorSelector/ColorSelectorWrapper.js +21 -20
  7. package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
  8. package/dist/component/ColorTableTypes.d.ts +2 -2
  9. package/dist/component/Legend/ColorLegend.d.ts +4 -1
  10. package/dist/component/Legend/ColorLegend.js +16 -7
  11. package/dist/component/Legend/ColorLegend.js.map +1 -1
  12. package/dist/component/Legend/ContinuousLegend.d.ts +2 -2
  13. package/dist/component/Legend/ContinuousLegend.js +188 -153
  14. package/dist/component/Legend/ContinuousLegend.js.map +1 -1
  15. package/dist/component/Legend/DiscreteLegend.d.ts +2 -2
  16. package/dist/component/Legend/DiscreteLegend.js +162 -116
  17. package/dist/component/Legend/DiscreteLegend.js.map +1 -1
  18. package/dist/component/Utils/continousLegend.js +14 -12
  19. package/dist/component/Utils/continousLegend.js.map +1 -1
  20. package/dist/component/Utils/d3ColorScale.js +1 -1
  21. package/dist/component/Utils/d3ColorScale.js.map +1 -1
  22. package/dist/component/Utils/discreteLegend.d.ts +3 -3
  23. package/dist/component/Utils/discreteLegend.js +121 -64
  24. package/dist/component/Utils/discreteLegend.js.map +1 -1
  25. package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js +2 -2
  26. package/dist/stories/ColorLegends/ColorSelector/Selector.stories.js.map +1 -1
  27. package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js +27 -16
  28. package/dist/stories/ColorLegends/ContinousLegends/MD.stories.js.map +1 -1
  29. package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js +27 -16
  30. package/dist/stories/ColorLegends/ContinousLegends/NTG.stories.js.map +1 -1
  31. package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js +27 -16
  32. package/dist/stories/ColorLegends/ContinousLegends/PermTot.stories.js.map +1 -1
  33. package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js +27 -16
  34. package/dist/stories/ColorLegends/ContinousLegends/Permeability.stories.js.map +1 -1
  35. package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js +27 -16
  36. package/dist/stories/ColorLegends/ContinousLegends/PoroTot.stories.js.map +1 -1
  37. package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js +27 -16
  38. package/dist/stories/ColorLegends/ContinousLegends/Porosity.stories.js.map +1 -1
  39. package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js +27 -16
  40. package/dist/stories/ColorLegends/ContinousLegends/SW.stories.js.map +1 -1
  41. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js +25 -14
  42. package/dist/stories/ColorLegends/DiscreteLegends/Facies.stories.js.map +1 -1
  43. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js +25 -14
  44. package/dist/stories/ColorLegends/DiscreteLegends/FaciesNoCalcite.stories.js.map +1 -1
  45. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js +25 -14
  46. package/dist/stories/ColorLegends/DiscreteLegends/FaultDistanceHum.stories.js.map +1 -1
  47. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js +25 -14
  48. package/dist/stories/ColorLegends/DiscreteLegends/FaultProximityFlag.stories.js.map +1 -1
  49. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js +25 -14
  50. package/dist/stories/ColorLegends/DiscreteLegends/RDE.stories.js.map +1 -1
  51. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js +25 -14
  52. package/dist/stories/ColorLegends/DiscreteLegends/RDE_Orig.stories.js.map +1 -1
  53. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js +25 -14
  54. package/dist/stories/ColorLegends/DiscreteLegends/ZoneMain.stories.js.map +1 -1
  55. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js +25 -14
  56. package/dist/stories/ColorLegends/DiscreteLegends/Zonelog.stories.js.map +1 -1
  57. package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js +25 -14
  58. package/dist/stories/ColorLegends/LegendWithSelector/DiscreteLegendWithSelector.stories.js.map +1 -1
  59. package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js +27 -16
  60. package/dist/stories/ColorLegends/LegendWithSelector/LegendWithSelector.stories.js.map +1 -1
  61. package/dist/stories/ColorLegends/SingleComponent/Single.stories.js +29 -18
  62. package/dist/stories/ColorLegends/SingleComponent/Single.stories.js.map +1 -1
  63. package/package.json +2 -1
  64. package/src/component/ColorSelector/ColorSelectorAccordion.tsx +2 -2
  65. package/src/component/ColorSelector/ColorSelectorComponent.tsx +17 -12
  66. package/src/component/ColorSelector/ColorSelectorWrapper.tsx +4 -4
  67. package/src/component/ColorTableTypes.ts +1 -1
  68. package/src/component/Legend/ColorLegend.tsx +13 -3
  69. package/src/component/Legend/ContinuousLegend.tsx +52 -54
  70. package/src/component/Legend/DiscreteLegend.tsx +118 -79
  71. package/src/component/Utils/discreteLegend.ts +125 -75
  72. package/tsconfig.json +1 -1
@@ -1,91 +1,148 @@
1
+ ;
1
2
  // eslint-disable-next-line
2
- export default function discreteLegendUtil(itemColor, isSelectorLegend) {
3
- var cellWidth = 22;
4
- var cellHeight = 22;
5
- const cellPadding = 2;
6
- if (isSelectorLegend) {
7
- cellWidth = 25;
8
- cellHeight = 22;
9
- }
10
- //let legendValues: ItemColor[] = [];
3
+ export default function discreteLegendUtil(itemColor, isSelectorLegend, horizontal) {
4
+ // var cellWidth = 22;
5
+ // var cellHeight = 22;
6
+ // if (isSelectorLegend) {
7
+ // cellWidth = 25;
8
+ // cellHeight = 22;
9
+ // }
10
+ var legendValues = [];
11
11
  // eslint-disable-next-line
12
12
  function legend(g) {
13
13
  function drawLegend() {
14
14
  // Code to fill the color
15
15
  // Styling for color selector legend
16
- if (isSelectorLegend) {
17
- g.selectAll("g.legendCells")
18
- .data(itemColor)
19
- .enter()
20
- .append("g")
21
- .append("rect");
16
+ //if (isSelectorLegend) {
17
+ g.selectAll("g.legendCells")
18
+ .data(itemColor)
19
+ .enter()
20
+ .append("g")
21
+ .append("rect")
22
+ .attr("class", "rectLabel")
23
+ .style("cursor", "pointer")
24
+ .style("pointer-events", "all");
25
+ g.selectAll("rect")
26
+ .attr("height", 1)
27
+ .attr("width", 1)
28
+ .style("fill", function (d) {
29
+ return d["color"];
30
+ });
31
+ if (horizontal && !isSelectorLegend) {
22
32
  g.selectAll("rect")
23
33
  .attr("x", function (d, i) {
24
34
  console.log(d);
25
35
  return i;
26
36
  })
27
- .attr("y", 0)
28
- .attr("height", 1)
29
- .attr("width", 1)
30
- .style("fill", function (d) {
31
- return d["color"];
32
- });
33
- // Display the labels for legend
34
- g.selectAll("g")
35
- .style("background", "grey")
36
- .append("text")
37
- .attr("class", "breakLabels")
38
- .style("font-size", "0.4")
39
- //.attr("x", cellWidth + cellPadding)
40
- //.attr("y", 5 + cellHeight / 2)
37
+ .attr("y", 0);
38
+ }
39
+ else if (!horizontal && !isSelectorLegend) {
40
+ g.selectAll("rect")
41
+ .attr("y", function (d, i) {
42
+ console.log(d);
43
+ return i;
44
+ })
45
+ .attr("x", 0);
46
+ }
47
+ else if (horizontal == true && isSelectorLegend) {
48
+ g.selectAll("rect")
41
49
  .attr("x", function (d, i) {
42
50
  console.log(d);
43
- return i + "." + 25;
51
+ return i;
44
52
  })
45
- .attr("y", 1.5)
46
- .text(function (d, i) {
53
+ .attr("y", 0);
54
+ }
55
+ else if (horizontal == false && isSelectorLegend) {
56
+ g.selectAll("rect")
57
+ .attr("y", function (d, i) {
47
58
  console.log(d);
48
59
  return i;
49
- });
60
+ })
61
+ .attr("x", 0);
50
62
  }
51
- // styling for main legend
52
63
  else {
53
- g.selectAll("g.legendCells")
54
- .append("rect")
55
- .attr("height", cellHeight)
56
- .attr("width", cellWidth)
57
- .style("fill", function (d) {
58
- return d["color"];
59
- });
60
- // Alighment of cell in straight line
61
- g.selectAll("g.legendCells").attr("transform", function (_d, i) {
62
- return ("translate(0," + i * (cellHeight + cellPadding) + ")"
63
- //"translate(0," + i + ")"
64
- );
65
- });
64
+ g.selectAll("rect")
65
+ .attr("x", function (d, i) {
66
+ console.log(d);
67
+ return i;
68
+ })
69
+ .attr("y", 0);
66
70
  }
71
+ // Display the labels for legend
72
+ // g.selectAll("g")
73
+ // .style("background", "grey")
74
+ // .append("text")
75
+ // .attr("class", "breakLabels")
76
+ // .style("font-size", "0.4")
77
+ // //.attr("x", cellWidth + cellPadding)
78
+ // //.attr("y", 5 + cellHeight / 2)
79
+ // .attr("x", function (d: any, i: any) {
80
+ // //console.log(d)
81
+ // return i + "." + 25
82
+ // })
83
+ // .attr("y", 1.5)
84
+ // .text(function (d: any, i: any) {
85
+ // //console.log(d)
86
+ // return i;
87
+ // })
88
+ //}
89
+ // styling for main legend
90
+ // else {
91
+ // itemColor.forEach((item, index) => {
92
+ // legendValues[index].color = item.color;
93
+ // });
94
+ // g.selectAll("g.legendCells")
95
+ // .append("text")
96
+ // .attr("class", "breakLabels")
97
+ // .style("fill", "#6F6F6F")
98
+ // .attr("x", cellWidth + cellPadding)
99
+ // .attr("y", 5 + cellHeight / 2)
100
+ // .text(function (d: Record<string, unknown>, i:any) {
101
+ // return d['label'];
102
+ // });
103
+ // g.selectAll("g.legendCells")
104
+ // .style("cursor", "pointer")
105
+ // .append("rect")
106
+ // .attr("height", cellHeight)
107
+ // .attr("width", cellWidth)
108
+ // .style("fill", function (d: Record<string, unknown>) {
109
+ // //console.log('d', d)
110
+ // return d["color"];
111
+ // })
112
+ // // Alighment of cell in straight line
113
+ // g.selectAll("g.legendCells").attr(
114
+ // "transform",
115
+ // function (_d: Record<string, unknown>, i: number) {
116
+ // return (
117
+ // "translate(0," + i * (cellHeight + cellPadding) + ")"
118
+ // //"translate(0," + i + ")"
119
+ // );
120
+ // }
121
+ // );
122
+ // }
67
123
  }
68
124
  // display the discrete legend
69
- if (!isSelectorLegend) {
70
- g.selectAll("g.legendCells")
71
- .data(itemColor)
72
- .enter()
73
- .append("g")
74
- .attr("class", "legendCells");
75
- }
125
+ // if (!isSelectorLegend) {
126
+ // // console.log('itemcolor', itemColor)
127
+ // g.selectAll("g.legendCells")
128
+ // .data(legendValues)
129
+ // .enter()
130
+ // .append("g")
131
+ // .attr("class", "legendCells")
132
+ // }
76
133
  drawLegend();
77
134
  }
78
135
  // eslint-disable-next-line
79
- // legend.inputScale = function (newScale: any) {
80
- // // eslint-disable-next-line
81
- // let scale: any = {};
82
- // scale = newScale;
83
- // scale.domain().forEach(function (el: any) {
84
- // const cellObject = { color: scale(el), label: el };
85
- // legendValues.push(cellObject);
86
- // });
87
- // return this;
88
- // };
136
+ legend.inputScale = function (newScale) {
137
+ // eslint-disable-next-line
138
+ var scale = {};
139
+ scale = newScale;
140
+ scale.domain().forEach(function (el) {
141
+ var cellObject = { color: scale(el), label: el };
142
+ legendValues.push(cellObject);
143
+ });
144
+ return this;
145
+ };
89
146
  return legend;
90
147
  }
91
148
  //# sourceMappingURL=discreteLegend.js.map
@@ -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;IACzF,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,MAAM,WAAW,GAAG,CAAC,CAAC;IAEtB,IAAI,gBAAgB,EAAE;QAClB,SAAS,GAAG,EAAE,CAAC;QACf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: ColorSelectorAccordion,
5
5
  title: "Legends/ColorSelector",
6
6
  };
7
- const Template = (args) => {
7
+ var Template = function (args) {
8
8
  return React.createElement(ColorSelectorAccordion, null);
9
9
  };
10
- export const selectorTemplate = Template.bind({});
10
+ export var selectorTemplate = Template.bind({});
11
11
  //# sourceMappingURL=Selector.stories.js.map
@@ -1 +1 @@
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,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE;IACtB,OAAO,oBAAC,sBAAsB,OAAG,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC"}
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,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- const min = 2918;
9
- const max = 4770;
10
- const dataObjectName = "Wells / MD";
11
- const position = [16, 10];
12
- const horizontal = true;
13
- const colorName = "Time/Depth";
14
- const Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
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));
16
27
  };
17
- export const MDTemplate = Template.bind({});
28
+ export var MDTemplate = Template.bind({});
18
29
  MDTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=MD.stories.js.map
@@ -1 +1 @@
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,MAAM,GAA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CAAC,IAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACd,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- 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 Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
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));
16
27
  };
17
- export const NTGTemplate = Template.bind({});
28
+ export var NTGTemplate = Template.bind({});
18
29
  NTGTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=NTG.stories.js.map
@@ -1 +1 @@
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,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;AAE5B,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,SAAS;IACT,WAAW;IACX,UAAU;CACb,CAAC"}
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,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- 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 Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
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));
16
27
  };
17
- export const PermTotTemplate = Template.bind({});
28
+ export var PermTotTemplate = Template.bind({});
18
29
  PermTotTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=PermTot.stories.js.map
@@ -1 +1 @@
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,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;AAE7B,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,SAAS;IACT,WAAW;IACX,UAAU;CACb,CAAC"}
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,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- const min = -999;
9
- const max = 14023;
10
- const dataObjectName = "Wells / PERM";
11
- const position = [16, 10];
12
- const horizontal = true;
13
- const colorName = "Permeability";
14
- const Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
19
+ var min = -999;
20
+ var max = 14023;
21
+ var dataObjectName = "Wells / PERM";
22
+ var position = [16, 10];
23
+ var horizontal = true;
24
+ var colorName = "Permeability";
25
+ var Template = function (args) {
26
+ return React.createElement(ContinuousLegend, __assign({}, args));
16
27
  };
17
- export const PermeabilityTemplate = Template.bind({});
28
+ export var PermeabilityTemplate = Template.bind({});
18
29
  PermeabilityTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=Permeability.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/Permeability.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,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,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,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,SAAS;IACT,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"Permeability.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/Permeability.stories.jsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,GAAG,CAAC;AACjB,IAAM,GAAG,GAAG,KAAK,CAAC;AAClB,IAAM,cAAc,GAAG,cAAc,CAAC;AACtC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IACxB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- 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 Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
19
+ var min = 0;
20
+ var max = 0.35;
21
+ var dataObjectName = "Wells / POROTOT";
22
+ var position = [16, 10];
23
+ var horizontal = true;
24
+ var colorName = "Porosity";
25
+ var Template = function (args) {
26
+ return React.createElement(ContinuousLegend, __assign({}, args));
16
27
  };
17
- export const PoroTotTemplate = Template.bind({});
28
+ export var PoroTotTemplate = Template.bind({});
18
29
  PoroTotTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=PoroTot.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/PoroTot.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,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;AAE7B,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,SAAS;IACT,WAAW;IACX,UAAU;CACb,CAAC"}
1
+ {"version":3,"file":"PoroTot.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/PoroTot.stories.jsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,GAAG,GAAG,IAAI,CAAC;AACjB,IAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,IAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1B,IAAM,UAAU,GAAG,IAAI,CAAC;AACxB,IAAM,SAAS,GAAG,UAAU,CAAC;AAE7B,IAAM,QAAQ,GAAG,UAAC,IAAI;IAClB,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACnB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,QAAQ,UAAA;IACR,SAAS,WAAA;IACT,WAAW,aAAA;IACX,UAAU,YAAA;CACb,CAAC"}
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  import React from "react";
2
13
  import { ContinuousLegend } from "../../../component/Legend/ContinuousLegend";
3
14
  export default {
@@ -5,23 +16,23 @@ export default {
5
16
  title: "Legends/ContinousLegend",
6
17
  };
7
18
  import colorTables from "../../../component/color-tables.json";
8
- 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 Template = (args) => {
15
- return React.createElement(ContinuousLegend, Object.assign({}, args));
19
+ var min = 0;
20
+ var max = 0.35;
21
+ var dataObjectName = "Wells / PORO";
22
+ var position = [16, 10];
23
+ var horizontal = true;
24
+ var colorName = "Porosity";
25
+ var Template = function (args) {
26
+ return React.createElement(ContinuousLegend, __assign({}, args));
16
27
  };
17
- export const PorosityTemplate = Template.bind({});
28
+ export var PorosityTemplate = Template.bind({});
18
29
  PorosityTemplate.args = {
19
- min,
20
- max,
21
- dataObjectName,
22
- position,
23
- colorName,
24
- colorTables,
25
- horizontal,
30
+ min: min,
31
+ max: max,
32
+ dataObjectName: dataObjectName,
33
+ position: position,
34
+ colorName: colorName,
35
+ colorTables: colorTables,
36
+ horizontal: horizontal,
26
37
  };
27
38
  //# sourceMappingURL=Porosity.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Porosity.stories.js","sourceRoot":"","sources":["../../../../src/stories/ColorLegends/ContinousLegends/Porosity.stories.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,eAAe;IACX,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,yBAAyB;CACnC,CAAC;AACF,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAE/D,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;AAE7B,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,SAAS;IACT,WAAW;IACX,UAAU;CACb,CAAC"}
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"}