@redus/georedus-ui 0.1.1 → 0.1.3
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 +12 -0
- package/dist/DialogSystem/index.d.ts +2 -1
- package/dist/GeoReDUS/GeoReDUS.d.ts +2 -1
- package/dist/GeoReDUSLogo/GeoReDUSLogo.d.ts +2 -1
- package/dist/GeoReDUSLogo/GeoReDUSLogoSymbol.d.ts +2 -1
- package/dist/GeoReDUSLogo/GeoReDUSLogoText.d.ts +2 -1
- package/dist/GeoReDUSWorker.worker.js +40 -0
- package/dist/InputSystem/Inputs/GeoFile/GeoFile.d.ts +2 -1
- package/dist/InputSystem/index.d.ts +2 -1
- package/dist/LeftPanel/LeftPanel.d.ts +2 -1
- package/dist/Markdown/index.d.ts +2 -1
- package/dist/ViewControl/CollapsibleContent.d.ts +2 -1
- package/dist/ViewControl/ViewConfTabs.d.ts +2 -1
- package/dist/ViewControl/ViewControl.d.ts +2 -1
- package/dist/ViewLayoutPopover/ViewLayoutControl.d.ts +2 -1
- package/dist/ViewLayoutPopover/ViewLayoutPopover.d.ts +2 -1
- package/dist/ViewMenu/ViewMenu.d.ts +2 -1
- package/dist/{main.mjs → main.js} +94 -90
- package/package.json +4 -4
- package/dist/GeoReDUSWorker/GeoReDUSWorker.worker.d.ts +0 -1
- package/dist/GeoReDUSWorker-CUtcjDST.js +0 -8
- package/dist/GeoReDUSWorker.mjs +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export function DialogsProvider({ children }: {
|
|
2
2
|
children: any;
|
|
3
|
-
}):
|
|
3
|
+
}): React.JSX.Element;
|
|
4
|
+
import React from 'react';
|
|
4
5
|
export const useDialogs: () => import("@orioro/react-dialogs").DialogsAPI<import("@orioro/react-dialogs").DialogSpecList>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function GeoReDUSLogo():
|
|
1
|
+
export function GeoReDUSLogo(): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function GeoReDUSLogoSymbol():
|
|
1
|
+
export function GeoReDUSLogoSymbol(): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function GeoReDUSLogoText():
|
|
1
|
+
export function GeoReDUSLogoText(): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as Comlink from 'comlink';
|
|
2
|
+
import { scaleNaturalBreaks } from '@orioro/scale-util';
|
|
3
|
+
import { flatten, booleanIntersects, union, featureCollection } from '@turf/turf';
|
|
4
|
+
|
|
5
|
+
function dissolveAreasPreservingIsolated(geojson) {
|
|
6
|
+
var features = flatten(geojson).features.filter(Boolean);
|
|
7
|
+
var changed = true;
|
|
8
|
+
// Keep merging until nothing changes
|
|
9
|
+
while (changed) {
|
|
10
|
+
changed = false;
|
|
11
|
+
var merged = [];
|
|
12
|
+
var used = new Array(features.length).fill(false);
|
|
13
|
+
for (var i = 0; i < features.length; i++) {
|
|
14
|
+
if (used[i]) continue;
|
|
15
|
+
var current = features[i];
|
|
16
|
+
for (var j = i + 1; j < features.length; j++) {
|
|
17
|
+
if (used[j]) continue;
|
|
18
|
+
if (booleanIntersects(current, features[j])) {
|
|
19
|
+
var result = union(featureCollection([current, features[j]]));
|
|
20
|
+
if (result) {
|
|
21
|
+
current = result;
|
|
22
|
+
used[j] = true;
|
|
23
|
+
changed = true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
used[i] = true;
|
|
28
|
+
merged.push(current);
|
|
29
|
+
}
|
|
30
|
+
features = merged;
|
|
31
|
+
}
|
|
32
|
+
return featureCollection(features);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// A simple Comlink worker that doubles a number
|
|
36
|
+
var api = {
|
|
37
|
+
scaleNaturalBreaks: scaleNaturalBreaks,
|
|
38
|
+
dissolveAreasPreservingIsolated: dissolveAreasPreservingIsolated
|
|
39
|
+
};
|
|
40
|
+
Comlink.expose(api);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function GeoFile(props: any):
|
|
1
|
+
export function GeoFile(props: any): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function InputProvider(props: any):
|
|
1
|
+
export function InputProvider(props: any): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export function Markdown(props: any):
|
|
1
|
+
export function Markdown(props: any): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
|
-
export declare const CollapsibleContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Collapsible.CollapsibleContentProps &
|
|
3
|
+
export declare const CollapsibleContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Collapsible.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, never>> & string & Omit<React.ForwardRefExoticComponent<Collapsible.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>, keyof React.Component<any, {}, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import React, { useMemo, createContext, useState, useRef, useContext, useCallback, forwardRef, useImperativeHandle, createRef, useEffect, useReducer } from 'react';
|
|
1
2
|
import { Flex, TextEllipsis, TextInput, Button, MARKDOWN_DEFAULT_REMARK_PLUGINS, MARKDOWN_DEFAULT_REHYPE_PLUGINS, Markdown as Markdown$1, CANCELLED, DropdownMenu, Box, Input, SwitchInput, withDefaults, LoadingOverlay, useRefByKey, fileReadAs, SingleFileInput, InputProvider as InputProvider$1, rendererSpecList, withLabeledLayout, INPUTS, useLocalState, EvenSpacedList, LoadingIndicator } from '@orioro/react-ui-core';
|
|
2
3
|
import { nodesFromPaths, treeModel, nodeIdFromPath } from '@orioro/tree-model';
|
|
3
|
-
import React$1, { useMemo, createContext, useState, useRef, useContext, useCallback, forwardRef, useImperativeHandle, createRef, useEffect, useReducer } from 'react';
|
|
4
4
|
import * as Tabs from '@radix-ui/react-tabs';
|
|
5
5
|
import styled, { keyframes } from 'styled-components';
|
|
6
6
|
import { Tooltip, Heading, Select, Tabs as Tabs$1, IconButton, Theme, Text, Dialog, Portal, Popover } from '@radix-ui/themes';
|
|
@@ -33,13 +33,12 @@ 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 { wrap } from 'comlink';
|
|
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';
|
|
43
42
|
|
|
44
43
|
function _arrayLikeToArray(r, a) {
|
|
45
44
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -569,7 +568,7 @@ var DefaultDirContainer = styled.div(templateObject_3$3 || (templateObject_3$3 =
|
|
|
569
568
|
var DefaultItemContainer$1 = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$1([""], [""])));
|
|
570
569
|
function DefaultDirLabel(_a) {
|
|
571
570
|
var node = _a.node;
|
|
572
|
-
return /*#__PURE__*/React
|
|
571
|
+
return /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
573
572
|
style: {
|
|
574
573
|
textAlign: 'left'
|
|
575
574
|
}
|
|
@@ -603,33 +602,33 @@ function makeDir(config) {
|
|
|
603
602
|
});
|
|
604
603
|
}, [node.childNodes]);
|
|
605
604
|
// const _byType = useSortedNodesByType(node.childNodes)
|
|
606
|
-
return /*#__PURE__*/React
|
|
605
|
+
return /*#__PURE__*/React.createElement(Container$3, null, /*#__PURE__*/React.createElement(Collapsible.Root, {
|
|
607
606
|
open: open,
|
|
608
607
|
onOpenChange: setOpen
|
|
609
|
-
}, /*#__PURE__*/React
|
|
608
|
+
}, /*#__PURE__*/React.createElement(CollapsibleTrigger, null, /*#__PURE__*/React.createElement("div", {
|
|
610
609
|
style: {
|
|
611
610
|
paddingLeft: depth * 10
|
|
612
611
|
}
|
|
613
|
-
}, /*#__PURE__*/React
|
|
612
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
614
613
|
style: {
|
|
615
614
|
transform: open ? 'rotateZ(90deg)' : 'rotateZ(0)'
|
|
616
615
|
},
|
|
617
616
|
path: mdiChevronRight,
|
|
618
617
|
size: "20px"
|
|
619
|
-
}), /*#__PURE__*/React
|
|
618
|
+
}), /*#__PURE__*/React.createElement(Icon, {
|
|
620
619
|
path: open ? mdiFolderOpen : mdiFolder,
|
|
621
620
|
size: "20px"
|
|
622
|
-
})), /*#__PURE__*/React
|
|
621
|
+
})), /*#__PURE__*/React.createElement(DirLabel, {
|
|
623
622
|
node: node,
|
|
624
623
|
depth: depth,
|
|
625
624
|
open: open
|
|
626
|
-
})), /*#__PURE__*/React
|
|
625
|
+
})), /*#__PURE__*/React.createElement(CollapsibleContent$1, null, ((_b = _byType.dir) === null || _b === void 0 ? void 0 : _b.length) > 0 ? (/*#__PURE__*/React.createElement(DirContainer, null, /*#__PURE__*/React.createElement(NodeList, {
|
|
627
626
|
nodes: _byType.dir,
|
|
628
627
|
depth: depth + 1
|
|
629
|
-
}))) : null, ((_c = _byType.item) === null || _c === void 0 ? void 0 : _c.length) > 0 ? (/*#__PURE__*/React
|
|
628
|
+
}))) : null, ((_c = _byType.item) === null || _c === void 0 ? void 0 : _c.length) > 0 ? (/*#__PURE__*/React.createElement(ItemContainer, null, /*#__PURE__*/React.createElement(NodeList, {
|
|
630
629
|
nodes: _byType.item,
|
|
631
630
|
depth: depth + 1
|
|
632
|
-
}))) : null, Object.keys(_byType).length === 0 ? (/*#__PURE__*/React
|
|
631
|
+
}))) : null, Object.keys(_byType).length === 0 ? (/*#__PURE__*/React.createElement(EmptyNodeList, null, "N\xE3o h\xE1 conte\xFAdo")) : null)));
|
|
633
632
|
};
|
|
634
633
|
}
|
|
635
634
|
var templateObject_1$4$1, templateObject_2$3$1, templateObject_3$3, templateObject_4$2;
|
|
@@ -645,11 +644,11 @@ function Item$1(_a) {
|
|
|
645
644
|
return onSelectItem(node);
|
|
646
645
|
} : undefined;
|
|
647
646
|
}, [onSelectItem, node]);
|
|
648
|
-
return /*#__PURE__*/React
|
|
647
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
649
648
|
style: {
|
|
650
649
|
paddingLeft: depth * 10
|
|
651
650
|
}
|
|
652
|
-
}, /*#__PURE__*/React
|
|
651
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
653
652
|
style: {
|
|
654
653
|
width: '100%',
|
|
655
654
|
justifyContent: 'flex-start',
|
|
@@ -658,7 +657,7 @@ function Item$1(_a) {
|
|
|
658
657
|
type: "Button",
|
|
659
658
|
radius: "none",
|
|
660
659
|
onClick: onClick
|
|
661
|
-
}, /*#__PURE__*/React
|
|
660
|
+
}, /*#__PURE__*/React.createElement(TextEllipsis, null, node.label)));
|
|
662
661
|
}
|
|
663
662
|
function makeDirTree(config) {
|
|
664
663
|
var _a;
|
|
@@ -675,10 +674,10 @@ var ContentContainer = styled.div(templateObject_2$2$1 || (templateObject_2$2$1
|
|
|
675
674
|
function NavSection(_a) {
|
|
676
675
|
var header = _a.header,
|
|
677
676
|
children = _a.children;
|
|
678
|
-
return /*#__PURE__*/React
|
|
677
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
679
678
|
direction: "column",
|
|
680
679
|
height: "100%"
|
|
681
|
-
}, /*#__PURE__*/React
|
|
680
|
+
}, /*#__PURE__*/React.createElement(HeaderContainer, null, header), /*#__PURE__*/React.createElement(ContentContainer, null, children));
|
|
682
681
|
}
|
|
683
682
|
var templateObject_1$3$1, templateObject_2$2$1;
|
|
684
683
|
var SingleChildBadge = styled.div(templateObject_1$2$2 || (templateObject_1$2$2 = __makeTemplateObject$1(["\n font-size: var(--font-size-1);\n background-color: var(--color-surface);\n color: var(--gray-12);\n padding-left: var(--space-2);\n padding-right: var(--space-2);\n height: var(--space-5);\n\n display: flex;\n align-items: center;\n border-radius: 4px;\n border: 1px solid var(--gray-5);\n"], ["\n font-size: var(--font-size-1);\n background-color: var(--color-surface);\n color: var(--gray-12);\n padding-left: var(--space-2);\n padding-right: var(--space-2);\n height: var(--space-5);\n\n display: flex;\n align-items: center;\n border-radius: 4px;\n border: 1px solid var(--gray-5);\n"])));
|
|
@@ -694,32 +693,32 @@ function makeDirSection(config) {
|
|
|
694
693
|
var _c = useState(((_b = childNodes[0]) === null || _b === void 0 ? void 0 : _b.id) || null),
|
|
695
694
|
tabId = _c[0],
|
|
696
695
|
setTabId = _c[1];
|
|
697
|
-
return /*#__PURE__*/React
|
|
698
|
-
header: /*#__PURE__*/React
|
|
696
|
+
return /*#__PURE__*/React.createElement(NavSection, {
|
|
697
|
+
header: /*#__PURE__*/React.createElement(Flex, {
|
|
699
698
|
direction: "row",
|
|
700
699
|
alignItems: "center",
|
|
701
700
|
justifyContent: "space-between",
|
|
702
701
|
gap: "10px"
|
|
703
|
-
}, /*#__PURE__*/React
|
|
702
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
704
703
|
as: "h2",
|
|
705
704
|
size: "5",
|
|
706
705
|
style: {
|
|
707
706
|
// maxWidth: '60%',
|
|
708
707
|
color: 'var(--accent-9)'
|
|
709
708
|
}
|
|
710
|
-
}, /*#__PURE__*/React
|
|
709
|
+
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
711
710
|
maxLines: 2
|
|
712
|
-
}, node.label)), childNodes.length === 1 ? (/*#__PURE__*/React
|
|
711
|
+
}, node.label)), childNodes.length === 1 ? (/*#__PURE__*/React.createElement(SingleChildBadge, null, childNodes[0].label)) : (/*#__PURE__*/React.createElement(Select.Root, {
|
|
713
712
|
size: "1",
|
|
714
713
|
value: tabId,
|
|
715
714
|
onValueChange: setTabId
|
|
716
|
-
}, /*#__PURE__*/React
|
|
717
|
-
return /*#__PURE__*/React
|
|
715
|
+
}, /*#__PURE__*/React.createElement(Select.Trigger, null), /*#__PURE__*/React.createElement(Select.Content, null, childNodes.map(function (childNode) {
|
|
716
|
+
return /*#__PURE__*/React.createElement(Select.Item, {
|
|
718
717
|
key: "".concat(node.id, "_").concat(childNode.id),
|
|
719
718
|
value: childNode.id
|
|
720
719
|
}, childNode.label);
|
|
721
720
|
})))))
|
|
722
|
-
}, /*#__PURE__*/React
|
|
721
|
+
}, /*#__PURE__*/React.createElement(DirTree, {
|
|
723
722
|
tree: tree,
|
|
724
723
|
rootNodeId: tabId
|
|
725
724
|
}));
|
|
@@ -763,26 +762,26 @@ function makeSearchSection(config) {
|
|
|
763
762
|
return nodesById[option.value];
|
|
764
763
|
});
|
|
765
764
|
}, [search, textSearch]);
|
|
766
|
-
return /*#__PURE__*/React
|
|
767
|
-
header: /*#__PURE__*/React
|
|
765
|
+
return /*#__PURE__*/React.createElement(NavSection, {
|
|
766
|
+
header: /*#__PURE__*/React.createElement(TextInput, {
|
|
768
767
|
ref: queryInputRef,
|
|
769
768
|
value: textSearch,
|
|
770
769
|
onSetValue: setTextSearch,
|
|
771
770
|
validate: false,
|
|
772
771
|
placeholder: "Pesquisar indicadores"
|
|
773
772
|
})
|
|
774
|
-
}, textSearch && (searchResults.length > 0 ? (/*#__PURE__*/React
|
|
775
|
-
return /*#__PURE__*/React
|
|
773
|
+
}, textSearch && (searchResults.length > 0 ? (/*#__PURE__*/React.createElement(ItemContainer, null, search(textSearch).map(function (option, index) {
|
|
774
|
+
return /*#__PURE__*/React.createElement(Item$1$1, {
|
|
776
775
|
key: index,
|
|
777
776
|
node: tree.node(option.value),
|
|
778
777
|
depth: 0,
|
|
779
778
|
textSearch: textSearch
|
|
780
779
|
});
|
|
781
|
-
}))) : (/*#__PURE__*/React
|
|
780
|
+
}))) : (/*#__PURE__*/React.createElement(UsageInstructions, null, /*#__PURE__*/React.createElement(Flex, {
|
|
782
781
|
direction: "column",
|
|
783
782
|
gap: "10px",
|
|
784
783
|
alignItems: "center"
|
|
785
|
-
}, /*#__PURE__*/React
|
|
784
|
+
}, /*#__PURE__*/React.createElement("div", null, "N\xE3o h\xE1 resultados correspondentes \xE0 sua busca"), /*#__PURE__*/React.createElement(Button, {
|
|
786
785
|
size: "1",
|
|
787
786
|
variant: "ghost",
|
|
788
787
|
type: "button",
|
|
@@ -791,10 +790,10 @@ function makeSearchSection(config) {
|
|
|
791
790
|
(_a = queryInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
792
791
|
setTextSearch('');
|
|
793
792
|
}
|
|
794
|
-
}, "Limpar busca ", /*#__PURE__*/React
|
|
793
|
+
}, "Limpar busca ", /*#__PURE__*/React.createElement(Icon, {
|
|
795
794
|
path: mdiClose,
|
|
796
795
|
size: "16px"
|
|
797
|
-
})))))), !textSearch && (/*#__PURE__*/React
|
|
796
|
+
})))))), !textSearch && (/*#__PURE__*/React.createElement(UsageInstructions, null, "Pesquise por indicadores digitando termos de interesse, ou navegue pelos temas nas abas \xE0 esquerda.")));
|
|
798
797
|
// return (
|
|
799
798
|
// <Flex direction="column">
|
|
800
799
|
// </Flex>
|
|
@@ -805,14 +804,14 @@ var templateObject_1$1$2, templateObject_2$1$1;
|
|
|
805
804
|
var IconTabTrigger = styled(Tabs.Trigger)(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject$1(["\n padding: 0;\n border: none;\n\n width: var(--dir-nav-tab-button-size);\n height: var(--dir-nav-tab-button-size);\n flex-shrink: 0;\n\n background-color: var(--dir-nav-surface-color);\n\n transition:\n color 0.3s ease,\n background-color 0.3s ease;\n\n border-bottom: solid 1px var(--gray-7);\n\n color: var(--accent-9);\n\n &:hover,\n &:focus {\n background-color: var(--accent-5);\n }\n\n &[data-state='active'] {\n background-color: var(--accent-9);\n color: white;\n cursor: default;\n }\n\n > div {\n cursor: pointer;\n\n width: var(--dir-nav-tab-button-size);\n height: var(--dir-nav-tab-button-size);\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n height: calc(0.6 * var(--dir-nav-tab-button-size));\n width: calc(0.6 * var(--dir-nav-tab-button-size));\n }\n }\n"], ["\n padding: 0;\n border: none;\n\n width: var(--dir-nav-tab-button-size);\n height: var(--dir-nav-tab-button-size);\n flex-shrink: 0;\n\n background-color: var(--dir-nav-surface-color);\n\n transition:\n color 0.3s ease,\n background-color 0.3s ease;\n\n border-bottom: solid 1px var(--gray-7);\n\n color: var(--accent-9);\n\n &:hover,\n &:focus {\n background-color: var(--accent-5);\n }\n\n &[data-state='active'] {\n background-color: var(--accent-9);\n color: white;\n cursor: default;\n }\n\n > div {\n cursor: pointer;\n\n width: var(--dir-nav-tab-button-size);\n height: var(--dir-nav-tab-button-size);\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n height: calc(0.6 * var(--dir-nav-tab-button-size));\n width: calc(0.6 * var(--dir-nav-tab-button-size));\n }\n }\n"])));
|
|
806
805
|
var TabsRoot = styled(Tabs.Root)(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$1(["\n > * {\n height: 100%;\n }\n"], ["\n > * {\n height: 100%;\n }\n"])));
|
|
807
806
|
function defaultGetNodeIcon(node) {
|
|
808
|
-
return /*#__PURE__*/React
|
|
807
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
809
808
|
path: mdiFolderOutline,
|
|
810
809
|
size: "30px"
|
|
811
810
|
});
|
|
812
811
|
}
|
|
813
812
|
function DefaultEmptySection() {
|
|
814
|
-
return /*#__PURE__*/React
|
|
815
|
-
header: /*#__PURE__*/React
|
|
813
|
+
return /*#__PURE__*/React.createElement(NavSection, {
|
|
814
|
+
header: /*#__PURE__*/React.createElement("div", null, null)
|
|
816
815
|
}, null);
|
|
817
816
|
}
|
|
818
817
|
function makeDirNav(config) {
|
|
@@ -850,11 +849,11 @@ function makeDirNav(config) {
|
|
|
850
849
|
});
|
|
851
850
|
})));
|
|
852
851
|
}, [items]);
|
|
853
|
-
return /*#__PURE__*/React
|
|
852
|
+
return /*#__PURE__*/React.createElement(DirNavContext.Provider, {
|
|
854
853
|
value: {
|
|
855
854
|
onSelectItem: onSelectItem
|
|
856
855
|
}
|
|
857
|
-
}, /*#__PURE__*/React
|
|
856
|
+
}, /*#__PURE__*/React.createElement(TabsRoot, {
|
|
858
857
|
orientation: "vertical",
|
|
859
858
|
defaultValue: "_search",
|
|
860
859
|
style: _assign$1(_assign$1({}, style), {
|
|
@@ -866,14 +865,14 @@ function makeDirNav(config) {
|
|
|
866
865
|
'--dir-nav-separator-color': 'var(--accent-5)',
|
|
867
866
|
'--dir-nav-base-padding': '10px'
|
|
868
867
|
})
|
|
869
|
-
}, /*#__PURE__*/React
|
|
868
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
870
869
|
direction: "row",
|
|
871
870
|
gap: "0",
|
|
872
871
|
height: "100%",
|
|
873
872
|
width: "100%"
|
|
874
|
-
}, /*#__PURE__*/React
|
|
873
|
+
}, /*#__PURE__*/React.createElement(Tabs.List, {
|
|
875
874
|
asChild: true
|
|
876
|
-
}, /*#__PURE__*/React
|
|
875
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
877
876
|
direction: "column",
|
|
878
877
|
gap: "0",
|
|
879
878
|
style: {
|
|
@@ -883,47 +882,47 @@ function makeDirNav(config) {
|
|
|
883
882
|
backgroundColor: 'var(--dir-nav-surface-color)'
|
|
884
883
|
},
|
|
885
884
|
width: "var(--dir-nav-tab-button-size)"
|
|
886
|
-
}, items.length > 0 ? (/*#__PURE__*/React
|
|
885
|
+
}, items.length > 0 ? (/*#__PURE__*/React.createElement(IconTabTrigger, {
|
|
887
886
|
value: "_search",
|
|
888
887
|
style: {
|
|
889
888
|
height: 'var(--dir-nav-section-header-height)'
|
|
890
889
|
}
|
|
891
|
-
}, /*#__PURE__*/React
|
|
890
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
892
891
|
side: "right",
|
|
893
892
|
content: "Busca"
|
|
894
|
-
}, /*#__PURE__*/React
|
|
893
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Icon, {
|
|
895
894
|
path: mdiMagnify
|
|
896
895
|
}))))) : null, tree.rootNodeIds().map(function (id) {
|
|
897
|
-
return /*#__PURE__*/React
|
|
896
|
+
return /*#__PURE__*/React.createElement(IconTabTrigger, {
|
|
898
897
|
key: id,
|
|
899
898
|
value: id
|
|
900
|
-
}, /*#__PURE__*/React
|
|
899
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
901
900
|
side: "right",
|
|
902
901
|
content: tree.node(id).label
|
|
903
|
-
}, /*#__PURE__*/React
|
|
904
|
-
}), sideBarBottom)), /*#__PURE__*/React
|
|
902
|
+
}, /*#__PURE__*/React.createElement("div", null, getNodeIcon(tree.node(id)) || tree.node(id).label)));
|
|
903
|
+
}), sideBarBottom)), /*#__PURE__*/React.createElement("div", {
|
|
905
904
|
style: {
|
|
906
905
|
height: '100%',
|
|
907
906
|
flexGrow: 1,
|
|
908
907
|
flexShrink: 1
|
|
909
908
|
}
|
|
910
|
-
}, items.length > 0 ? (/*#__PURE__*/React
|
|
909
|
+
}, items.length > 0 ? (/*#__PURE__*/React.createElement(Tabs.Content, {
|
|
911
910
|
value: "_search",
|
|
912
911
|
style: {
|
|
913
912
|
height: '100%',
|
|
914
913
|
width: '100%'
|
|
915
914
|
}
|
|
916
|
-
}, /*#__PURE__*/React
|
|
915
|
+
}, /*#__PURE__*/React.createElement(SearchSection, {
|
|
917
916
|
tree: tree
|
|
918
|
-
}))) : (/*#__PURE__*/React
|
|
919
|
-
return /*#__PURE__*/React
|
|
917
|
+
}))) : (/*#__PURE__*/React.createElement(DefaultEmptySection, null)), tree.rootNodeIds().map(function (id) {
|
|
918
|
+
return /*#__PURE__*/React.createElement(Tabs.Content, {
|
|
920
919
|
key: id,
|
|
921
920
|
value: id,
|
|
922
921
|
style: {
|
|
923
922
|
height: '100%',
|
|
924
923
|
width: '100%'
|
|
925
924
|
}
|
|
926
|
-
}, /*#__PURE__*/React
|
|
925
|
+
}, /*#__PURE__*/React.createElement(DirSection, {
|
|
927
926
|
node: tree.node(id),
|
|
928
927
|
tree: tree
|
|
929
928
|
}));
|
|
@@ -1633,7 +1632,7 @@ function SharePanel(_ref) {
|
|
|
1633
1632
|
// throwOnError: process.env.NODE_ENV !== 'production',
|
|
1634
1633
|
// })
|
|
1635
1634
|
|
|
1636
|
-
return /*#__PURE__*/React
|
|
1635
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog.Title, null, "Compartilhar"), /*#__PURE__*/React.createElement(Flex, {
|
|
1637
1636
|
direction: "row",
|
|
1638
1637
|
gap: "4"
|
|
1639
1638
|
}, "ShareButtonBar"));
|
|
@@ -2231,21 +2230,21 @@ var LayeredMap = /*#__PURE__*/forwardRef(function LayeredMapInner(_a, layeredMap
|
|
|
2231
2230
|
getSrcLayer: getSrcLayer.bind(null, parsed)
|
|
2232
2231
|
};
|
|
2233
2232
|
}, [mapRef.current, parsed]);
|
|
2234
|
-
return /*#__PURE__*/React
|
|
2233
|
+
return /*#__PURE__*/React.createElement(Map, __assign({
|
|
2235
2234
|
ref: mapRef,
|
|
2236
2235
|
interactiveLayerIds: __spreadArray$2(__spreadArray$2([], interactiveLayerIdsInput, true), parsed.interactiveLayerIds, true)
|
|
2237
2236
|
}, mapProps, evtHandlers), children, parsed.sources.map(function (_a) {
|
|
2238
2237
|
var id = _a.id;
|
|
2239
2238
|
_a.viewId;
|
|
2240
2239
|
var source = __rest$2(_a, ["id", "viewId"]);
|
|
2241
|
-
return /*#__PURE__*/React
|
|
2240
|
+
return /*#__PURE__*/React.createElement(Source, __assign({
|
|
2242
2241
|
key: id,
|
|
2243
2242
|
id: id
|
|
2244
2243
|
}, source));
|
|
2245
2244
|
}), parsed.layers.map(function (_a) {
|
|
2246
2245
|
var id = _a.id,
|
|
2247
2246
|
layer = __rest$2(_a, ["id"]);
|
|
2248
|
-
return /*#__PURE__*/React
|
|
2247
|
+
return /*#__PURE__*/React.createElement(Layer, __assign({
|
|
2249
2248
|
key: id,
|
|
2250
2249
|
id: id
|
|
2251
2250
|
}, layer));
|
|
@@ -2259,15 +2258,15 @@ function DataSection(_a) {
|
|
|
2259
2258
|
var title = _a.title,
|
|
2260
2259
|
entries = _a.entries,
|
|
2261
2260
|
props = __rest$2(_a, ["title", "entries"]);
|
|
2262
|
-
return entries.length > 0 && (/*#__PURE__*/React
|
|
2261
|
+
return entries.length > 0 && (/*#__PURE__*/React.createElement(DataSectionContainer, __assign({
|
|
2263
2262
|
direction: "column",
|
|
2264
2263
|
gap: "10px"
|
|
2265
|
-
}, props), title && /*#__PURE__*/React
|
|
2264
|
+
}, props), title && /*#__PURE__*/React.createElement(DataSectionHeading, null, title), /*#__PURE__*/React.createElement(EntriesList, null, entries.map(function (_a, index) {
|
|
2266
2265
|
var label = _a[0],
|
|
2267
2266
|
value = _a[1];
|
|
2268
|
-
return /*#__PURE__*/React
|
|
2267
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
2269
2268
|
key: index
|
|
2270
|
-
}, typeof label === 'string' ? /*#__PURE__*/React
|
|
2269
|
+
}, typeof label === 'string' ? /*#__PURE__*/React.createElement("span", null, label, ": ") : label, typeof value === 'string' ? (/*#__PURE__*/React.createElement("span", {
|
|
2271
2270
|
style: {
|
|
2272
2271
|
fontWeight: 'bold'
|
|
2273
2272
|
}
|
|
@@ -2280,17 +2279,17 @@ function HoverTooltip(_a) {
|
|
|
2280
2279
|
dataSections = _a.dataSections,
|
|
2281
2280
|
_b = _a.style,
|
|
2282
2281
|
style = _b === void 0 ? {} : _b;
|
|
2283
|
-
return /*#__PURE__*/React
|
|
2282
|
+
return /*#__PURE__*/React.createElement(Container$1, {
|
|
2284
2283
|
style: __assign({
|
|
2285
2284
|
left: position[0] + 15,
|
|
2286
2285
|
top: position[1] - 20
|
|
2287
2286
|
}, style)
|
|
2288
|
-
}, Array.isArray(dataSections) && dataSections.length > 0 && (/*#__PURE__*/React
|
|
2287
|
+
}, Array.isArray(dataSections) && dataSections.length > 0 && (/*#__PURE__*/React.createElement(Flex, {
|
|
2289
2288
|
direction: "column"
|
|
2290
2289
|
}, dataSections.map(function (section, index) {
|
|
2291
|
-
return /*#__PURE__*/React
|
|
2290
|
+
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
2292
2291
|
key: index
|
|
2293
|
-
}, /*#__PURE__*/React
|
|
2292
|
+
}, /*#__PURE__*/React.createElement(DataSection, __assign({}, section)), index === dataSections.length - 1 ? null : (/*#__PURE__*/React.createElement("div", {
|
|
2294
2293
|
style: {
|
|
2295
2294
|
width: '100%',
|
|
2296
2295
|
margin: 0,
|
|
@@ -2407,7 +2406,7 @@ var MapWindow = /*#__PURE__*/forwardRef(function MapWindowInner(_a, externalRef)
|
|
|
2407
2406
|
externalOnLoad(e);
|
|
2408
2407
|
}
|
|
2409
2408
|
}, [setCenterOffsetPixels, setMapReady]);
|
|
2410
|
-
return /*#__PURE__*/React
|
|
2409
|
+
return /*#__PURE__*/React.createElement(Map, __assign({
|
|
2411
2410
|
attributionControl: false
|
|
2412
2411
|
}, mapProps, {
|
|
2413
2412
|
onLoad: _onLoad,
|
|
@@ -2480,14 +2479,14 @@ function makeSyncedMaps(_a) {
|
|
|
2480
2479
|
mapInstances: mapInstanceRefs
|
|
2481
2480
|
};
|
|
2482
2481
|
}, [mapInstanceRefs]);
|
|
2483
|
-
return /*#__PURE__*/React
|
|
2482
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
2484
2483
|
ref: containerRef,
|
|
2485
2484
|
direction: "row",
|
|
2486
2485
|
style: __assign({
|
|
2487
2486
|
position: 'relative'
|
|
2488
2487
|
}, style || {})
|
|
2489
2488
|
}, maps.map(function (mapProps, index) {
|
|
2490
|
-
return /*#__PURE__*/React
|
|
2489
|
+
return /*#__PURE__*/React.createElement(SingleMapContainer, {
|
|
2491
2490
|
key: mapProps.id || index,
|
|
2492
2491
|
style: {
|
|
2493
2492
|
position: 'absolute',
|
|
@@ -2496,14 +2495,14 @@ function makeSyncedMaps(_a) {
|
|
|
2496
2495
|
left: "calc(".concat(index, " * (100% / ").concat(maps.length, "))"),
|
|
2497
2496
|
width: "calc(100% / ".concat(maps.length, ")")
|
|
2498
2497
|
}
|
|
2499
|
-
}, !isDragging && hoverInfo && hoverInfo.index !== index ? (/*#__PURE__*/React
|
|
2498
|
+
}, !isDragging && hoverInfo && hoverInfo.index !== index ? (/*#__PURE__*/React.createElement(GhostCursor, {
|
|
2500
2499
|
style: {
|
|
2501
2500
|
position: 'absolute',
|
|
2502
2501
|
left: hoverInfo.point[0],
|
|
2503
2502
|
top: hoverInfo.point[1],
|
|
2504
2503
|
zIndex: 2
|
|
2505
2504
|
}
|
|
2506
|
-
})) : null, !isDragging && Array.isArray(tooltips) && tooltips[index], /*#__PURE__*/React
|
|
2505
|
+
})) : null, !isDragging && Array.isArray(tooltips) && tooltips[index], /*#__PURE__*/React.createElement(MapComponent, __assign({
|
|
2507
2506
|
ref: setMapInstanceRef(index),
|
|
2508
2507
|
cursor: isDragging ? 'grabbing' : 'default'
|
|
2509
2508
|
}, baseMapProps, mapProps, viewState || {}, {
|
|
@@ -2609,15 +2608,15 @@ function LegendLayout(_a) {
|
|
|
2609
2608
|
_b = _a.direction,
|
|
2610
2609
|
direction = _b === void 0 ? 'column' : _b,
|
|
2611
2610
|
props = __rest(_a, ["title", "unit", "children", "direction"]);
|
|
2612
|
-
return /*#__PURE__*/React
|
|
2611
|
+
return /*#__PURE__*/React.createElement(Flex, _assign({
|
|
2613
2612
|
direction: direction,
|
|
2614
2613
|
gap: "10px",
|
|
2615
2614
|
maxWidth: "300px"
|
|
2616
|
-
}, props), (title || unit) && (/*#__PURE__*/React
|
|
2615
|
+
}, props), (title || unit) && (/*#__PURE__*/React.createElement("div", {
|
|
2617
2616
|
style: {
|
|
2618
2617
|
maxWidth: direction === 'row' ? '50%' : 'none'
|
|
2619
2618
|
}
|
|
2620
|
-
}, title && /*#__PURE__*/React
|
|
2619
|
+
}, title && /*#__PURE__*/React.createElement(LegendTitle, null, title), unit && /*#__PURE__*/React.createElement(LegendUnit, null, "(", unit, ")"))), /*#__PURE__*/React.createElement(Flex, {
|
|
2621
2620
|
direction: "column",
|
|
2622
2621
|
justifyContent: "center",
|
|
2623
2622
|
style: {
|
|
@@ -2643,11 +2642,11 @@ function ColorLegendItems(_a) {
|
|
|
2643
2642
|
_b = _a.size,
|
|
2644
2643
|
size = _b === void 0 ? '2' : _b,
|
|
2645
2644
|
props = __rest(_a, ["items", "size"]);
|
|
2646
|
-
return /*#__PURE__*/React
|
|
2645
|
+
return /*#__PURE__*/React.createElement(Flex, _assign({
|
|
2647
2646
|
direction: "column",
|
|
2648
2647
|
gap: "2px"
|
|
2649
2648
|
}, props), items.map(function (item, index) {
|
|
2650
|
-
return /*#__PURE__*/React
|
|
2649
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
2651
2650
|
key: item.id || index,
|
|
2652
2651
|
direction: "row",
|
|
2653
2652
|
alignItems: "center",
|
|
@@ -2655,11 +2654,11 @@ function ColorLegendItems(_a) {
|
|
|
2655
2654
|
style: _assign(_assign({}, STYLES_BY_SIZE[size]), {
|
|
2656
2655
|
'--background-color': item.color
|
|
2657
2656
|
})
|
|
2658
|
-
}, /*#__PURE__*/React
|
|
2657
|
+
}, /*#__PURE__*/React.createElement(ColorDisplay, {
|
|
2659
2658
|
style: {
|
|
2660
2659
|
border: item.color === 'transparent' ? '1px dotted #555555' : '1px solid var(--background-color)'
|
|
2661
2660
|
}
|
|
2662
|
-
}), /*#__PURE__*/React
|
|
2661
|
+
}), /*#__PURE__*/React.createElement(ItemLabel, null, item.label));
|
|
2663
2662
|
}));
|
|
2664
2663
|
}
|
|
2665
2664
|
function ColorLegend(_a) {
|
|
@@ -2668,10 +2667,10 @@ function ColorLegend(_a) {
|
|
|
2668
2667
|
items = _a.items,
|
|
2669
2668
|
size = _a.size,
|
|
2670
2669
|
props = __rest(_a, ["title", "unit", "items", "size"]);
|
|
2671
|
-
return /*#__PURE__*/React
|
|
2670
|
+
return /*#__PURE__*/React.createElement(LegendLayout, _assign({
|
|
2672
2671
|
title: title,
|
|
2673
2672
|
unit: unit
|
|
2674
|
-
}, props), /*#__PURE__*/React
|
|
2673
|
+
}, props), /*#__PURE__*/React.createElement(ColorLegendItems, {
|
|
2675
2674
|
items: items,
|
|
2676
2675
|
size: size
|
|
2677
2676
|
}));
|
|
@@ -2723,7 +2722,7 @@ function SequentialColorLegend(_a) {
|
|
|
2723
2722
|
var items = useMemo(function () {
|
|
2724
2723
|
return parseStepsToItems(steps, format);
|
|
2725
2724
|
}, [steps]);
|
|
2726
|
-
return /*#__PURE__*/React
|
|
2725
|
+
return /*#__PURE__*/React.createElement(ColorLegend, _assign({
|
|
2727
2726
|
items: items
|
|
2728
2727
|
}, props));
|
|
2729
2728
|
}
|
|
@@ -2737,7 +2736,7 @@ function ThresholdColorLegend(_a) {
|
|
|
2737
2736
|
return index === all.length - 1 ? _assign(_assign({}, item), {
|
|
2738
2737
|
label: null
|
|
2739
2738
|
}) : _assign(_assign({}, item), {
|
|
2740
|
-
label: (/*#__PURE__*/React
|
|
2739
|
+
label: (/*#__PURE__*/React.createElement("div", {
|
|
2741
2740
|
style: {
|
|
2742
2741
|
transform: 'translateY(calc(50% + 1px))'
|
|
2743
2742
|
// background: 'steelblue',
|
|
@@ -2746,7 +2745,7 @@ function ThresholdColorLegend(_a) {
|
|
|
2746
2745
|
});
|
|
2747
2746
|
});
|
|
2748
2747
|
}, [steps]);
|
|
2749
|
-
return /*#__PURE__*/React
|
|
2748
|
+
return /*#__PURE__*/React.createElement(ColorLegend, _assign({
|
|
2750
2749
|
items: items
|
|
2751
2750
|
}, props));
|
|
2752
2751
|
}
|
|
@@ -2764,9 +2763,9 @@ var CircleLabel = styled.div(templateObject_4 || (templateObject_4 = __makeTempl
|
|
|
2764
2763
|
function Circle(_a) {
|
|
2765
2764
|
var style = _a.style,
|
|
2766
2765
|
label = _a.label;
|
|
2767
|
-
return /*#__PURE__*/React
|
|
2766
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2768
2767
|
style: style
|
|
2769
|
-
}, /*#__PURE__*/React
|
|
2768
|
+
}, /*#__PURE__*/React.createElement(CircleSymbol, null), /*#__PURE__*/React.createElement(CircleLabel, null, label));
|
|
2770
2769
|
}
|
|
2771
2770
|
var DEFAULT_SIZE_MAX = 60;
|
|
2772
2771
|
var DEFAULT_SIZE_MIN = 15;
|
|
@@ -2805,18 +2804,18 @@ function ProportionalSymbolLegendItems(_a) {
|
|
|
2805
2804
|
};
|
|
2806
2805
|
});
|
|
2807
2806
|
}, [steps, formatNumber, valueScale, sizeScale]);
|
|
2808
|
-
return /*#__PURE__*/React
|
|
2807
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
2809
2808
|
style: {
|
|
2810
2809
|
'--proportional-symbol-legend-label-width': "".concat(labelWidth, "px")
|
|
2811
2810
|
}
|
|
2812
|
-
}, /*#__PURE__*/React
|
|
2811
|
+
}, /*#__PURE__*/React.createElement(PositionContainer, {
|
|
2813
2812
|
style: {
|
|
2814
2813
|
'--proportional-symbol-legend-max-size': "".concat(sizeMax, "px"),
|
|
2815
2814
|
width: sizeMax,
|
|
2816
2815
|
height: sizeMax
|
|
2817
2816
|
}
|
|
2818
2817
|
}, items.map(function (item) {
|
|
2819
|
-
return /*#__PURE__*/React
|
|
2818
|
+
return /*#__PURE__*/React.createElement(Circle, {
|
|
2820
2819
|
key: item.value,
|
|
2821
2820
|
style: {
|
|
2822
2821
|
'--proportional-symbol-legend-item-size': "".concat(item.size, "px")
|
|
@@ -2832,13 +2831,13 @@ function ProportionalSymbolLegend(_a) {
|
|
|
2832
2831
|
maxWidth = _a.maxWidth,
|
|
2833
2832
|
maxHeight = _a.maxHeight,
|
|
2834
2833
|
props = __rest(_a, ["title", "unit", "style", "maxWidth", "maxHeight"]);
|
|
2835
|
-
return /*#__PURE__*/React
|
|
2834
|
+
return /*#__PURE__*/React.createElement(LegendLayout, {
|
|
2836
2835
|
title: title,
|
|
2837
2836
|
unit: unit,
|
|
2838
2837
|
style: style,
|
|
2839
2838
|
maxWidth: maxWidth,
|
|
2840
2839
|
maxHeight: maxHeight
|
|
2841
|
-
}, /*#__PURE__*/React
|
|
2840
|
+
}, /*#__PURE__*/React.createElement(ProportionalSymbolLegendItems, _assign({}, props)));
|
|
2842
2841
|
}
|
|
2843
2842
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
2844
2843
|
var LEGENDS = {
|
|
@@ -2854,9 +2853,14 @@ function Legend(_a) {
|
|
|
2854
2853
|
if (!Component) {
|
|
2855
2854
|
throw new Error("Unrecognized legend type ".concat(type));
|
|
2856
2855
|
}
|
|
2857
|
-
return /*#__PURE__*/React
|
|
2856
|
+
return /*#__PURE__*/React.createElement(Component, _assign({}, props));
|
|
2858
2857
|
}
|
|
2859
2858
|
|
|
2859
|
+
var worker = typeof Worker !== 'undefined' && new Worker(new URL('./GeoReDUSWorker.worker.js', import.meta.url), {
|
|
2860
|
+
type: 'module'
|
|
2861
|
+
});
|
|
2862
|
+
var GeoReDUSWorker = worker ? wrap(worker) : null;
|
|
2863
|
+
|
|
2860
2864
|
// export const $workerGet: ExpressionSpec<[any, any?]> = {
|
|
2861
2865
|
// parseArgs: ([arg1, arg2], { parseNodeInput }) =>
|
|
2862
2866
|
// typeof arg2 === 'undefined'
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redus/georedus-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"packageManager": "yarn@4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/main.
|
|
6
|
+
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
".": "./dist/main.
|
|
9
|
+
".": "./dist/main.js",
|
|
10
10
|
"./*": "./dist/*"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"lodash": "^4.17.21",
|
|
56
56
|
"maplibre-gl": "^5.1.0",
|
|
57
57
|
"query-string": "^9.1.1",
|
|
58
|
-
"react": "^18
|
|
58
|
+
"react": "^18",
|
|
59
59
|
"react-highlight-words": "^0.21.0",
|
|
60
60
|
"react-map-gl": "^8.0.0",
|
|
61
61
|
"react-use": "^17.5.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/GeoReDUSWorker.mjs
DELETED