@evergis/react 4.0.96 → 4.0.98
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/index.js +12 -12
- package/dist/react.esm.js +12 -12
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13117,15 +13117,25 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
13117
13117
|
...(filters || {}),
|
|
13118
13118
|
...(newFilters || {}),
|
|
13119
13119
|
};
|
|
13120
|
+
const newParams = applyQueryFilters({
|
|
13121
|
+
parameters,
|
|
13122
|
+
selectedFilters,
|
|
13123
|
+
attributes,
|
|
13124
|
+
filters: configFilters,
|
|
13125
|
+
geometry: ewktGeometry,
|
|
13126
|
+
layerInfo,
|
|
13127
|
+
dataSources,
|
|
13128
|
+
projectDataSources,
|
|
13129
|
+
});
|
|
13120
13130
|
if (resourceId) {
|
|
13121
|
-
const newSignature = JSON.stringify(["python", resourceId,
|
|
13131
|
+
const newSignature = JSON.stringify(["python", resourceId, newParams, methodName, fileName]);
|
|
13122
13132
|
const response = await dedupe(newSignature, () => api.remoteTaskManager.post({
|
|
13123
13133
|
workerType: "pythonService",
|
|
13124
13134
|
methodType: "pythonrunner/run",
|
|
13125
13135
|
data: {
|
|
13126
13136
|
method: "get",
|
|
13127
13137
|
resourceId,
|
|
13128
|
-
parameters,
|
|
13138
|
+
parameters: newParams,
|
|
13129
13139
|
...(fileName && { fileName }),
|
|
13130
13140
|
...(methodName && { methodName }),
|
|
13131
13141
|
},
|
|
@@ -13135,16 +13145,6 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
13135
13145
|
}
|
|
13136
13146
|
return response.result;
|
|
13137
13147
|
}
|
|
13138
|
-
const newParams = applyQueryFilters({
|
|
13139
|
-
parameters,
|
|
13140
|
-
selectedFilters,
|
|
13141
|
-
attributes,
|
|
13142
|
-
filters: configFilters,
|
|
13143
|
-
geometry: ewktGeometry,
|
|
13144
|
-
layerInfo,
|
|
13145
|
-
dataSources,
|
|
13146
|
-
projectDataSources,
|
|
13147
|
-
});
|
|
13148
13148
|
if (url) {
|
|
13149
13149
|
const newSignature = JSON.stringify(["url", url, newParams]);
|
|
13150
13150
|
try {
|
package/dist/react.esm.js
CHANGED
|
@@ -13115,15 +13115,25 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
13115
13115
|
...(filters || {}),
|
|
13116
13116
|
...(newFilters || {}),
|
|
13117
13117
|
};
|
|
13118
|
+
const newParams = applyQueryFilters({
|
|
13119
|
+
parameters,
|
|
13120
|
+
selectedFilters,
|
|
13121
|
+
attributes,
|
|
13122
|
+
filters: configFilters,
|
|
13123
|
+
geometry: ewktGeometry,
|
|
13124
|
+
layerInfo,
|
|
13125
|
+
dataSources,
|
|
13126
|
+
projectDataSources,
|
|
13127
|
+
});
|
|
13118
13128
|
if (resourceId) {
|
|
13119
|
-
const newSignature = JSON.stringify(["python", resourceId,
|
|
13129
|
+
const newSignature = JSON.stringify(["python", resourceId, newParams, methodName, fileName]);
|
|
13120
13130
|
const response = await dedupe(newSignature, () => api.remoteTaskManager.post({
|
|
13121
13131
|
workerType: "pythonService",
|
|
13122
13132
|
methodType: "pythonrunner/run",
|
|
13123
13133
|
data: {
|
|
13124
13134
|
method: "get",
|
|
13125
13135
|
resourceId,
|
|
13126
|
-
parameters,
|
|
13136
|
+
parameters: newParams,
|
|
13127
13137
|
...(fileName && { fileName }),
|
|
13128
13138
|
...(methodName && { methodName }),
|
|
13129
13139
|
},
|
|
@@ -13133,16 +13143,6 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
13133
13143
|
}
|
|
13134
13144
|
return response.result;
|
|
13135
13145
|
}
|
|
13136
|
-
const newParams = applyQueryFilters({
|
|
13137
|
-
parameters,
|
|
13138
|
-
selectedFilters,
|
|
13139
|
-
attributes,
|
|
13140
|
-
filters: configFilters,
|
|
13141
|
-
geometry: ewktGeometry,
|
|
13142
|
-
layerInfo,
|
|
13143
|
-
dataSources,
|
|
13144
|
-
projectDataSources,
|
|
13145
|
-
});
|
|
13146
13146
|
if (url) {
|
|
13147
13147
|
const newSignature = JSON.stringify(["url", url, newParams]);
|
|
13148
13148
|
try {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.98",
|
|
3
3
|
"name": "@evergis/react",
|
|
4
4
|
"author": "Everpoint",
|
|
5
5
|
"license": "MIT",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"storybook": "^7.6.14"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@evergis/api": "^5.0.
|
|
61
|
-
"@evergis/charts": "^4.0.
|
|
60
|
+
"@evergis/api": "^5.0.36",
|
|
61
|
+
"@evergis/charts": "^4.0.34",
|
|
62
62
|
"@evergis/color": "^1.0.0-alpha.1",
|
|
63
63
|
"@evergis/uilib-gl": "^1.0.119",
|
|
64
64
|
"@mapbox/mapbox-gl-draw": "^1.5.1",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"uuid": "^13.0.0",
|
|
90
90
|
"wkt": "^0.1.1"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "5717d4569c13acf302fad47f14221216fbe6ff94"
|
|
93
93
|
}
|