@redus/georedus-ui 0.1.0 → 0.1.1
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/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ import { __makeTemplateObject as __makeTemplateObject$2, __rest as __rest$2, __a
|
|
|
14
14
|
import remarkMath from 'remark-math';
|
|
15
15
|
import rehypeKatex from 'rehype-katex';
|
|
16
16
|
import 'katex/dist/katex.min.css';
|
|
17
|
-
import { isPlainObject, pick, omit, set, get as get$1, uniqBy as uniqBy$1, groupBy as groupBy$1 } from 'lodash';
|
|
17
|
+
import { isPlainObject, pick, omit, set, get as get$1, uniqBy as uniqBy$1, groupBy as groupBy$1, uniq as uniq$1 } from 'lodash';
|
|
18
18
|
import { useDebounce } from 'react-use';
|
|
19
19
|
import { createDialogSystem, DIALOGS } from '@orioro/react-dialogs';
|
|
20
20
|
import { CsvImportDialog } from '@orioro/react-csv';
|
|
@@ -33,12 +33,13 @@ import 'maplibre-gl/dist/maplibre-gl.css';
|
|
|
33
33
|
import { useQuery, useQueries } from '@tanstack/react-query';
|
|
34
34
|
import { makeResolve, $$literal, withExpressionResolvers, expressions, ALL_EXPR, fetchExpr, resolve, resolveAsync } from '@orioro/resolve';
|
|
35
35
|
import queryString from 'query-string';
|
|
36
|
-
import {
|
|
36
|
+
import { G as GeoReDUSWorker } from './GeoReDUSWorker-CUtcjDST.js';
|
|
37
37
|
import { get } from '@orioro/get';
|
|
38
38
|
import { saveAs } from 'file-saver';
|
|
39
39
|
import initGdalJs from 'gdal3.js';
|
|
40
40
|
import { validate } from '@orioro/validate';
|
|
41
41
|
import { csvParse } from 'd3-dsv';
|
|
42
|
+
import 'comlink';
|
|
42
43
|
|
|
43
44
|
function _arrayLikeToArray(r, a) {
|
|
44
45
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -2856,11 +2857,6 @@ function Legend(_a) {
|
|
|
2856
2857
|
return /*#__PURE__*/React$1.createElement(Component, _assign({}, props));
|
|
2857
2858
|
}
|
|
2858
2859
|
|
|
2859
|
-
var worker = typeof Worker !== 'undefined' && new Worker(new URL('./GeoReDUSWorker.worker.ts', import.meta.url), {
|
|
2860
|
-
type: 'module'
|
|
2861
|
-
});
|
|
2862
|
-
var GeoReDUSWorker = worker ? wrap(worker) : null;
|
|
2863
|
-
|
|
2864
2860
|
// export const $workerGet: ExpressionSpec<[any, any?]> = {
|
|
2865
2861
|
// parseArgs: ([arg1, arg2], { parseNodeInput }) =>
|
|
2866
2862
|
// typeof arg2 === 'undefined'
|
|
@@ -7582,7 +7578,7 @@ function _parseGeoFileMetadata() {
|
|
|
7582
7578
|
case 2:
|
|
7583
7579
|
contents = _context2.sent;
|
|
7584
7580
|
geoJson = JSON.parse(contents);
|
|
7585
|
-
geometryTypes = geoJson.type === 'FeatureCollection' ? uniq((geoJson.features || []).map(function (feature) {
|
|
7581
|
+
geometryTypes = geoJson.type === 'FeatureCollection' ? uniq$1((geoJson.features || []).map(function (feature) {
|
|
7586
7582
|
var _feature$geometry;
|
|
7587
7583
|
return (_feature$geometry = feature.geometry) === null || _feature$geometry === void 0 ? void 0 : _feature$geometry.type;
|
|
7588
7584
|
})).filter(Boolean) : [];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redus/georedus-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"packageManager": "yarn@4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/
|
|
6
|
+
"main": "dist/main.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
".": "./dist/
|
|
9
|
+
".": "./dist/main.mjs",
|
|
10
10
|
"./*": "./dist/*"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|