@redus/georedus-ui 0.8.7 → 0.8.9
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
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @orioro/template-react
|
|
2
2
|
|
|
3
|
+
## 0.8.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix issue related to impossibility of loading localhost layers due to synthetic json inability to handle colons (:)
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @orioro/vector-tile-util@0.2.1
|
|
10
|
+
|
|
11
|
+
## 0.8.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- add missing react import
|
|
16
|
+
|
|
3
17
|
## 0.8.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -2,11 +2,12 @@ export function CopyToClipboardButton({ text, label, ...props }: {
|
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
text: any;
|
|
4
4
|
label: any;
|
|
5
|
-
}):
|
|
5
|
+
}): React.JSX.Element;
|
|
6
6
|
export function CopyToClipboardIconButton({ text, label, children, copiedMessage, ...props }: {
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
text: any;
|
|
9
9
|
label?: string | undefined;
|
|
10
|
-
children?:
|
|
10
|
+
children?: React.JSX.Element | undefined;
|
|
11
11
|
copiedMessage?: string | undefined;
|
|
12
|
-
}):
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
import React from 'react';
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React, { useState, useMemo, useCallback, useContext, createContext, useReducer, useEffect, useRef } from 'react';
|
|
2
2
|
import { MARKDOWN_DEFAULT_REMARK_PLUGINS, MARKDOWN_DEFAULT_REHYPE_PLUGINS, Markdown as Markdown$1, CANCELLED, Flex, DropdownMenu, Box, Input, SwitchInput, TextEllipsis, withDefaults, LoadingOverlay, Button, fileReadAs, SingleFileInput, InputProvider as InputProvider$1, rendererSpecList, TextInput, withLabeledLayout, INPUTS, useLocalState, EvenSpacedList, LoadingIndicator } from '@orioro/react-ui-core';
|
|
3
3
|
import { nodeIdFromPath } from '@orioro/tree-model';
|
|
4
4
|
import { makeDirNav } from '@orioro/react-dir-nav';
|
|
@@ -571,7 +571,7 @@ var templateObject_1, templateObject_2, templateObject_3;
|
|
|
571
571
|
var REMARK_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REMARK_PLUGINS), [remarkMath]);
|
|
572
572
|
var REHYPE_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REHYPE_PLUGINS), [rehypeKatex]);
|
|
573
573
|
function Markdown(props) {
|
|
574
|
-
return /*#__PURE__*/React
|
|
574
|
+
return /*#__PURE__*/React.createElement(Markdown$1, _extends({
|
|
575
575
|
remarkPlugins: REMARK_PLUGINS,
|
|
576
576
|
rehypePlugins: REHYPE_PLUGINS
|
|
577
577
|
}, props));
|
|
@@ -601,7 +601,7 @@ var _createDialogSystem = createDialogSystem({
|
|
|
601
601
|
useDialogs = _createDialogSystem2[1];
|
|
602
602
|
function DialogsProvider(_ref2) {
|
|
603
603
|
var children = _ref2.children;
|
|
604
|
-
return /*#__PURE__*/React
|
|
604
|
+
return /*#__PURE__*/React.createElement(DialogsProvider_, {
|
|
605
605
|
prompt: {
|
|
606
606
|
restore: 'Restaurar',
|
|
607
607
|
cancel: 'Cancelar',
|
|
@@ -613,7 +613,7 @@ function DialogsProvider(_ref2) {
|
|
|
613
613
|
var CONF_TABS = {
|
|
614
614
|
data: {
|
|
615
615
|
id: 'data',
|
|
616
|
-
icon: /*#__PURE__*/React
|
|
616
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
617
617
|
path: mdiFilterVariant,
|
|
618
618
|
size: "16px"
|
|
619
619
|
}),
|
|
@@ -621,7 +621,7 @@ var CONF_TABS = {
|
|
|
621
621
|
},
|
|
622
622
|
style: {
|
|
623
623
|
id: 'style',
|
|
624
|
-
icon: /*#__PURE__*/React
|
|
624
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
625
625
|
path: mdiOpacity,
|
|
626
626
|
size: "16px"
|
|
627
627
|
}),
|
|
@@ -654,21 +654,21 @@ function ViewConfTabs(_ref) {
|
|
|
654
654
|
}).filter(Boolean);
|
|
655
655
|
}, [CONF_SCHEMA]);
|
|
656
656
|
var dialogs = useDialogs();
|
|
657
|
-
return /*#__PURE__*/React
|
|
657
|
+
return /*#__PURE__*/React.createElement(Tabs.Root, {
|
|
658
658
|
defaultValue: ((_enabledTabs$ = enabledTabs[0]) === null || _enabledTabs$ === void 0 ? void 0 : _enabledTabs$.id) || null
|
|
659
|
-
}, /*#__PURE__*/React
|
|
659
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
660
660
|
direction: "row",
|
|
661
661
|
gap: "0"
|
|
662
|
-
}, /*#__PURE__*/React
|
|
662
|
+
}, /*#__PURE__*/React.createElement(Tabs.List, {
|
|
663
663
|
size: "1"
|
|
664
664
|
}, enabledTabs.map(function (tab) {
|
|
665
|
-
return /*#__PURE__*/React
|
|
665
|
+
return /*#__PURE__*/React.createElement(Tabs.Trigger, {
|
|
666
666
|
key: tab.id,
|
|
667
667
|
value: tab.id
|
|
668
|
-
}, /*#__PURE__*/React
|
|
668
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
669
669
|
content: tab.label
|
|
670
670
|
}, tab.icon));
|
|
671
|
-
})), /*#__PURE__*/React
|
|
671
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
672
672
|
direction: "row",
|
|
673
673
|
alignItems: "center",
|
|
674
674
|
gap: "10px",
|
|
@@ -679,7 +679,7 @@ function ViewConfTabs(_ref) {
|
|
|
679
679
|
flexGrow: 1,
|
|
680
680
|
boxShadow: 'color(display-p3 0.0039 0.251 0.5137 / 0.174) 0px -1px 0px 0px inset'
|
|
681
681
|
}
|
|
682
|
-
}, viewSpec.metodology && /*#__PURE__*/React
|
|
682
|
+
}, viewSpec.metodology && /*#__PURE__*/React.createElement(IconButton, {
|
|
683
683
|
variant: "ghost",
|
|
684
684
|
size: "1",
|
|
685
685
|
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
@@ -722,9 +722,9 @@ function ViewConfTabs(_ref) {
|
|
|
722
722
|
_context2.next = 6;
|
|
723
723
|
return dialogs.view({
|
|
724
724
|
maxHeight: '90vh',
|
|
725
|
-
children: /*#__PURE__*/React
|
|
725
|
+
children: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Heading, {
|
|
726
726
|
as: "h1"
|
|
727
|
-
}, viewSpec.label, " - Notas metodol\xF3gicas"), /*#__PURE__*/React
|
|
727
|
+
}, viewSpec.label, " - Notas metodol\xF3gicas"), /*#__PURE__*/React.createElement(Markdown, {
|
|
728
728
|
children: markdown.trim()
|
|
729
729
|
}))
|
|
730
730
|
});
|
|
@@ -734,12 +734,12 @@ function ViewConfTabs(_ref) {
|
|
|
734
734
|
}
|
|
735
735
|
}, _callee2);
|
|
736
736
|
}))
|
|
737
|
-
}, /*#__PURE__*/React
|
|
737
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
738
738
|
content: "Notas metodol\xF3gicas"
|
|
739
|
-
}, /*#__PURE__*/React
|
|
739
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
740
740
|
path: mdiHelpCircleOutline,
|
|
741
741
|
size: "16px"
|
|
742
|
-
}))), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/React
|
|
742
|
+
}))), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/React.createElement(IconButton, {
|
|
743
743
|
variant: "ghost",
|
|
744
744
|
size: "1",
|
|
745
745
|
onClick: function onClick() {
|
|
@@ -747,22 +747,22 @@ function ViewConfTabs(_ref) {
|
|
|
747
747
|
dialogs: dialogs
|
|
748
748
|
});
|
|
749
749
|
}
|
|
750
|
-
}, /*#__PURE__*/React
|
|
750
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
751
751
|
content: "Baixar dados"
|
|
752
|
-
}, /*#__PURE__*/React
|
|
752
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
753
753
|
path: mdiDownload,
|
|
754
754
|
size: "16px"
|
|
755
|
-
}))), /*#__PURE__*/React
|
|
755
|
+
}))), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
756
756
|
options: [{
|
|
757
757
|
label: 'Visualizar como mapa comparado',
|
|
758
758
|
onClick: function onClick() {
|
|
759
759
|
return onSetView(viewConf, 1);
|
|
760
760
|
}
|
|
761
761
|
}]
|
|
762
|
-
}, /*#__PURE__*/React
|
|
762
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
763
763
|
variant: "ghost",
|
|
764
764
|
size: "1"
|
|
765
|
-
}, /*#__PURE__*/React
|
|
765
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
766
766
|
path: mdiDotsVertical,
|
|
767
767
|
size: "16px"
|
|
768
768
|
}))))), Array.isArray(enabledTabs) && enabledTabs.length > 0 ? enabledTabs.map(function (tab) {
|
|
@@ -777,14 +777,14 @@ function ViewConfTabs(_ref) {
|
|
|
777
777
|
return Boolean(value);
|
|
778
778
|
}));
|
|
779
779
|
var tabConfValue = immediateViewConf[tab.id];
|
|
780
|
-
return /*#__PURE__*/React
|
|
780
|
+
return /*#__PURE__*/React.createElement(Tabs.Content, {
|
|
781
781
|
key: tab.id,
|
|
782
782
|
value: tab.id
|
|
783
|
-
}, /*#__PURE__*/React
|
|
783
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
784
784
|
p: "3"
|
|
785
|
-
}, /*#__PURE__*/React
|
|
785
|
+
}, /*#__PURE__*/React.createElement(Theme, {
|
|
786
786
|
scaling: "100%"
|
|
787
|
-
}, /*#__PURE__*/React
|
|
787
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
788
788
|
schema: {
|
|
789
789
|
type: 'object',
|
|
790
790
|
properties: tabConfSchema
|
|
@@ -794,7 +794,7 @@ function ViewConfTabs(_ref) {
|
|
|
794
794
|
return setImmediateViewConf(_objectSpread2(_objectSpread2({}, viewConf), {}, _defineProperty({}, tab.id, _objectSpread2(_objectSpread2({}, viewConf[tab.id] || {}), nextValue))));
|
|
795
795
|
}
|
|
796
796
|
}))));
|
|
797
|
-
}) : /*#__PURE__*/React
|
|
797
|
+
}) : /*#__PURE__*/React.createElement(Box, {
|
|
798
798
|
p: "3",
|
|
799
799
|
style: {
|
|
800
800
|
fontSize: '.9rem'
|
|
@@ -831,18 +831,18 @@ function HeadingWithTooltipAndEllipsis(_ref7) {
|
|
|
831
831
|
_ref7$maxLines = _ref7.maxLines,
|
|
832
832
|
maxLines = _ref7$maxLines === void 0 ? 2 : _ref7$maxLines,
|
|
833
833
|
props = _objectWithoutProperties(_ref7, _excluded$5);
|
|
834
|
-
return /*#__PURE__*/React
|
|
834
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
835
835
|
content: content
|
|
836
|
-
}, /*#__PURE__*/React
|
|
836
|
+
}, /*#__PURE__*/React.createElement(Heading, _extends({
|
|
837
837
|
size: "2",
|
|
838
838
|
as: "h4",
|
|
839
839
|
style: {
|
|
840
840
|
fontWeight: 'normal',
|
|
841
841
|
color: 'var(--accent-9)'
|
|
842
842
|
}
|
|
843
|
-
}, props), /*#__PURE__*/React
|
|
843
|
+
}, props), /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
844
844
|
maxLines: maxLines
|
|
845
|
-
}, /*#__PURE__*/React
|
|
845
|
+
}, /*#__PURE__*/React.createElement(Highlighter, {
|
|
846
846
|
searchWords: textSearch && textSearch.length > 3 ? [textSearch] : [],
|
|
847
847
|
textToHighlight: content
|
|
848
848
|
}))));
|
|
@@ -869,9 +869,9 @@ function ViewControl(_ref8) {
|
|
|
869
869
|
var toggleView = useCallback(function () {
|
|
870
870
|
return active ? deactivateView() : setView();
|
|
871
871
|
}, [active, deactivateView, setView]);
|
|
872
|
-
return viewSpec && /*#__PURE__*/React
|
|
872
|
+
return viewSpec && /*#__PURE__*/React.createElement(Collapsible.Root, {
|
|
873
873
|
open: configurable === true && active
|
|
874
|
-
}, /*#__PURE__*/React
|
|
874
|
+
}, /*#__PURE__*/React.createElement(Container$1, null, /*#__PURE__*/React.createElement(Summary, {
|
|
875
875
|
type: "button",
|
|
876
876
|
role: "button",
|
|
877
877
|
style: style,
|
|
@@ -879,19 +879,19 @@ function ViewControl(_ref8) {
|
|
|
879
879
|
onClick: configurable ? function () {
|
|
880
880
|
return toggleView();
|
|
881
881
|
} : null
|
|
882
|
-
}, /*#__PURE__*/React
|
|
882
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
883
883
|
direction: "row",
|
|
884
884
|
alignItems: "center",
|
|
885
885
|
justifyContent: "space-between",
|
|
886
886
|
p: "3",
|
|
887
887
|
width: "100%"
|
|
888
|
-
}, /*#__PURE__*/React
|
|
888
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
889
889
|
direction: "column",
|
|
890
890
|
gap: "1",
|
|
891
891
|
style: {
|
|
892
892
|
flexGrow: '1'
|
|
893
893
|
}
|
|
894
|
-
}, path && /*#__PURE__*/React
|
|
894
|
+
}, path && /*#__PURE__*/React.createElement(HeadingWithTooltipAndEllipsis, {
|
|
895
895
|
size: "1",
|
|
896
896
|
as: "h6",
|
|
897
897
|
content: typeof path === 'string' ? path : viewSpec.path,
|
|
@@ -901,18 +901,18 @@ function ViewControl(_ref8) {
|
|
|
901
901
|
color: 'var(--gray-9)',
|
|
902
902
|
fontWeight: 'normal'
|
|
903
903
|
}
|
|
904
|
-
}), /*#__PURE__*/React
|
|
904
|
+
}), /*#__PURE__*/React.createElement(HeadingWithTooltipAndEllipsis, {
|
|
905
905
|
content: viewSpec.label,
|
|
906
906
|
textSearch: textSearch,
|
|
907
907
|
maxLines: 2
|
|
908
|
-
}), /*#__PURE__*/React
|
|
908
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
909
909
|
color: "gray",
|
|
910
910
|
style: {
|
|
911
911
|
color: 'var(--gray-9)',
|
|
912
912
|
textTransform: 'uppercase'
|
|
913
913
|
},
|
|
914
914
|
size: "1"
|
|
915
|
-
}, viewSpec.sourceLabel)), /*#__PURE__*/React
|
|
915
|
+
}, viewSpec.sourceLabel)), /*#__PURE__*/React.createElement(SwitchInput, {
|
|
916
916
|
radius: "full",
|
|
917
917
|
value: active,
|
|
918
918
|
onSetValue: function onSetValue() {
|
|
@@ -925,11 +925,11 @@ function ViewControl(_ref8) {
|
|
|
925
925
|
onClick: function onClick(e) {
|
|
926
926
|
return e.stopPropagation();
|
|
927
927
|
}
|
|
928
|
-
}))), /*#__PURE__*/React
|
|
928
|
+
}))), /*#__PURE__*/React.createElement(CollapsibleContent, {
|
|
929
929
|
style: {
|
|
930
930
|
borderTop: '1px solid var(--gray-8)'
|
|
931
931
|
}
|
|
932
|
-
}, viewConf && /*#__PURE__*/React
|
|
932
|
+
}, viewConf && /*#__PURE__*/React.createElement(ViewConfTabs, {
|
|
933
933
|
viewSpec: viewSpec,
|
|
934
934
|
viewConf: viewConf,
|
|
935
935
|
resolvedView: resolvedView,
|
|
@@ -942,16 +942,16 @@ var VIEW_TYPE_SURFACE_CHOROPLETH = 'surface_choropleth';
|
|
|
942
942
|
var _excluded$4 = ["viewSpecs", "viewConfState", "resolvedViews", "onSetView", "onDeactivateView", "style"];
|
|
943
943
|
var _templateObject$3, _templateObject2$1;
|
|
944
944
|
var STATIC_NODE_ICONS = {
|
|
945
|
-
'populacao-e-domicilios': /*#__PURE__*/React
|
|
945
|
+
'populacao-e-domicilios': /*#__PURE__*/React.createElement(Icon, {
|
|
946
946
|
path: mdiAccountGroup
|
|
947
947
|
}),
|
|
948
|
-
educacao: /*#__PURE__*/React
|
|
948
|
+
educacao: /*#__PURE__*/React.createElement(Icon, {
|
|
949
949
|
path: mdiSchool
|
|
950
950
|
}),
|
|
951
|
-
'infraestrutura-e-servicos-urbanos': /*#__PURE__*/React
|
|
951
|
+
'infraestrutura-e-servicos-urbanos': /*#__PURE__*/React.createElement(Icon, {
|
|
952
952
|
path: mdiHomeCity
|
|
953
953
|
}),
|
|
954
|
-
saude: /*#__PURE__*/React
|
|
954
|
+
saude: /*#__PURE__*/React.createElement(Icon, {
|
|
955
955
|
path: mdiHospitalBox
|
|
956
956
|
})
|
|
957
957
|
};
|
|
@@ -974,7 +974,7 @@ function Item(_ref) {
|
|
|
974
974
|
resolvedViews = _useContext.resolvedViews,
|
|
975
975
|
_onSetView = _useContext.onSetView,
|
|
976
976
|
_onDeactivateView = _useContext.onDeactivateView;
|
|
977
|
-
return /*#__PURE__*/React
|
|
977
|
+
return /*#__PURE__*/React.createElement(ViewControl, {
|
|
978
978
|
textSearch: textSearch,
|
|
979
979
|
path: Boolean(textSearch) ? node.path : null,
|
|
980
980
|
viewSpec: node,
|
|
@@ -1050,7 +1050,7 @@ var DirNav = makeDirNav({
|
|
|
1050
1050
|
viewSpecsById: viewSpecsById,
|
|
1051
1051
|
nodeId: node.id
|
|
1052
1052
|
});
|
|
1053
|
-
return /*#__PURE__*/React
|
|
1053
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1054
1054
|
style: {
|
|
1055
1055
|
flexGrow: 1,
|
|
1056
1056
|
textAlign: 'left',
|
|
@@ -1060,11 +1060,11 @@ var DirNav = makeDirNav({
|
|
|
1060
1060
|
alignItems: 'center',
|
|
1061
1061
|
justifyContent: 'space-between'
|
|
1062
1062
|
}
|
|
1063
|
-
}, /*#__PURE__*/React
|
|
1063
|
+
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
1064
1064
|
style: {
|
|
1065
1065
|
flexShrink: 1
|
|
1066
1066
|
}
|
|
1067
|
-
}, node.label), activeViewsCount > 0 && /*#__PURE__*/React
|
|
1067
|
+
}, node.label), activeViewsCount > 0 && /*#__PURE__*/React.createElement("span", {
|
|
1068
1068
|
style: {
|
|
1069
1069
|
marginLeft: 6,
|
|
1070
1070
|
fontSize: '.8rem',
|
|
@@ -1087,9 +1087,9 @@ function ViewMenu(_ref4) {
|
|
|
1087
1087
|
return [spec.id, spec];
|
|
1088
1088
|
}));
|
|
1089
1089
|
}, [viewSpecs]);
|
|
1090
|
-
return /*#__PURE__*/React
|
|
1090
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1091
1091
|
style: style
|
|
1092
|
-
}, /*#__PURE__*/React
|
|
1092
|
+
}, /*#__PURE__*/React.createElement(ViewMenuContext.Provider, {
|
|
1093
1093
|
value: {
|
|
1094
1094
|
viewSpecsById: viewSpecsById,
|
|
1095
1095
|
viewConfState: viewConfState,
|
|
@@ -1097,7 +1097,7 @@ function ViewMenu(_ref4) {
|
|
|
1097
1097
|
onSetView: onSetView,
|
|
1098
1098
|
onDeactivateView: onDeactivateView
|
|
1099
1099
|
}
|
|
1100
|
-
}, /*#__PURE__*/React
|
|
1100
|
+
}, /*#__PURE__*/React.createElement(DirNav, _extends({
|
|
1101
1101
|
style: {
|
|
1102
1102
|
flexGrow: 1,
|
|
1103
1103
|
overflow: 'hidden'
|
|
@@ -1112,18 +1112,18 @@ function ViewMenu(_ref4) {
|
|
|
1112
1112
|
viewSpecsById: viewSpecsById,
|
|
1113
1113
|
nodeId: node.id
|
|
1114
1114
|
});
|
|
1115
|
-
return /*#__PURE__*/React
|
|
1115
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1116
1116
|
style: {
|
|
1117
1117
|
position: 'relative'
|
|
1118
1118
|
}
|
|
1119
|
-
}, STATIC_NODE_ICONS[node.id], activeViewsCount > 0 && /*#__PURE__*/React
|
|
1119
|
+
}, STATIC_NODE_ICONS[node.id], activeViewsCount > 0 && /*#__PURE__*/React.createElement(ActiveCounter, null, activeViewsCount));
|
|
1120
1120
|
}
|
|
1121
1121
|
}, props))));
|
|
1122
1122
|
}
|
|
1123
1123
|
|
|
1124
1124
|
function GeoReDUSLogoSymbol() {
|
|
1125
1125
|
var color = '#FFFFFF';
|
|
1126
|
-
return /*#__PURE__*/React
|
|
1126
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
1127
1127
|
version: "1.1",
|
|
1128
1128
|
id: "Layer_1",
|
|
1129
1129
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -1134,59 +1134,59 @@ function GeoReDUSLogoSymbol() {
|
|
|
1134
1134
|
x: "0px",
|
|
1135
1135
|
y: "0px",
|
|
1136
1136
|
viewBox: "0 0 117.98 129.33"
|
|
1137
|
-
}, /*#__PURE__*/React
|
|
1137
|
+
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
1138
1138
|
d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
|
|
1139
|
-
}), /*#__PURE__*/React
|
|
1139
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1140
1140
|
d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04L75.86,22.04z"
|
|
1141
|
-
}), /*#__PURE__*/React
|
|
1141
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1142
1142
|
d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
|
|
1143
|
-
}), /*#__PURE__*/React
|
|
1143
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1144
1144
|
d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02c0.03,0.01,4.8,0.42,12.67-6.99 c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74c-0.24,0-0.43-0.01-0.55-0.03 c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98l1.08,1.1l-1.09,1.09 C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
|
|
1145
|
-
}), /*#__PURE__*/React
|
|
1145
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1146
1146
|
d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
|
|
1147
|
-
}), /*#__PURE__*/React
|
|
1147
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1148
1148
|
d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71h-3.1 c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
|
|
1149
|
-
}), /*#__PURE__*/React
|
|
1149
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1150
1150
|
d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1C26.35,22.61,3.1,45.86,3.1,74.44 c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
|
|
1151
|
-
}), /*#__PURE__*/React
|
|
1151
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1152
1152
|
d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47c0-4.73,3.85-8.57,8.57-8.57h12.71 c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1c11.94,0,12.81-7.59,12.87-8.25 c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61c0,0.05-0.25,4.94,2.84,8.22 c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
|
|
1153
|
-
}), /*#__PURE__*/React
|
|
1153
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1154
1154
|
d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
|
|
1155
|
-
}), /*#__PURE__*/React
|
|
1155
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
1156
1156
|
points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
|
|
1157
|
-
}), /*#__PURE__*/React
|
|
1157
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
1158
1158
|
points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
|
|
1159
|
-
})))), /*#__PURE__*/React
|
|
1159
|
+
})))), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
1160
1160
|
fill: color,
|
|
1161
1161
|
d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
|
|
1162
|
-
}), /*#__PURE__*/React
|
|
1162
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1163
1163
|
fill: color,
|
|
1164
1164
|
d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04 L75.86,22.04z"
|
|
1165
|
-
}), /*#__PURE__*/React
|
|
1165
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1166
1166
|
fill: color,
|
|
1167
1167
|
d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
|
|
1168
|
-
}), /*#__PURE__*/React
|
|
1168
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1169
1169
|
fill: color,
|
|
1170
1170
|
d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02 c0.03,0.01,4.8,0.42,12.67-6.99c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74 c-0.24,0-0.43-0.01-0.55-0.03c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98 l1.08,1.1l-1.09,1.09C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
|
|
1171
|
-
}), /*#__PURE__*/React
|
|
1171
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1172
1172
|
fill: color,
|
|
1173
1173
|
d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
|
|
1174
|
-
}), /*#__PURE__*/React
|
|
1174
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1175
1175
|
fill: color,
|
|
1176
1176
|
d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71 h-3.1c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
|
|
1177
|
-
}), /*#__PURE__*/React
|
|
1177
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1178
1178
|
fill: color,
|
|
1179
1179
|
d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1 C26.35,22.61,3.1,45.86,3.1,74.44c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1 C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
|
|
1180
|
-
}), /*#__PURE__*/React
|
|
1180
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1181
1181
|
fill: color,
|
|
1182
1182
|
d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47 c0-4.73,3.85-8.57,8.57-8.57h12.71c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1 c11.94,0,12.81-7.59,12.87-8.25c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61 c0,0.05-0.25,4.94,2.84,8.22c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
|
|
1183
|
-
}), /*#__PURE__*/React
|
|
1183
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1184
1184
|
fill: color,
|
|
1185
1185
|
d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
|
|
1186
|
-
}), /*#__PURE__*/React
|
|
1186
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
1187
1187
|
fill: color,
|
|
1188
1188
|
points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
|
|
1189
|
-
}), /*#__PURE__*/React
|
|
1189
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
1190
1190
|
fill: color,
|
|
1191
1191
|
points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
|
|
1192
1192
|
})))));
|
|
@@ -1194,7 +1194,7 @@ function GeoReDUSLogoSymbol() {
|
|
|
1194
1194
|
|
|
1195
1195
|
function GeoReDUSLogoText() {
|
|
1196
1196
|
var color = '#FFFFFF';
|
|
1197
|
-
return /*#__PURE__*/React
|
|
1197
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
1198
1198
|
version: "1.1",
|
|
1199
1199
|
id: "Layer_1",
|
|
1200
1200
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -1205,28 +1205,28 @@ function GeoReDUSLogoText() {
|
|
|
1205
1205
|
x: "0px",
|
|
1206
1206
|
y: "0px",
|
|
1207
1207
|
viewBox: "0 0 215.51 129.33"
|
|
1208
|
-
}, /*#__PURE__*/React
|
|
1208
|
+
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
1209
1209
|
fill: color,
|
|
1210
1210
|
d: "M22.83,69.59c-7.32,0-12.95-1.95-16.91-5.86C1.98,59.82,0,53.76,0,45.54c0-5.47,0.95-9.97,2.85-13.52 c1.9-3.55,4.65-6.19,8.27-7.93c3.61-1.74,7.95-2.61,13.01-2.61c3.03,0,5.87,0.34,8.54,1.02c2.67,0.68,5.03,1.72,7.08,3.12 c2.06,1.4,3.66,3.15,4.81,5.25c1.15,2.1,1.73,4.6,1.73,7.49H36.05c0-1.4-0.3-2.64-0.91-3.73c-0.61-1.08-1.46-1.99-2.54-2.71 c-1.08-0.72-2.33-1.26-3.73-1.63c-1.4-0.36-2.87-0.54-4.4-0.54c-2.35,0-4.4,0.3-6.17,0.91c-1.76,0.61-3.22,1.54-4.37,2.78 c-1.15,1.24-2.02,2.79-2.61,4.64c-0.59,1.85-0.88,4-0.88,6.44v2.03c0,3.39,0.5,6.17,1.49,8.33c0.99,2.17,2.48,3.78,4.47,4.85 c1.99,1.06,4.45,1.59,7.39,1.59c2.44,0,4.6-0.37,6.47-1.12c1.87-0.75,3.34-1.82,4.4-3.22c1.06-1.4,1.59-3.12,1.59-5.15v-0.47 H22.36v-7.72h23.92v25.14h-6.64l-0.88-5.01c-1.36,1.31-2.81,2.39-4.37,3.25c-1.56,0.86-3.29,1.5-5.18,1.93 C27.31,69.38,25.18,69.59,22.83,69.59z"
|
|
1211
|
-
})), /*#__PURE__*/React
|
|
1211
|
+
})), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
1212
1212
|
fill: color,
|
|
1213
1213
|
d: "M109.03,69.5c-3.67,0-6.78-0.63-9.33-1.89c-2.56-1.26-4.5-3.2-5.82-5.82c-1.32-2.62-1.98-5.91-1.98-9.88 c0-4.05,0.66-7.36,1.98-9.94c1.32-2.58,3.26-4.5,5.82-5.75c2.56-1.26,5.67-1.89,9.33-1.89c3.75,0,6.89,0.63,9.43,1.89 c2.54,1.26,4.47,3.18,5.79,5.75c1.32,2.58,1.98,5.89,1.98,9.94c0,3.96-0.66,7.26-1.98,9.88c-1.32,2.62-3.25,4.56-5.79,5.82 C115.93,68.87,112.78,69.5,109.03,69.5z M109.03,62.6c1.96,0,3.53-0.36,4.7-1.09c1.17-0.72,2.04-1.83,2.59-3.33 c0.55-1.49,0.83-3.32,0.83-5.5v-1.53c0-2.17-0.28-4.01-0.83-5.5c-0.55-1.49-1.42-2.61-2.59-3.36c-1.17-0.75-2.74-1.12-4.7-1.12 c-1.92,0-3.46,0.37-4.64,1.12c-1.17,0.75-2.04,1.87-2.59,3.36c-0.55,1.49-0.83,3.32-0.83,5.5v1.53c0,2.17,0.28,4.01,0.83,5.5 c0.55,1.49,1.42,2.6,2.59,3.33C105.57,62.23,107.12,62.6,109.03,62.6z"
|
|
1214
|
-
})), /*#__PURE__*/React
|
|
1214
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
1215
1215
|
fill: color,
|
|
1216
1216
|
d: "M70.76,106.24c0-1.79-0.54-3.3-1.63-4.52c-1.09-1.22-2.78-1.83-5.09-1.83c-2.33,0-4.13,0.65-5.41,1.96 c-1.28,1.31-2.08,3.11-2.42,5.39l14.51-0.13C70.75,106.91,70.76,106.62,70.76,106.24L70.76,106.24z M72.76,94.74 c2.25,1.4,3.91,3.23,4.99,5.49c1.08,2.26,1.61,4.71,1.61,7.35c0,1.79-0.27,3.62-0.81,5.47l-22.06,0.17 c0.56,2.08,1.63,3.69,3.21,4.83c1.58,1.14,3.63,1.71,6.16,1.71c1.5,0,3.09-0.17,4.77-0.5c1.68-0.34,3.36-0.83,5.04-1.48l1.71,6.95 c-1.59,0.67-3.6,1.23-6.04,1.68c-2.44,0.45-4.66,0.67-6.65,0.67c-5.44,0-9.66-1.42-12.68-4.25c-3.01-2.83-4.52-7.19-4.52-13.08 c0-3.67,0.67-6.79,2-9.35c1.33-2.56,3.26-4.5,5.77-5.81c2.52-1.31,5.55-1.96,9.08-1.96C67.7,92.64,70.51,93.34,72.76,94.74 L72.76,94.74z"
|
|
1217
|
-
}), /*#__PURE__*/React
|
|
1217
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1218
1218
|
fill: color,
|
|
1219
1219
|
d: "M77.81,47.77c0-1.86-0.56-3.42-1.69-4.69c-1.13-1.27-2.89-1.9-5.28-1.9c-2.42,0-4.29,0.68-5.61,2.04 c-1.32,1.36-2.16,3.22-2.51,5.59l15.05-0.14C77.8,48.47,77.81,48.16,77.81,47.77L77.81,47.77z M79.89,35.84 c2.33,1.45,4.06,3.35,5.17,5.7c1.12,2.35,1.67,4.89,1.67,7.63c0,1.86-0.28,3.75-0.84,5.68l-22.89,0.17 c0.58,2.16,1.69,3.83,3.33,5.02c1.64,1.18,3.77,1.78,6.39,1.78c1.56,0,3.21-0.17,4.95-0.52c1.74-0.35,3.48-0.86,5.23-1.53 l1.78,7.21c-1.65,0.7-3.74,1.28-6.27,1.74c-2.53,0.46-4.83,0.7-6.9,0.7c-5.64,0-10.03-1.47-13.15-4.41 c-3.12-2.94-4.69-7.46-4.69-13.57c0-3.81,0.69-7.04,2.07-9.7c1.38-2.66,3.38-4.67,5.99-6.03c2.61-1.36,5.75-2.04,9.42-2.04 C74.64,33.66,77.55,34.39,79.89,35.84L79.89,35.84z"
|
|
1220
|
-
}), /*#__PURE__*/React
|
|
1220
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1221
1221
|
fill: color,
|
|
1222
1222
|
d: "M103.7,118.77c3.36,0,6.23-0.66,8.61-1.98c2.38-1.32,4.2-3.24,5.44-5.76c1.24-2.52,1.86-5.57,1.86-9.15 c0-5.44-1.32-9.5-3.95-12.17c-2.63-2.67-6.52-4-11.67-3.98l-7.72,0.07v32.97H103.7L103.7,118.77z M87.38,78.2h16.75 c8.13,0,14.26,1.93,18.4,5.78c4.14,3.85,6.21,9.75,6.21,17.69c0,5.01-1.04,9.37-3.12,13.08c-2.08,3.7-5.02,6.56-8.81,8.56 c-3.79,2-8.19,3-13.18,3l-16.25,0.07V78.2L87.38,78.2z"
|
|
1223
|
-
}), /*#__PURE__*/React
|
|
1223
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1224
1224
|
fill: color,
|
|
1225
1225
|
d: "M141.29,122.12c-3.1-3.34-4.65-8.17-4.65-14.51V78.17h8.93v28.84c0,8.1,3.54,12.16,10.61,12.16 c6.72,0,10.07-3.88,10.07-11.65V78.17h8.9v28.68c0,13.52-6.51,20.28-19.54,20.28C149.16,127.13,144.39,125.46,141.29,122.12 L141.29,122.12z"
|
|
1226
|
-
}), /*#__PURE__*/React
|
|
1226
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1227
1227
|
fill: color,
|
|
1228
1228
|
d: "M190.97,126.02c-2.31-0.6-4.95-1.6-7.92-2.99l3.09-7.92c2.62,1.32,4.82,2.23,6.61,2.72 c1.79,0.49,3.64,0.74,5.54,0.74c2.95,0,5.11-0.55,6.48-1.66c1.36-1.11,2.05-2.59,2.05-4.45c0-1.12-0.37-2.08-1.12-2.89 c-0.75-0.81-1.69-1.48-2.82-2.01c-1.13-0.54-2.73-1.2-4.79-1.98c-2.87-1.07-5.2-2.1-7.02-3.07c-1.81-0.97-3.36-2.34-4.65-4.11 c-1.29-1.77-1.93-4.02-1.93-6.75c0-3.18,0.78-5.83,2.35-7.96c1.57-2.13,3.64-3.69,6.21-4.68c2.57-1,5.42-1.49,8.53-1.49 c2.26,0,4.39,0.22,6.38,0.65c1.99,0.44,3.96,1.05,5.91,1.83l-2.85,7.72l-0.84-0.3c-1.39-0.54-2.69-0.95-3.89-1.24 c-1.21-0.29-2.66-0.44-4.37-0.44c-2.19,0-4.06,0.44-5.61,1.31c-1.55,0.87-2.32,2.24-2.32,4.1c0,0.96,0.33,1.8,0.99,2.52 c0.66,0.72,1.5,1.33,2.52,1.83s2.45,1.11,4.28,1.83c2.84,1.14,5.18,2.23,7.02,3.26c1.83,1.03,3.41,2.5,4.73,4.42 c1.32,1.91,1.98,4.34,1.98,7.27c0,3-0.68,5.6-2.03,7.81c-1.36,2.21-3.32,3.9-5.89,5.09c-2.57,1.19-5.67,1.78-9.3,1.78 C195.71,126.93,193.27,126.62,190.97,126.02L190.97,126.02z"
|
|
1229
|
-
}), /*#__PURE__*/React
|
|
1229
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1230
1230
|
fill: color,
|
|
1231
1231
|
d: "M30.67,104.39c2.82-1.08,5.04-2.68,6.66-4.82c1.62-2.14,2.45-4.67,2.47-7.61c0-2.95-0.65-5.46-1.95-7.52 c-1.3-2.06-3.14-3.62-5.52-4.68c-2.38-1.06-5.18-1.6-8.38-1.6H6.96v48.15h8.93l-0.02-11.2l-0.01-30.03l5.51-0.03 c2.93-0.04,5.19,0.57,6.77,1.83c1.58,1.26,2.37,3.15,2.37,5.66c0,2.48-0.87,4.39-2.6,5.73c-1.63,1.25-3.88,1.91-6.73,1.98h-0.13 v5.32l13.36,20.75h10.64L30.67,104.39L30.67,104.39z"
|
|
1232
1232
|
}))));
|
|
@@ -1363,10 +1363,10 @@ function SharePanel(_ref) {
|
|
|
1363
1363
|
// throwOnError: process.env.NODE_ENV !== 'production',
|
|
1364
1364
|
// })
|
|
1365
1365
|
|
|
1366
|
-
return /*#__PURE__*/React
|
|
1366
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog.Title, null, "Compartilhar"), /*#__PURE__*/React.createElement(Flex, {
|
|
1367
1367
|
direction: "row",
|
|
1368
1368
|
gap: "4"
|
|
1369
|
-
}, /*#__PURE__*/React
|
|
1369
|
+
}, /*#__PURE__*/React.createElement(ShareButtonBar, null)));
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
var _templateObject$1;
|
|
@@ -1387,7 +1387,7 @@ function LeftPanel(_ref) {
|
|
|
1387
1387
|
syncedMapsRef = _ref.syncedMapsRef,
|
|
1388
1388
|
mapContainerRef = _ref.mapContainerRef;
|
|
1389
1389
|
var dialogs = useDialogs();
|
|
1390
|
-
return /*#__PURE__*/React
|
|
1390
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1391
1391
|
style: {
|
|
1392
1392
|
position: 'fixed',
|
|
1393
1393
|
zIndex: 2,
|
|
@@ -1397,7 +1397,7 @@ function LeftPanel(_ref) {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
// onMouseEnter={() => setMouseIsOver(true)}
|
|
1399
1399
|
// onMouseLeave={() => setMouseIsOver(false)}
|
|
1400
|
-
}, /*#__PURE__*/React
|
|
1400
|
+
}, /*#__PURE__*/React.createElement(Flex
|
|
1401
1401
|
//
|
|
1402
1402
|
// Use flex for responsive positioning
|
|
1403
1403
|
//
|
|
@@ -1420,7 +1420,7 @@ function LeftPanel(_ref) {
|
|
|
1420
1420
|
md: '20px'
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
}, /*#__PURE__*/React
|
|
1423
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
1424
1424
|
size: {
|
|
1425
1425
|
xs: '3',
|
|
1426
1426
|
md: '1'
|
|
@@ -1436,16 +1436,16 @@ function LeftPanel(_ref) {
|
|
|
1436
1436
|
return onSetOpen(!open);
|
|
1437
1437
|
}
|
|
1438
1438
|
// variant="surface"
|
|
1439
|
-
}, /*#__PURE__*/React
|
|
1439
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
1440
1440
|
content: open ? 'Fechar painel' : 'Abrir painel'
|
|
1441
|
-
}, /*#__PURE__*/React
|
|
1441
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1442
1442
|
style: {
|
|
1443
1443
|
transition: 'transform .2s ease-out',
|
|
1444
1444
|
transform: "rotateZ(".concat(open ? '0' : '180', "deg)")
|
|
1445
1445
|
},
|
|
1446
1446
|
path: mdiChevronLeft,
|
|
1447
1447
|
size: "16px"
|
|
1448
|
-
})))), /*#__PURE__*/React
|
|
1448
|
+
})))), /*#__PURE__*/React.createElement(Flex, {
|
|
1449
1449
|
direction: "column",
|
|
1450
1450
|
gap: "0",
|
|
1451
1451
|
height: "100vh",
|
|
@@ -1458,7 +1458,7 @@ function LeftPanel(_ref) {
|
|
|
1458
1458
|
onClick: function onClick(e) {
|
|
1459
1459
|
return onSetOpen(true);
|
|
1460
1460
|
}
|
|
1461
|
-
}, /*#__PURE__*/React
|
|
1461
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
1462
1462
|
px: "12px",
|
|
1463
1463
|
py: "10px",
|
|
1464
1464
|
height: HEADER_HEIGHT,
|
|
@@ -1470,15 +1470,15 @@ function LeftPanel(_ref) {
|
|
|
1470
1470
|
flexShrink: 0,
|
|
1471
1471
|
flexGrow: 0
|
|
1472
1472
|
}
|
|
1473
|
-
}, /*#__PURE__*/React
|
|
1473
|
+
}, /*#__PURE__*/React.createElement(LogoContainer, {
|
|
1474
1474
|
direction: "row",
|
|
1475
1475
|
gap: "8px"
|
|
1476
|
-
}, /*#__PURE__*/React
|
|
1476
|
+
}, /*#__PURE__*/React.createElement(GeoReDUSLogoSymbol, null), /*#__PURE__*/React.createElement("div", {
|
|
1477
1477
|
style: {
|
|
1478
1478
|
transition: open ? 'opacity .7s ease-out' : 'opacity .1s ease-out',
|
|
1479
1479
|
opacity: open ? 1 : 0
|
|
1480
1480
|
}
|
|
1481
|
-
}, /*#__PURE__*/React
|
|
1481
|
+
}, /*#__PURE__*/React.createElement(GeoReDUSLogoText, null)))), Array.isArray(viewSpecs) ? /*#__PURE__*/React.createElement(ViewMenu, {
|
|
1482
1482
|
style: {
|
|
1483
1483
|
flexGrow: 1,
|
|
1484
1484
|
height: '1px'
|
|
@@ -1509,7 +1509,7 @@ function LeftPanel(_ref) {
|
|
|
1509
1509
|
payload: viewId
|
|
1510
1510
|
});
|
|
1511
1511
|
},
|
|
1512
|
-
sideBarBottom: /*#__PURE__*/React
|
|
1512
|
+
sideBarBottom: /*#__PURE__*/React.createElement(Flex, {
|
|
1513
1513
|
style: {
|
|
1514
1514
|
flexGrow: 1
|
|
1515
1515
|
},
|
|
@@ -1518,7 +1518,7 @@ function LeftPanel(_ref) {
|
|
|
1518
1518
|
gap: "3",
|
|
1519
1519
|
justifyContent: "flex-end",
|
|
1520
1520
|
alignItems: "center"
|
|
1521
|
-
}, /*#__PURE__*/React
|
|
1521
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
1522
1522
|
variant: "soft",
|
|
1523
1523
|
size: "3",
|
|
1524
1524
|
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
@@ -1526,7 +1526,7 @@ function LeftPanel(_ref) {
|
|
|
1526
1526
|
while (1) switch (_context.prev = _context.next) {
|
|
1527
1527
|
case 0:
|
|
1528
1528
|
_context.next = 2;
|
|
1529
|
-
return dialogs.view(/*#__PURE__*/React
|
|
1529
|
+
return dialogs.view(/*#__PURE__*/React.createElement(SharePanel, {
|
|
1530
1530
|
mapContainerRef: mapContainerRef,
|
|
1531
1531
|
syncedMapsRef: syncedMapsRef
|
|
1532
1532
|
}));
|
|
@@ -1536,40 +1536,40 @@ function LeftPanel(_ref) {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
}, _callee);
|
|
1538
1538
|
}))
|
|
1539
|
-
}, /*#__PURE__*/React
|
|
1539
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
1540
1540
|
content: "Compartilhar"
|
|
1541
|
-
}, /*#__PURE__*/React
|
|
1541
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1542
1542
|
path: mdiShareVariantOutline,
|
|
1543
1543
|
size: "24px"
|
|
1544
|
-
}))), /*#__PURE__*/React
|
|
1544
|
+
}))), /*#__PURE__*/React.createElement(IconButton, {
|
|
1545
1545
|
variant: "soft",
|
|
1546
1546
|
size: "3",
|
|
1547
1547
|
asChild: true
|
|
1548
|
-
}, /*#__PURE__*/React
|
|
1548
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
1549
1549
|
href: "https://www.redus.org.br/georedus-rede-de-dados-urbanos/formularios/cbf766bb-9a74-4bc5-897a-70b9151afbdb",
|
|
1550
1550
|
target: "_blank",
|
|
1551
1551
|
rel: "noreferrer nofollow"
|
|
1552
|
-
}, /*#__PURE__*/React
|
|
1552
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
1553
1553
|
content: "D\xFAvidas e sugest\xF5es"
|
|
1554
|
-
}, /*#__PURE__*/React
|
|
1554
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1555
1555
|
path: mdiForumOutline,
|
|
1556
1556
|
size: "24px"
|
|
1557
1557
|
})))))
|
|
1558
|
-
}) : /*#__PURE__*/React
|
|
1558
|
+
}) : /*#__PURE__*/React.createElement("div", {
|
|
1559
1559
|
style: {
|
|
1560
1560
|
flexGrow: 1,
|
|
1561
1561
|
position: 'relative'
|
|
1562
1562
|
}
|
|
1563
|
-
}, /*#__PURE__*/React
|
|
1563
|
+
}, /*#__PURE__*/React.createElement(LoadingOverlay, {
|
|
1564
1564
|
message: null
|
|
1565
|
-
})), /*#__PURE__*/React
|
|
1565
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
1566
1566
|
p: "2",
|
|
1567
1567
|
style: {
|
|
1568
1568
|
backgroundColor: 'white'
|
|
1569
1569
|
},
|
|
1570
1570
|
direction: "row",
|
|
1571
1571
|
justifyContent: "center"
|
|
1572
|
-
}, /*#__PURE__*/React
|
|
1572
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
1573
1573
|
style: {
|
|
1574
1574
|
transition: 'opacity .1s ease-out',
|
|
1575
1575
|
opacity: open ? 1 : 0,
|
|
@@ -1593,7 +1593,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1593
1593
|
//
|
|
1594
1594
|
Portal: function Portal$1(_ref) {
|
|
1595
1595
|
var children = _ref.children;
|
|
1596
|
-
return /*#__PURE__*/React
|
|
1596
|
+
return /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(Theme, null, children));
|
|
1597
1597
|
},
|
|
1598
1598
|
Item: function Item(_ref2) {
|
|
1599
1599
|
var dragHandleProps = _ref2.dragHandleProps,
|
|
@@ -1609,7 +1609,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1609
1609
|
// ? 'rgba(0, 0, 0, 0.35) 0px 5px 15px;'
|
|
1610
1610
|
// : 'none'
|
|
1611
1611
|
|
|
1612
|
-
return /*#__PURE__*/React
|
|
1612
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
1613
1613
|
direction: "row",
|
|
1614
1614
|
alignItems: "center",
|
|
1615
1615
|
gap: "0",
|
|
@@ -1619,7 +1619,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1619
1619
|
transform: isDragOverlay ? 'scale(1.05)' : '',
|
|
1620
1620
|
zIndex: isDragOverlay ? 999 : 0
|
|
1621
1621
|
}
|
|
1622
|
-
}, /*#__PURE__*/React
|
|
1622
|
+
}, /*#__PURE__*/React.createElement("div", _extends({}, dragHandleProps, {
|
|
1623
1623
|
style: {
|
|
1624
1624
|
cursor: isDragging ? 'grabbing' : 'grab',
|
|
1625
1625
|
background: 'white',
|
|
@@ -1630,15 +1630,15 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1630
1630
|
borderBottomLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
|
|
1631
1631
|
height: CONTROL_HEIGHT
|
|
1632
1632
|
}
|
|
1633
|
-
}), /*#__PURE__*/React
|
|
1633
|
+
}), /*#__PURE__*/React.createElement(Icon, {
|
|
1634
1634
|
path: mdiDragVertical,
|
|
1635
1635
|
size: "24px"
|
|
1636
|
-
})), /*#__PURE__*/React
|
|
1636
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
1637
1637
|
direction: "column",
|
|
1638
1638
|
style: {
|
|
1639
1639
|
flexGrow: 1
|
|
1640
1640
|
}
|
|
1641
|
-
}, /*#__PURE__*/React
|
|
1641
|
+
}, /*#__PURE__*/React.createElement(ViewControl, {
|
|
1642
1642
|
style: {
|
|
1643
1643
|
height: CONTROL_HEIGHT
|
|
1644
1644
|
},
|
|
@@ -1689,7 +1689,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1689
1689
|
var children = _ref3.children;
|
|
1690
1690
|
_ref3.dragHandleProps;
|
|
1691
1691
|
var item = _ref3.item;
|
|
1692
|
-
return /*#__PURE__*/React
|
|
1692
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
1693
1693
|
direction: "column",
|
|
1694
1694
|
width: "280px"
|
|
1695
1695
|
// pb="30px"
|
|
@@ -1698,11 +1698,11 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1698
1698
|
border: 'dashed 1px var(--accent-6)',
|
|
1699
1699
|
borderRadius: "".concat(DRAG_HANDLE_BORDER_RADIUS, "px")
|
|
1700
1700
|
}
|
|
1701
|
-
}, /*#__PURE__*/React
|
|
1701
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1702
1702
|
style: {
|
|
1703
1703
|
margin: '-1px -1px -1px -1px'
|
|
1704
1704
|
}
|
|
1705
|
-
}, children, item.items.length === 0 && /*#__PURE__*/React
|
|
1705
|
+
}, children, item.items.length === 0 && /*#__PURE__*/React.createElement(Flex, {
|
|
1706
1706
|
p: "4",
|
|
1707
1707
|
style: {
|
|
1708
1708
|
// border: 'dashed 1px var(--accent-6)',
|
|
@@ -1711,7 +1711,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
1711
1711
|
},
|
|
1712
1712
|
justifyContent: "center",
|
|
1713
1713
|
alignItems: "center"
|
|
1714
|
-
}, /*#__PURE__*/React
|
|
1714
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
1715
1715
|
size: "2"
|
|
1716
1716
|
}, "Arraste uma camada para visualizar em mapa comparado"))));
|
|
1717
1717
|
}
|
|
@@ -1722,13 +1722,13 @@ function ViewLayoutControl(_ref4) {
|
|
|
1722
1722
|
viewConfState = _ref4.viewConfState,
|
|
1723
1723
|
viewConfDispatch = _ref4.viewConfDispatch;
|
|
1724
1724
|
console.log('ViewLayoutControl', viewConfState.layout);
|
|
1725
|
-
return /*#__PURE__*/React
|
|
1725
|
+
return /*#__PURE__*/React.createElement(ViewLayoutControlContext.Provider, {
|
|
1726
1726
|
value: {
|
|
1727
1727
|
viewSpecs: viewSpecs,
|
|
1728
1728
|
viewConfState: viewConfState,
|
|
1729
1729
|
viewConfDispatch: viewConfDispatch
|
|
1730
1730
|
}
|
|
1731
|
-
}, /*#__PURE__*/React
|
|
1731
|
+
}, /*#__PURE__*/React.createElement(ViewLayoutSortable, {
|
|
1732
1732
|
lists: viewConfState.layout,
|
|
1733
1733
|
onSetLists: function onSetLists(nextLayout) {
|
|
1734
1734
|
return viewConfDispatch({
|
|
@@ -1748,13 +1748,13 @@ function ViewLayoutPopover(_ref) {
|
|
|
1748
1748
|
var activeViewCount = useMemo(function () {
|
|
1749
1749
|
return Object.keys(viewConfState.byId).length;
|
|
1750
1750
|
}, [viewConfState.byId]);
|
|
1751
|
-
return /*#__PURE__*/React
|
|
1751
|
+
return /*#__PURE__*/React.createElement(Popover.Root, null, /*#__PURE__*/React.createElement(Popover.Trigger, null, /*#__PURE__*/React.createElement(Button, _extends({
|
|
1752
1752
|
variant: activeViewCount > 0 ? 'solid' : 'soft',
|
|
1753
1753
|
size: "1"
|
|
1754
|
-
}, props), /*#__PURE__*/React
|
|
1754
|
+
}, props), /*#__PURE__*/React.createElement(Icon, {
|
|
1755
1755
|
path: mdiLayers,
|
|
1756
1756
|
size: "16px"
|
|
1757
|
-
}), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null)), /*#__PURE__*/React
|
|
1757
|
+
}), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null)), /*#__PURE__*/React.createElement(Popover.Content, {
|
|
1758
1758
|
size: "1",
|
|
1759
1759
|
align: "center",
|
|
1760
1760
|
style: {
|
|
@@ -1763,19 +1763,19 @@ function ViewLayoutPopover(_ref) {
|
|
|
1763
1763
|
position: 'relative'
|
|
1764
1764
|
},
|
|
1765
1765
|
maxWidth: "none"
|
|
1766
|
-
}, /*#__PURE__*/React
|
|
1766
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
1767
1767
|
direction: "row",
|
|
1768
1768
|
gap: "3"
|
|
1769
|
-
}, activeViewCount > 0 ? /*#__PURE__*/React
|
|
1769
|
+
}, activeViewCount > 0 ? /*#__PURE__*/React.createElement(ViewLayoutControl, {
|
|
1770
1770
|
viewSpecs: viewSpecs,
|
|
1771
1771
|
viewConfState: viewConfState,
|
|
1772
1772
|
viewConfDispatch: viewConfDispatch
|
|
1773
|
-
}) : /*#__PURE__*/React
|
|
1773
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
1774
1774
|
size: "1"
|
|
1775
|
-
}, "Nenhuma camada ativa"), /*#__PURE__*/React
|
|
1775
|
+
}, "Nenhuma camada ativa"), /*#__PURE__*/React.createElement(Popover.Close, null, /*#__PURE__*/React.createElement(IconButton, {
|
|
1776
1776
|
size: "1",
|
|
1777
1777
|
variant: "ghost"
|
|
1778
|
-
}, /*#__PURE__*/React
|
|
1778
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1779
1779
|
path: mdiClose,
|
|
1780
1780
|
size: "16px"
|
|
1781
1781
|
}))))));
|
|
@@ -6803,7 +6803,7 @@ function _parseGeoFileMetadata() {
|
|
|
6803
6803
|
}
|
|
6804
6804
|
function GeoFile(props) {
|
|
6805
6805
|
var dialogs = useDialogs();
|
|
6806
|
-
return /*#__PURE__*/React
|
|
6806
|
+
return /*#__PURE__*/React.createElement(SingleFileInput, _extends({}, props, {
|
|
6807
6807
|
middleware: [(/*#__PURE__*/function () {
|
|
6808
6808
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
6809
6809
|
var Gdal, _yield$Gdal$open, datasets, errors, result, fileBytes, blob, outFile;
|
|
@@ -6880,13 +6880,13 @@ function GeoFile(props) {
|
|
|
6880
6880
|
}
|
|
6881
6881
|
|
|
6882
6882
|
function NumberInput(props) {
|
|
6883
|
-
return /*#__PURE__*/React
|
|
6883
|
+
return /*#__PURE__*/React.createElement(TextInput, _extends({}, props, {
|
|
6884
6884
|
type: "text",
|
|
6885
6885
|
mask: Number
|
|
6886
6886
|
}));
|
|
6887
6887
|
}
|
|
6888
6888
|
function InputProvider(props) {
|
|
6889
|
-
return /*#__PURE__*/React
|
|
6889
|
+
return /*#__PURE__*/React.createElement(InputProvider$1, _extends({
|
|
6890
6890
|
renderers: _objectSpread2(_objectSpread2({}, INPUTS), rendererSpecList({
|
|
6891
6891
|
date: TextInput,
|
|
6892
6892
|
number: NumberInput,
|
|
@@ -7421,7 +7421,7 @@ function HoverLegend(_ref) {
|
|
|
7421
7421
|
onMouseLeaveStep: onMouseLeaveStep
|
|
7422
7422
|
};
|
|
7423
7423
|
}, []);
|
|
7424
|
-
return /*#__PURE__*/React
|
|
7424
|
+
return /*#__PURE__*/React.createElement(Legend, _extends({}, legendProps, legendProps.type === 'SequentialColorLegend' ? SEQUENTIAL_COLOR_LEGEND_PROPS : {}));
|
|
7425
7425
|
}
|
|
7426
7426
|
function GeoReDUSInner(_ref2) {
|
|
7427
7427
|
var globalState = _ref2.state,
|
|
@@ -7807,7 +7807,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
7807
7807
|
feature: feature
|
|
7808
7808
|
}) : null;
|
|
7809
7809
|
}).filter(Boolean);
|
|
7810
|
-
return tooltipDataSections.length > 0 && /*#__PURE__*/React
|
|
7810
|
+
return tooltipDataSections.length > 0 && /*#__PURE__*/React.createElement(HoverTooltip, {
|
|
7811
7811
|
position: hoverInfo.point,
|
|
7812
7812
|
dataSections: tooltipDataSections,
|
|
7813
7813
|
style: {
|
|
@@ -7825,7 +7825,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
7825
7825
|
sprite: 'https://api.maptiler.com/maps/dataviz/sprite'
|
|
7826
7826
|
});
|
|
7827
7827
|
});
|
|
7828
|
-
return /*#__PURE__*/React
|
|
7828
|
+
return /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement(LeftPanel, {
|
|
7829
7829
|
open: leftPanelOpen,
|
|
7830
7830
|
onSetOpen: setLeftPanelOpen,
|
|
7831
7831
|
viewSpecs: resolvedViewSpecs,
|
|
@@ -7833,7 +7833,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
7833
7833
|
viewConfDispatch: viewConfDispatch,
|
|
7834
7834
|
resolvedViews: resolvedViews,
|
|
7835
7835
|
syncedMapsRef: syncedMapsRef
|
|
7836
|
-
}), /*#__PURE__*/React
|
|
7836
|
+
}), /*#__PURE__*/React.createElement(Flex, {
|
|
7837
7837
|
style: {
|
|
7838
7838
|
position: 'fixed',
|
|
7839
7839
|
zIndex: 2,
|
|
@@ -7843,19 +7843,19 @@ function GeoReDUSInner(_ref2) {
|
|
|
7843
7843
|
direction: "row",
|
|
7844
7844
|
gap: "4",
|
|
7845
7845
|
alignItems: "center"
|
|
7846
|
-
}, /*#__PURE__*/React
|
|
7846
|
+
}, /*#__PURE__*/React.createElement(ViewLayoutPopover, {
|
|
7847
7847
|
viewSpecs: viewSpecsQuery.data,
|
|
7848
7848
|
viewConfState: viewConfState,
|
|
7849
7849
|
viewConfDispatch: viewConfDispatch
|
|
7850
|
-
}), /*#__PURE__*/React
|
|
7850
|
+
}), /*#__PURE__*/React.createElement(Flex, {
|
|
7851
7851
|
alignItems: "strecth",
|
|
7852
7852
|
width: "400px",
|
|
7853
7853
|
maxWidth: "30vw"
|
|
7854
|
-
}, /*#__PURE__*/React
|
|
7854
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
7855
7855
|
schema: MUNICIPIO_ID_SELECTOR_SCHEMA,
|
|
7856
7856
|
value: municipioId,
|
|
7857
7857
|
onSetValue: setMunicipioId
|
|
7858
|
-
}))), mapStyle && /*#__PURE__*/React
|
|
7858
|
+
}))), mapStyle && /*#__PURE__*/React.createElement(SyncedMaps, {
|
|
7859
7859
|
maxPitch: 80,
|
|
7860
7860
|
onDrag: function onDrag() {
|
|
7861
7861
|
if (resolvedLayout.length > 1 && leftPanelOpen) {
|
|
@@ -7909,10 +7909,10 @@ function GeoReDUSInner(_ref2) {
|
|
|
7909
7909
|
// canvasContextAttributes: {
|
|
7910
7910
|
// preserveDrawingBuffer: true,
|
|
7911
7911
|
// },
|
|
7912
|
-
children: /*#__PURE__*/React
|
|
7912
|
+
children: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AttributionControl, {
|
|
7913
7913
|
position: "bottom-right",
|
|
7914
7914
|
compact: false
|
|
7915
|
-
}), /*#__PURE__*/React
|
|
7915
|
+
}), /*#__PURE__*/React.createElement(ControlContainer, {
|
|
7916
7916
|
style: {
|
|
7917
7917
|
width: 'auto',
|
|
7918
7918
|
height: 'auto',
|
|
@@ -7920,13 +7920,13 @@ function GeoReDUSInner(_ref2) {
|
|
|
7920
7920
|
opacity: legends.length > 0 ? 1 : 0
|
|
7921
7921
|
},
|
|
7922
7922
|
position: "bottom-right"
|
|
7923
|
-
}, legends.length > 0 && /*#__PURE__*/React
|
|
7923
|
+
}, legends.length > 0 && /*#__PURE__*/React.createElement(LegendContainer, {
|
|
7924
7924
|
direction: "row",
|
|
7925
7925
|
gap: "3",
|
|
7926
7926
|
p: resolvedLayout.length > 1 ? '3' : '4'
|
|
7927
|
-
}, resolvedLayout.length > 1 && /*#__PURE__*/React
|
|
7927
|
+
}, resolvedLayout.length > 1 && /*#__PURE__*/React.createElement(Tooltip, {
|
|
7928
7928
|
content: "Fechar visualiza\xE7\xE3o"
|
|
7929
|
-
}, /*#__PURE__*/React
|
|
7929
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
7930
7930
|
size: "1",
|
|
7931
7931
|
variant: "soft",
|
|
7932
7932
|
onClick: function onClick() {
|
|
@@ -7935,14 +7935,14 @@ function GeoReDUSInner(_ref2) {
|
|
|
7935
7935
|
payload: views[0].id
|
|
7936
7936
|
});
|
|
7937
7937
|
}
|
|
7938
|
-
}, /*#__PURE__*/React
|
|
7938
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7939
7939
|
path: mdiClose,
|
|
7940
7940
|
size: "20px"
|
|
7941
|
-
}))), /*#__PURE__*/React
|
|
7941
|
+
}))), /*#__PURE__*/React.createElement(EvenSpacedList, {
|
|
7942
7942
|
columns: legends.length > 1 ? 2 : 1,
|
|
7943
7943
|
gap: "10px"
|
|
7944
7944
|
}, legends.map(function (legend) {
|
|
7945
|
-
return /*#__PURE__*/React
|
|
7945
|
+
return /*#__PURE__*/React.createElement(HoverLegend, _extends({}, resolvedLayout.length > 1 ? {
|
|
7946
7946
|
direction: 'row',
|
|
7947
7947
|
maxWidth: '300px',
|
|
7948
7948
|
size: '1'
|
|
@@ -7953,21 +7953,21 @@ function GeoReDUSInner(_ref2) {
|
|
|
7953
7953
|
}, {
|
|
7954
7954
|
key: legend.id
|
|
7955
7955
|
}, legend));
|
|
7956
|
-
})))), index === resolvedLayout.length - 1 ? /*#__PURE__*/React
|
|
7956
|
+
})))), index === resolvedLayout.length - 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, process.env.NODE_ENV !== 'production' && /*#__PURE__*/React.createElement(InspectControl, null), /*#__PURE__*/React.createElement(GeolocateControl, {
|
|
7957
7957
|
position: "top-right"
|
|
7958
|
-
}), /*#__PURE__*/React
|
|
7958
|
+
}), /*#__PURE__*/React.createElement(FullscreenControl, {
|
|
7959
7959
|
position: "top-right"
|
|
7960
|
-
}), /*#__PURE__*/React
|
|
7960
|
+
}), /*#__PURE__*/React.createElement(NavigationControl, {
|
|
7961
7961
|
position: "top-right"
|
|
7962
|
-
}), /*#__PURE__*/React
|
|
7962
|
+
}), /*#__PURE__*/React.createElement(ScaleControl, {
|
|
7963
7963
|
position: "bottom-right"
|
|
7964
|
-
}), /*#__PURE__*/React
|
|
7964
|
+
}), /*#__PURE__*/React.createElement(ControlContainer, {
|
|
7965
7965
|
style: {
|
|
7966
7966
|
width: 100,
|
|
7967
7967
|
height: 100,
|
|
7968
7968
|
boxShadow: 'none'
|
|
7969
7969
|
}
|
|
7970
|
-
}, /*#__PURE__*/React
|
|
7970
|
+
}, /*#__PURE__*/React.createElement(MapStyleToggleCtrl, {
|
|
7971
7971
|
style: {
|
|
7972
7972
|
position: 'relative',
|
|
7973
7973
|
width: 100,
|
|
@@ -7977,7 +7977,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
7977
7977
|
onClick: function onClick() {
|
|
7978
7978
|
return setBaseMapStyle(baseMapStyle === 'dataviz' ? 'satellite' : 'dataviz');
|
|
7979
7979
|
}
|
|
7980
|
-
}, /*#__PURE__*/React
|
|
7980
|
+
}, /*#__PURE__*/React.createElement(MapWindow, {
|
|
7981
7981
|
style: {
|
|
7982
7982
|
pointerEvents: 'none',
|
|
7983
7983
|
position: 'absolute',
|
|
@@ -7988,13 +7988,13 @@ function GeoReDUSInner(_ref2) {
|
|
|
7988
7988
|
},
|
|
7989
7989
|
mapStyle: baseMapStyle === 'satellite' ? DATAVIZ_MAP_STYLE_URL : SATELLITE_MAP_STYLE_URL,
|
|
7990
7990
|
maxZoom: 13
|
|
7991
|
-
})))) : null, /*#__PURE__*/React
|
|
7991
|
+
})))) : null, /*#__PURE__*/React.createElement(TerrainControl, {
|
|
7992
7992
|
demSourceUrl: DEM_SOURCE_URL,
|
|
7993
7993
|
demSourceEncoding: DEM_SOURCE_ENCODING
|
|
7994
7994
|
}))
|
|
7995
7995
|
};
|
|
7996
7996
|
})
|
|
7997
|
-
}, isLoading && /*#__PURE__*/React
|
|
7997
|
+
}, isLoading && /*#__PURE__*/React.createElement(LoadingIndicator, {
|
|
7998
7998
|
style: {
|
|
7999
7999
|
position: 'fixed',
|
|
8000
8000
|
bottom: '10px',
|
|
@@ -8005,9 +8005,9 @@ function GeoReDUSInner(_ref2) {
|
|
|
8005
8005
|
}
|
|
8006
8006
|
var GeoReDUSRootContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n"])));
|
|
8007
8007
|
function GeoReDUS(props) {
|
|
8008
|
-
return /*#__PURE__*/React
|
|
8008
|
+
return /*#__PURE__*/React.createElement(GeoReDUSRootContainer, null, /*#__PURE__*/React.createElement(InputProvider, {
|
|
8009
8009
|
variant: "labeled"
|
|
8010
|
-
}, /*#__PURE__*/React
|
|
8010
|
+
}, /*#__PURE__*/React.createElement(DialogsProvider, null, /*#__PURE__*/React.createElement(GeoReDUSInner, props))));
|
|
8011
8011
|
}
|
|
8012
8012
|
|
|
8013
8013
|
export { GeoReDUS, VTX_PROTOCOL, memoFetchData, vtx, vtxSetup, vtxUrl };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redus/georedus-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
4
4
|
"packageManager": "yarn@4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"@orioro/resolve": "^0.1.2",
|
|
59
59
|
"@orioro/scale-util": "^0.0.2",
|
|
60
60
|
"@orioro/tree-model": "^0.0.2",
|
|
61
|
-
"@orioro/util": "^0.
|
|
61
|
+
"@orioro/util": "^0.14.0",
|
|
62
62
|
"@orioro/validate": "^0.0.2",
|
|
63
|
-
"@orioro/vector-tile-util": "^0.2.
|
|
63
|
+
"@orioro/vector-tile-util": "^0.2.1",
|
|
64
64
|
"@radix-ui/react-collapsible": "^1.1.3",
|
|
65
65
|
"@tanstack/react-query": "^5.18.0",
|
|
66
66
|
"@turf/turf": "^7.1.0",
|