pollination-react-io 1.80.4 → 1.80.6
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/build/index.esm.js +6 -6
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -53474,7 +53474,7 @@ var SendGeometry = function (_a) {
|
|
53474
53474
|
width: 'auto',
|
53475
53475
|
backgroundColor: 'white',
|
53476
53476
|
color: '#393e46',
|
53477
|
-
fontSize: '
|
53477
|
+
fontSize: '12px',
|
53478
53478
|
padding: '10px',
|
53479
53479
|
cursor: 'pointer'
|
53480
53480
|
}, triggerStyle: {
|
@@ -53608,7 +53608,7 @@ var SendModel = function (_a) {
|
|
53608
53608
|
width: 'auto',
|
53609
53609
|
backgroundColor: 'white',
|
53610
53610
|
color: '#393e46',
|
53611
|
-
fontSize: '
|
53611
|
+
fontSize: '12px',
|
53612
53612
|
padding: '10px',
|
53613
53613
|
cursor: 'pointer'
|
53614
53614
|
}, triggerStyle: {
|
@@ -53691,7 +53691,7 @@ var overlayOptions = [
|
|
53691
53691
|
var SendResults = function (_a) {
|
53692
53692
|
var _b;
|
53693
53693
|
var results = _a.results, defaultAction = _a.defaultAction, defaultKey = _a.defaultKey, optionsConfig = _a.optionsConfig, geometryOptions = _a.geometryOptions;
|
53694
|
-
var _c = useState(
|
53694
|
+
var _c = useState(), currResults = _c[0], setCurrResults = _c[1];
|
53695
53695
|
var _d = useState(defaultKey !== null && defaultKey !== void 0 ? defaultKey : performance.now().toString()), key = _d[0], setKey = _d[1];
|
53696
53696
|
var _e = useState(), currOption = _e[0], setCurrOption = _e[1];
|
53697
53697
|
useEffect(function () { return setCurrResults(results); }, [results]);
|
@@ -53702,7 +53702,7 @@ var SendResults = function (_a) {
|
|
53702
53702
|
var _a;
|
53703
53703
|
if (!currResults)
|
53704
53704
|
return [];
|
53705
|
-
var res =
|
53705
|
+
var res = currResults;
|
53706
53706
|
var analysisGeometry = (_a = res === null || res === void 0 ? void 0 : res.geometry) === null || _a === void 0 ? void 0 : _a.filter(function (g) { return g.type === 'AnalysisGeometry'; });
|
53707
53707
|
if (!analysisGeometry || (analysisGeometry === null || analysisGeometry === void 0 ? void 0 : analysisGeometry.length) === 0)
|
53708
53708
|
return [];
|
@@ -53776,7 +53776,7 @@ var SendResults = function (_a) {
|
|
53776
53776
|
width: 'auto',
|
53777
53777
|
backgroundColor: 'white',
|
53778
53778
|
color: '#393e46',
|
53779
|
-
fontSize: '
|
53779
|
+
fontSize: '12px',
|
53780
53780
|
padding: '10px',
|
53781
53781
|
cursor: 'pointer'
|
53782
53782
|
}, triggerStyle: {
|
@@ -53807,7 +53807,7 @@ var SendResults = function (_a) {
|
|
53807
53807
|
width: 'auto',
|
53808
53808
|
backgroundColor: 'white',
|
53809
53809
|
color: '#393e46',
|
53810
|
-
fontSize: '
|
53810
|
+
fontSize: '12px',
|
53811
53811
|
padding: '10px',
|
53812
53812
|
cursor: 'pointer'
|
53813
53813
|
}, icon: React__default.createElement(Database$1, { size: 10, color: '#393e46' }), triggerStyle: {
|