@redus/georedus-ui 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/main.js +186 -186
- package/dist/viewSpecs/development/redus_mutirao_cop_2025.d.ts +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/main.js
CHANGED
|
@@ -16,11 +16,11 @@ import { csvParse } from 'd3-dsv';
|
|
|
16
16
|
import { strAutoCast } from '@orioro/cast';
|
|
17
17
|
import { fmtLayerAbsoluteId, waves_1, svgImageGenerator, SVG_PATTERNS, makeSyncedMaps, LayeredMap, useMapRegistry, useTilesLoading, HoverTooltip, layeredMapOnClickHandler, DynamicImages, ControlContainer, InspectControl, MapWindow, TerrainControl, fitGeometry } from '@orioro/react-maplibre-util';
|
|
18
18
|
import { colord } from 'colord';
|
|
19
|
+
import React, { useState, useMemo, useCallback, useContext, createContext, useReducer, useEffect, useRef } from 'react';
|
|
19
20
|
import { Heading, Portal, Badge, Tabs, Tooltip, IconButton, Theme, Text, Popover, Dialog } from '@radix-ui/themes';
|
|
20
21
|
import styled, { keyframes } from 'styled-components';
|
|
21
22
|
import { mdiSprout, mdiTree, mdiCurrencyUsd, mdiAccountMultipleOutline, mdiScaleBalance, mdiHelpCircleOutline, mdiDownload, mdiDotsVertical, mdiOpacity, mdiFilterVariant, mdiMap, mdiEarth, mdiHospitalBox, mdiHomeCity, mdiSchool, mdiAccountGroup, mdiContentCopy, mdiLinkVariant, mdiChevronLeft, mdiShareVariantOutline, mdiForumOutline, mdiDragVertical, mdiLayers, mdiClose, mdiHospital } from '@mdi/js';
|
|
22
23
|
import { Icon } from '@mdi/react';
|
|
23
|
-
import React$1, { useState, useMemo, useCallback, useContext, createContext, useReducer, useEffect, useRef } from 'react';
|
|
24
24
|
import Confetti from 'react-confetti';
|
|
25
25
|
import { nodeIdFromPath } from '@orioro/tree-model';
|
|
26
26
|
import { makeDirNav } from '@orioro/react-dir-nav';
|
|
@@ -7637,7 +7637,7 @@ var templateObject_1, templateObject_2, templateObject_3;
|
|
|
7637
7637
|
var REMARK_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REMARK_PLUGINS), [remarkMath]);
|
|
7638
7638
|
var REHYPE_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REHYPE_PLUGINS), [rehypeKatex]);
|
|
7639
7639
|
function Markdown(props) {
|
|
7640
|
-
return /*#__PURE__*/React
|
|
7640
|
+
return /*#__PURE__*/React.createElement(Markdown$1, _extends({
|
|
7641
7641
|
remarkPlugins: REMARK_PLUGINS,
|
|
7642
7642
|
rehypePlugins: REHYPE_PLUGINS
|
|
7643
7643
|
}, props));
|
|
@@ -7667,7 +7667,7 @@ var _createDialogSystem = createDialogSystem({
|
|
|
7667
7667
|
useDialogs = _createDialogSystem2[1];
|
|
7668
7668
|
function DialogsProvider(_ref2) {
|
|
7669
7669
|
var children = _ref2.children;
|
|
7670
|
-
return /*#__PURE__*/React
|
|
7670
|
+
return /*#__PURE__*/React.createElement(DialogsProvider_, {
|
|
7671
7671
|
prompt: {
|
|
7672
7672
|
restore: 'Restaurar',
|
|
7673
7673
|
cancel: 'Cancelar',
|
|
@@ -7679,7 +7679,7 @@ function DialogsProvider(_ref2) {
|
|
|
7679
7679
|
var CONF_TABS = {
|
|
7680
7680
|
data: {
|
|
7681
7681
|
id: 'data',
|
|
7682
|
-
icon: /*#__PURE__*/React
|
|
7682
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
7683
7683
|
path: mdiFilterVariant,
|
|
7684
7684
|
size: "16px"
|
|
7685
7685
|
}),
|
|
@@ -7687,7 +7687,7 @@ var CONF_TABS = {
|
|
|
7687
7687
|
},
|
|
7688
7688
|
style: {
|
|
7689
7689
|
id: 'style',
|
|
7690
|
-
icon: /*#__PURE__*/React
|
|
7690
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
7691
7691
|
path: mdiOpacity,
|
|
7692
7692
|
size: "16px"
|
|
7693
7693
|
}),
|
|
@@ -7720,21 +7720,21 @@ function ViewConfTabs(_ref) {
|
|
|
7720
7720
|
}).filter(Boolean);
|
|
7721
7721
|
}, [CONF_SCHEMA]);
|
|
7722
7722
|
var dialogs = useDialogs();
|
|
7723
|
-
return /*#__PURE__*/React
|
|
7723
|
+
return /*#__PURE__*/React.createElement(Tabs.Root, {
|
|
7724
7724
|
defaultValue: ((_enabledTabs$ = enabledTabs[0]) === null || _enabledTabs$ === void 0 ? void 0 : _enabledTabs$.id) || null
|
|
7725
|
-
}, /*#__PURE__*/React
|
|
7725
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
7726
7726
|
direction: "row",
|
|
7727
7727
|
gap: "0"
|
|
7728
|
-
}, /*#__PURE__*/React
|
|
7728
|
+
}, /*#__PURE__*/React.createElement(Tabs.List, {
|
|
7729
7729
|
size: "1"
|
|
7730
7730
|
}, enabledTabs.map(function (tab) {
|
|
7731
|
-
return /*#__PURE__*/React
|
|
7731
|
+
return /*#__PURE__*/React.createElement(Tabs.Trigger, {
|
|
7732
7732
|
key: tab.id,
|
|
7733
7733
|
value: tab.id
|
|
7734
|
-
}, /*#__PURE__*/React
|
|
7734
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
7735
7735
|
content: tab.label
|
|
7736
7736
|
}, tab.icon));
|
|
7737
|
-
})), /*#__PURE__*/React
|
|
7737
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
7738
7738
|
direction: "row",
|
|
7739
7739
|
alignItems: "center",
|
|
7740
7740
|
gap: "10px",
|
|
@@ -7745,7 +7745,7 @@ function ViewConfTabs(_ref) {
|
|
|
7745
7745
|
flexGrow: 1,
|
|
7746
7746
|
boxShadow: 'color(display-p3 0.0039 0.251 0.5137 / 0.174) 0px -1px 0px 0px inset'
|
|
7747
7747
|
}
|
|
7748
|
-
}, viewSpec.metodology && /*#__PURE__*/React
|
|
7748
|
+
}, viewSpec.metodology && /*#__PURE__*/React.createElement(IconButton, {
|
|
7749
7749
|
variant: "ghost",
|
|
7750
7750
|
size: "1",
|
|
7751
7751
|
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
@@ -7788,9 +7788,9 @@ function ViewConfTabs(_ref) {
|
|
|
7788
7788
|
_context2.next = 6;
|
|
7789
7789
|
return dialogs.view({
|
|
7790
7790
|
maxHeight: '90vh',
|
|
7791
|
-
children: /*#__PURE__*/React
|
|
7791
|
+
children: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Heading, {
|
|
7792
7792
|
as: "h1"
|
|
7793
|
-
}, viewSpec.label, " - Notas metodol\xF3gicas"), /*#__PURE__*/React
|
|
7793
|
+
}, viewSpec.label, " - Notas metodol\xF3gicas"), /*#__PURE__*/React.createElement(Markdown, {
|
|
7794
7794
|
children: markdown.trim()
|
|
7795
7795
|
}))
|
|
7796
7796
|
});
|
|
@@ -7800,12 +7800,12 @@ function ViewConfTabs(_ref) {
|
|
|
7800
7800
|
}
|
|
7801
7801
|
}, _callee2);
|
|
7802
7802
|
}))
|
|
7803
|
-
}, /*#__PURE__*/React
|
|
7803
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
7804
7804
|
content: "Notas metodol\xF3gicas"
|
|
7805
|
-
}, /*#__PURE__*/React
|
|
7805
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7806
7806
|
path: mdiHelpCircleOutline,
|
|
7807
7807
|
size: "16px"
|
|
7808
|
-
}))), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/React
|
|
7808
|
+
}))), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/React.createElement(IconButton, {
|
|
7809
7809
|
variant: "ghost",
|
|
7810
7810
|
size: "1",
|
|
7811
7811
|
onClick: function onClick() {
|
|
@@ -7813,22 +7813,22 @@ function ViewConfTabs(_ref) {
|
|
|
7813
7813
|
dialogs: dialogs
|
|
7814
7814
|
});
|
|
7815
7815
|
}
|
|
7816
|
-
}, /*#__PURE__*/React
|
|
7816
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
7817
7817
|
content: "Baixar dados"
|
|
7818
|
-
}, /*#__PURE__*/React
|
|
7818
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7819
7819
|
path: mdiDownload,
|
|
7820
7820
|
size: "16px"
|
|
7821
|
-
}))), /*#__PURE__*/React
|
|
7821
|
+
}))), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
7822
7822
|
options: [{
|
|
7823
7823
|
label: 'Visualizar como mapa comparado',
|
|
7824
7824
|
onClick: function onClick() {
|
|
7825
7825
|
return onSetView(viewConf, 1);
|
|
7826
7826
|
}
|
|
7827
7827
|
}]
|
|
7828
|
-
}, /*#__PURE__*/React
|
|
7828
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
7829
7829
|
variant: "ghost",
|
|
7830
7830
|
size: "1"
|
|
7831
|
-
}, /*#__PURE__*/React
|
|
7831
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7832
7832
|
path: mdiDotsVertical,
|
|
7833
7833
|
size: "16px"
|
|
7834
7834
|
}))))), Array.isArray(enabledTabs) && enabledTabs.length > 0 ? enabledTabs.map(function (tab) {
|
|
@@ -7843,14 +7843,14 @@ function ViewConfTabs(_ref) {
|
|
|
7843
7843
|
return Boolean(value);
|
|
7844
7844
|
}));
|
|
7845
7845
|
var tabConfValue = immediateViewConf[tab.id];
|
|
7846
|
-
return /*#__PURE__*/React
|
|
7846
|
+
return /*#__PURE__*/React.createElement(Tabs.Content, {
|
|
7847
7847
|
key: tab.id,
|
|
7848
7848
|
value: tab.id
|
|
7849
|
-
}, /*#__PURE__*/React
|
|
7849
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
7850
7850
|
p: "3"
|
|
7851
|
-
}, /*#__PURE__*/React
|
|
7851
|
+
}, /*#__PURE__*/React.createElement(Theme, {
|
|
7852
7852
|
scaling: "100%"
|
|
7853
|
-
}, /*#__PURE__*/React
|
|
7853
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
7854
7854
|
schema: {
|
|
7855
7855
|
type: 'object',
|
|
7856
7856
|
properties: tabConfSchema
|
|
@@ -7860,7 +7860,7 @@ function ViewConfTabs(_ref) {
|
|
|
7860
7860
|
return setImmediateViewConf(_objectSpread2(_objectSpread2({}, viewConf), {}, _defineProperty({}, tab.id, _objectSpread2(_objectSpread2({}, viewConf[tab.id] || {}), nextValue))));
|
|
7861
7861
|
}
|
|
7862
7862
|
}))));
|
|
7863
|
-
}) : /*#__PURE__*/React
|
|
7863
|
+
}) : /*#__PURE__*/React.createElement(Box, {
|
|
7864
7864
|
p: "3",
|
|
7865
7865
|
style: {
|
|
7866
7866
|
fontSize: '.9rem'
|
|
@@ -7897,18 +7897,18 @@ function HeadingWithTooltipAndEllipsis(_ref7) {
|
|
|
7897
7897
|
_ref7$maxLines = _ref7.maxLines,
|
|
7898
7898
|
maxLines = _ref7$maxLines === void 0 ? 2 : _ref7$maxLines,
|
|
7899
7899
|
props = _objectWithoutProperties(_ref7, _excluded$4);
|
|
7900
|
-
return /*#__PURE__*/React
|
|
7900
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
7901
7901
|
content: content
|
|
7902
|
-
}, /*#__PURE__*/React
|
|
7902
|
+
}, /*#__PURE__*/React.createElement(Heading, _extends({
|
|
7903
7903
|
size: "2",
|
|
7904
7904
|
as: "h4",
|
|
7905
7905
|
style: {
|
|
7906
7906
|
fontWeight: 'normal',
|
|
7907
7907
|
color: 'var(--accent-9)'
|
|
7908
7908
|
}
|
|
7909
|
-
}, props), /*#__PURE__*/React
|
|
7909
|
+
}, props), /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
7910
7910
|
maxLines: maxLines
|
|
7911
|
-
}, /*#__PURE__*/React
|
|
7911
|
+
}, /*#__PURE__*/React.createElement(Highlighter, {
|
|
7912
7912
|
searchWords: textSearch && textSearch.length > 3 ? [textSearch] : [],
|
|
7913
7913
|
textToHighlight: content
|
|
7914
7914
|
}))));
|
|
@@ -7935,9 +7935,9 @@ function ViewControl(_ref8) {
|
|
|
7935
7935
|
var toggleView = useCallback(function () {
|
|
7936
7936
|
return active ? deactivateView() : setView();
|
|
7937
7937
|
}, [active, deactivateView, setView]);
|
|
7938
|
-
return viewSpec && /*#__PURE__*/React
|
|
7938
|
+
return viewSpec && /*#__PURE__*/React.createElement(Collapsible.Root, {
|
|
7939
7939
|
open: configurable === true && active
|
|
7940
|
-
}, /*#__PURE__*/React
|
|
7940
|
+
}, /*#__PURE__*/React.createElement(Container$1, null, /*#__PURE__*/React.createElement(Summary, {
|
|
7941
7941
|
type: "button",
|
|
7942
7942
|
role: "button",
|
|
7943
7943
|
style: style,
|
|
@@ -7945,19 +7945,19 @@ function ViewControl(_ref8) {
|
|
|
7945
7945
|
onClick: configurable ? function () {
|
|
7946
7946
|
return toggleView();
|
|
7947
7947
|
} : null
|
|
7948
|
-
}, /*#__PURE__*/React
|
|
7948
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
7949
7949
|
direction: "row",
|
|
7950
7950
|
alignItems: "center",
|
|
7951
7951
|
justifyContent: "space-between",
|
|
7952
7952
|
p: "3",
|
|
7953
7953
|
width: "100%"
|
|
7954
|
-
}, /*#__PURE__*/React
|
|
7954
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
7955
7955
|
direction: "column",
|
|
7956
7956
|
gap: "1",
|
|
7957
7957
|
style: {
|
|
7958
7958
|
flexGrow: '1'
|
|
7959
7959
|
}
|
|
7960
|
-
}, path && /*#__PURE__*/React
|
|
7960
|
+
}, path && /*#__PURE__*/React.createElement(HeadingWithTooltipAndEllipsis, {
|
|
7961
7961
|
size: "1",
|
|
7962
7962
|
as: "h6",
|
|
7963
7963
|
content: typeof path === 'string' ? path : viewSpec.path,
|
|
@@ -7967,18 +7967,18 @@ function ViewControl(_ref8) {
|
|
|
7967
7967
|
color: 'var(--gray-9)',
|
|
7968
7968
|
fontWeight: 'normal'
|
|
7969
7969
|
}
|
|
7970
|
-
}), /*#__PURE__*/React
|
|
7970
|
+
}), /*#__PURE__*/React.createElement(HeadingWithTooltipAndEllipsis, {
|
|
7971
7971
|
content: viewSpec.label,
|
|
7972
7972
|
textSearch: textSearch,
|
|
7973
7973
|
maxLines: 2
|
|
7974
|
-
}), /*#__PURE__*/React
|
|
7974
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
7975
7975
|
color: "gray",
|
|
7976
7976
|
style: {
|
|
7977
7977
|
color: 'var(--gray-9)',
|
|
7978
7978
|
textTransform: 'uppercase'
|
|
7979
7979
|
},
|
|
7980
7980
|
size: "1"
|
|
7981
|
-
}, viewSpec.sourceLabel)), /*#__PURE__*/React
|
|
7981
|
+
}, viewSpec.sourceLabel)), /*#__PURE__*/React.createElement(SwitchInput, {
|
|
7982
7982
|
radius: "full",
|
|
7983
7983
|
value: active,
|
|
7984
7984
|
onSetValue: function onSetValue() {
|
|
@@ -7991,11 +7991,11 @@ function ViewControl(_ref8) {
|
|
|
7991
7991
|
onClick: function onClick(e) {
|
|
7992
7992
|
return e.stopPropagation();
|
|
7993
7993
|
}
|
|
7994
|
-
}))), /*#__PURE__*/React
|
|
7994
|
+
}))), /*#__PURE__*/React.createElement(CollapsibleContent, {
|
|
7995
7995
|
style: {
|
|
7996
7996
|
borderTop: '1px solid var(--gray-8)'
|
|
7997
7997
|
}
|
|
7998
|
-
}, viewConf && /*#__PURE__*/React
|
|
7998
|
+
}, viewConf && /*#__PURE__*/React.createElement(ViewConfTabs, {
|
|
7999
7999
|
viewSpec: viewSpec,
|
|
8000
8000
|
viewConf: viewConf,
|
|
8001
8001
|
resolvedView: resolvedView,
|
|
@@ -8006,22 +8006,22 @@ function ViewControl(_ref8) {
|
|
|
8006
8006
|
var _excluded$3 = ["viewSpecs", "viewConfState", "resolvedViews", "onSetView", "onDeactivateView", "style"];
|
|
8007
8007
|
var _templateObject$3, _templateObject2$1;
|
|
8008
8008
|
var STATIC_NODE_ICONS = {
|
|
8009
|
-
'populacao-e-domicilios': /*#__PURE__*/React
|
|
8009
|
+
'populacao-e-domicilios': /*#__PURE__*/React.createElement(Icon, {
|
|
8010
8010
|
path: mdiAccountGroup
|
|
8011
8011
|
}),
|
|
8012
|
-
educacao: /*#__PURE__*/React
|
|
8012
|
+
educacao: /*#__PURE__*/React.createElement(Icon, {
|
|
8013
8013
|
path: mdiSchool
|
|
8014
8014
|
}),
|
|
8015
|
-
'infraestrutura-e-servicos-urbanos': /*#__PURE__*/React
|
|
8015
|
+
'infraestrutura-e-servicos-urbanos': /*#__PURE__*/React.createElement(Icon, {
|
|
8016
8016
|
path: mdiHomeCity
|
|
8017
8017
|
}),
|
|
8018
|
-
saude: /*#__PURE__*/React
|
|
8018
|
+
saude: /*#__PURE__*/React.createElement(Icon, {
|
|
8019
8019
|
path: mdiHospitalBox
|
|
8020
8020
|
}),
|
|
8021
|
-
'emergencias-climaticas': /*#__PURE__*/React
|
|
8021
|
+
'emergencias-climaticas': /*#__PURE__*/React.createElement(Icon, {
|
|
8022
8022
|
path: mdiEarth
|
|
8023
8023
|
}),
|
|
8024
|
-
'divisoes-territoriais': /*#__PURE__*/React
|
|
8024
|
+
'divisoes-territoriais': /*#__PURE__*/React.createElement(Icon, {
|
|
8025
8025
|
path: mdiMap
|
|
8026
8026
|
})
|
|
8027
8027
|
};
|
|
@@ -8044,7 +8044,7 @@ function Item(_ref) {
|
|
|
8044
8044
|
resolvedViews = _useContext.resolvedViews,
|
|
8045
8045
|
_onSetView = _useContext.onSetView,
|
|
8046
8046
|
_onDeactivateView = _useContext.onDeactivateView;
|
|
8047
|
-
return /*#__PURE__*/React
|
|
8047
|
+
return /*#__PURE__*/React.createElement(ViewControl, {
|
|
8048
8048
|
textSearch: textSearch,
|
|
8049
8049
|
path: Boolean(textSearch) ? node.path : null,
|
|
8050
8050
|
viewSpec: node,
|
|
@@ -8120,7 +8120,7 @@ var DirNav = makeDirNav({
|
|
|
8120
8120
|
viewSpecsById: viewSpecsById,
|
|
8121
8121
|
nodeId: node.id
|
|
8122
8122
|
});
|
|
8123
|
-
return /*#__PURE__*/React
|
|
8123
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8124
8124
|
style: {
|
|
8125
8125
|
flexGrow: 1,
|
|
8126
8126
|
textAlign: 'left',
|
|
@@ -8130,11 +8130,11 @@ var DirNav = makeDirNav({
|
|
|
8130
8130
|
alignItems: 'center',
|
|
8131
8131
|
justifyContent: 'space-between'
|
|
8132
8132
|
}
|
|
8133
|
-
}, /*#__PURE__*/React
|
|
8133
|
+
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
8134
8134
|
style: {
|
|
8135
8135
|
flexShrink: 1
|
|
8136
8136
|
}
|
|
8137
|
-
}, node.label), activeViewsCount > 0 && /*#__PURE__*/React
|
|
8137
|
+
}, node.label), activeViewsCount > 0 && /*#__PURE__*/React.createElement("span", {
|
|
8138
8138
|
style: {
|
|
8139
8139
|
marginLeft: 6,
|
|
8140
8140
|
fontSize: '.8rem',
|
|
@@ -8157,9 +8157,9 @@ function ViewMenu(_ref4) {
|
|
|
8157
8157
|
return [spec.id, spec];
|
|
8158
8158
|
}));
|
|
8159
8159
|
}, [viewSpecs]);
|
|
8160
|
-
return /*#__PURE__*/React
|
|
8160
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8161
8161
|
style: style
|
|
8162
|
-
}, /*#__PURE__*/React
|
|
8162
|
+
}, /*#__PURE__*/React.createElement(ViewMenuContext.Provider, {
|
|
8163
8163
|
value: {
|
|
8164
8164
|
viewSpecsById: viewSpecsById,
|
|
8165
8165
|
viewConfState: viewConfState,
|
|
@@ -8167,7 +8167,7 @@ function ViewMenu(_ref4) {
|
|
|
8167
8167
|
onSetView: onSetView,
|
|
8168
8168
|
onDeactivateView: onDeactivateView
|
|
8169
8169
|
}
|
|
8170
|
-
}, /*#__PURE__*/React
|
|
8170
|
+
}, /*#__PURE__*/React.createElement(DirNav, _extends({
|
|
8171
8171
|
style: {
|
|
8172
8172
|
flexGrow: 1,
|
|
8173
8173
|
overflow: 'hidden'
|
|
@@ -8182,18 +8182,18 @@ function ViewMenu(_ref4) {
|
|
|
8182
8182
|
viewSpecsById: viewSpecsById,
|
|
8183
8183
|
nodeId: node.id
|
|
8184
8184
|
});
|
|
8185
|
-
return /*#__PURE__*/React
|
|
8185
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8186
8186
|
style: {
|
|
8187
8187
|
position: 'relative'
|
|
8188
8188
|
}
|
|
8189
|
-
}, STATIC_NODE_ICONS[node.id], activeViewsCount > 0 && /*#__PURE__*/React
|
|
8189
|
+
}, STATIC_NODE_ICONS[node.id], activeViewsCount > 0 && /*#__PURE__*/React.createElement(ActiveCounter, null, activeViewsCount));
|
|
8190
8190
|
}
|
|
8191
8191
|
}, props))));
|
|
8192
8192
|
}
|
|
8193
8193
|
|
|
8194
8194
|
function GeoReDUSLogoSymbol() {
|
|
8195
8195
|
var color = '#FFFFFF';
|
|
8196
|
-
return /*#__PURE__*/React
|
|
8196
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
8197
8197
|
version: "1.1",
|
|
8198
8198
|
id: "Layer_1",
|
|
8199
8199
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -8204,59 +8204,59 @@ function GeoReDUSLogoSymbol() {
|
|
|
8204
8204
|
x: "0px",
|
|
8205
8205
|
y: "0px",
|
|
8206
8206
|
viewBox: "0 0 117.98 129.33"
|
|
8207
|
-
}, /*#__PURE__*/React
|
|
8207
|
+
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
8208
8208
|
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"
|
|
8209
|
-
}), /*#__PURE__*/React
|
|
8209
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8210
8210
|
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"
|
|
8211
|
-
}), /*#__PURE__*/React
|
|
8211
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8212
8212
|
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"
|
|
8213
|
-
}), /*#__PURE__*/React
|
|
8213
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8214
8214
|
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"
|
|
8215
|
-
}), /*#__PURE__*/React
|
|
8215
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8216
8216
|
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"
|
|
8217
|
-
}), /*#__PURE__*/React
|
|
8217
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8218
8218
|
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"
|
|
8219
|
-
}), /*#__PURE__*/React
|
|
8219
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8220
8220
|
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"
|
|
8221
|
-
}), /*#__PURE__*/React
|
|
8221
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8222
8222
|
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"
|
|
8223
|
-
}), /*#__PURE__*/React
|
|
8223
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8224
8224
|
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"
|
|
8225
|
-
}), /*#__PURE__*/React
|
|
8225
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
8226
8226
|
points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
|
|
8227
|
-
}), /*#__PURE__*/React
|
|
8227
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
8228
8228
|
points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
|
|
8229
|
-
})))), /*#__PURE__*/React
|
|
8229
|
+
})))), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
8230
8230
|
fill: color,
|
|
8231
8231
|
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"
|
|
8232
|
-
}), /*#__PURE__*/React
|
|
8232
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8233
8233
|
fill: color,
|
|
8234
8234
|
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"
|
|
8235
|
-
}), /*#__PURE__*/React
|
|
8235
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8236
8236
|
fill: color,
|
|
8237
8237
|
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"
|
|
8238
|
-
}), /*#__PURE__*/React
|
|
8238
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8239
8239
|
fill: color,
|
|
8240
8240
|
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"
|
|
8241
|
-
}), /*#__PURE__*/React
|
|
8241
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8242
8242
|
fill: color,
|
|
8243
8243
|
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"
|
|
8244
|
-
}), /*#__PURE__*/React
|
|
8244
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8245
8245
|
fill: color,
|
|
8246
8246
|
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"
|
|
8247
|
-
}), /*#__PURE__*/React
|
|
8247
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8248
8248
|
fill: color,
|
|
8249
8249
|
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"
|
|
8250
|
-
}), /*#__PURE__*/React
|
|
8250
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8251
8251
|
fill: color,
|
|
8252
8252
|
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"
|
|
8253
|
-
}), /*#__PURE__*/React
|
|
8253
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8254
8254
|
fill: color,
|
|
8255
8255
|
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"
|
|
8256
|
-
}), /*#__PURE__*/React
|
|
8256
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
8257
8257
|
fill: color,
|
|
8258
8258
|
points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
|
|
8259
|
-
}), /*#__PURE__*/React
|
|
8259
|
+
}), /*#__PURE__*/React.createElement("polygon", {
|
|
8260
8260
|
fill: color,
|
|
8261
8261
|
points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
|
|
8262
8262
|
})))));
|
|
@@ -8264,7 +8264,7 @@ function GeoReDUSLogoSymbol() {
|
|
|
8264
8264
|
|
|
8265
8265
|
function GeoReDUSLogoText() {
|
|
8266
8266
|
var color = '#FFFFFF';
|
|
8267
|
-
return /*#__PURE__*/React
|
|
8267
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
8268
8268
|
version: "1.1",
|
|
8269
8269
|
id: "Layer_1",
|
|
8270
8270
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -8275,35 +8275,35 @@ function GeoReDUSLogoText() {
|
|
|
8275
8275
|
x: "0px",
|
|
8276
8276
|
y: "0px",
|
|
8277
8277
|
viewBox: "0 0 215.51 129.33"
|
|
8278
|
-
}, /*#__PURE__*/React
|
|
8278
|
+
}, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
8279
8279
|
fill: color,
|
|
8280
8280
|
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"
|
|
8281
|
-
})), /*#__PURE__*/React
|
|
8281
|
+
})), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
8282
8282
|
fill: color,
|
|
8283
8283
|
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"
|
|
8284
|
-
})), /*#__PURE__*/React
|
|
8284
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
8285
8285
|
fill: color,
|
|
8286
8286
|
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"
|
|
8287
|
-
}), /*#__PURE__*/React
|
|
8287
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8288
8288
|
fill: color,
|
|
8289
8289
|
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"
|
|
8290
|
-
}), /*#__PURE__*/React
|
|
8290
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8291
8291
|
fill: color,
|
|
8292
8292
|
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"
|
|
8293
|
-
}), /*#__PURE__*/React
|
|
8293
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8294
8294
|
fill: color,
|
|
8295
8295
|
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"
|
|
8296
|
-
}), /*#__PURE__*/React
|
|
8296
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8297
8297
|
fill: color,
|
|
8298
8298
|
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"
|
|
8299
|
-
}), /*#__PURE__*/React
|
|
8299
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8300
8300
|
fill: color,
|
|
8301
8301
|
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"
|
|
8302
8302
|
}))));
|
|
8303
8303
|
}
|
|
8304
8304
|
|
|
8305
8305
|
var _excluded2 = ["text", "label", "children", "copiedMessage"];
|
|
8306
|
-
var DEFAULT_ICON = /*#__PURE__*/React
|
|
8306
|
+
var DEFAULT_ICON = /*#__PURE__*/React.createElement(Icon, {
|
|
8307
8307
|
path: mdiContentCopy,
|
|
8308
8308
|
size: "18px"
|
|
8309
8309
|
});
|
|
@@ -8320,14 +8320,14 @@ function CopyToClipboardIconButton(_ref2) {
|
|
|
8320
8320
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
8321
8321
|
copied = _useState4[0],
|
|
8322
8322
|
setCopied = _useState4[1];
|
|
8323
|
-
return /*#__PURE__*/React
|
|
8323
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Popover.Root, {
|
|
8324
8324
|
open: copied
|
|
8325
|
-
}, /*#__PURE__*/React
|
|
8325
|
+
}, /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
8326
8326
|
text: text
|
|
8327
|
-
}, /*#__PURE__*/React
|
|
8327
|
+
}, /*#__PURE__*/React.createElement(Popover.Trigger, null, /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
8328
8328
|
asChild: true,
|
|
8329
8329
|
radius: "full"
|
|
8330
|
-
}, props), /*#__PURE__*/React
|
|
8330
|
+
}, props), /*#__PURE__*/React.createElement("button", {
|
|
8331
8331
|
onClick: function onClick() {
|
|
8332
8332
|
setCopied(true);
|
|
8333
8333
|
setTimeout(function () {
|
|
@@ -8336,10 +8336,10 @@ function CopyToClipboardIconButton(_ref2) {
|
|
|
8336
8336
|
});
|
|
8337
8337
|
}, 2500);
|
|
8338
8338
|
}
|
|
8339
|
-
}, /*#__PURE__*/React
|
|
8339
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
8340
8340
|
content: label,
|
|
8341
8341
|
sideOffset: 10
|
|
8342
|
-
}, children))))), /*#__PURE__*/React
|
|
8342
|
+
}, children))))), /*#__PURE__*/React.createElement(Popover.Content, {
|
|
8343
8343
|
align: "center",
|
|
8344
8344
|
size: "1",
|
|
8345
8345
|
style: {
|
|
@@ -8359,39 +8359,39 @@ var ShareButtonBar = function ShareButtonBar(_ref) {
|
|
|
8359
8359
|
var _useLocation = useLocation(),
|
|
8360
8360
|
href = _useLocation.href;
|
|
8361
8361
|
var shareUrl = url ? url : href;
|
|
8362
|
-
return /*#__PURE__*/React
|
|
8362
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
8363
8363
|
direction: "row",
|
|
8364
8364
|
gap: "3"
|
|
8365
|
-
}, props), /*#__PURE__*/React
|
|
8365
|
+
}, props), /*#__PURE__*/React.createElement(CopyToClipboardIconButton, {
|
|
8366
8366
|
label: "Copiar link de compartilhamento",
|
|
8367
8367
|
copiedMessage: "Link copiado para \xE1rea de transfer\xEAncia",
|
|
8368
8368
|
text: shareUrl
|
|
8369
|
-
}, /*#__PURE__*/React
|
|
8369
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8370
8370
|
path: mdiLinkVariant,
|
|
8371
8371
|
size: "18px"
|
|
8372
|
-
})), /*#__PURE__*/React
|
|
8372
|
+
})), /*#__PURE__*/React.createElement(LinkedinShareButton, {
|
|
8373
8373
|
url: shareUrl
|
|
8374
|
-
}, /*#__PURE__*/React
|
|
8374
|
+
}, /*#__PURE__*/React.createElement(LinkedinIcon, {
|
|
8375
8375
|
size: 32,
|
|
8376
8376
|
round: true
|
|
8377
|
-
})), /*#__PURE__*/React
|
|
8377
|
+
})), /*#__PURE__*/React.createElement(EmailShareButton, {
|
|
8378
8378
|
url: shareUrl
|
|
8379
|
-
}, /*#__PURE__*/React
|
|
8379
|
+
}, /*#__PURE__*/React.createElement(EmailIcon, {
|
|
8380
8380
|
size: 32,
|
|
8381
8381
|
round: true
|
|
8382
|
-
})), /*#__PURE__*/React
|
|
8382
|
+
})), /*#__PURE__*/React.createElement(FacebookShareButton, {
|
|
8383
8383
|
url: shareUrl
|
|
8384
|
-
}, /*#__PURE__*/React
|
|
8384
|
+
}, /*#__PURE__*/React.createElement(FacebookIcon, {
|
|
8385
8385
|
size: 32,
|
|
8386
8386
|
round: true
|
|
8387
|
-
})), /*#__PURE__*/React
|
|
8387
|
+
})), /*#__PURE__*/React.createElement(TwitterShareButton, {
|
|
8388
8388
|
url: shareUrl
|
|
8389
|
-
}, /*#__PURE__*/React
|
|
8389
|
+
}, /*#__PURE__*/React.createElement(TwitterIcon, {
|
|
8390
8390
|
size: 32,
|
|
8391
8391
|
round: true
|
|
8392
|
-
})), /*#__PURE__*/React
|
|
8392
|
+
})), /*#__PURE__*/React.createElement(WhatsappShareButton, {
|
|
8393
8393
|
url: shareUrl
|
|
8394
|
-
}, /*#__PURE__*/React
|
|
8394
|
+
}, /*#__PURE__*/React.createElement(WhatsappIcon, {
|
|
8395
8395
|
size: 32,
|
|
8396
8396
|
round: true
|
|
8397
8397
|
})));
|
|
@@ -8433,10 +8433,10 @@ function SharePanel(_ref) {
|
|
|
8433
8433
|
// throwOnError: process.env.NODE_ENV !== 'production',
|
|
8434
8434
|
// })
|
|
8435
8435
|
|
|
8436
|
-
return /*#__PURE__*/React
|
|
8436
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog.Title, null, "Compartilhar"), /*#__PURE__*/React.createElement(Flex, {
|
|
8437
8437
|
direction: "row",
|
|
8438
8438
|
gap: "4"
|
|
8439
|
-
}, /*#__PURE__*/React
|
|
8439
|
+
}, /*#__PURE__*/React.createElement(ShareButtonBar, null)));
|
|
8440
8440
|
}
|
|
8441
8441
|
|
|
8442
8442
|
var _templateObject$1;
|
|
@@ -8457,7 +8457,7 @@ function LeftPanel(_ref) {
|
|
|
8457
8457
|
syncedMapsRef = _ref.syncedMapsRef,
|
|
8458
8458
|
mapContainerRef = _ref.mapContainerRef;
|
|
8459
8459
|
var dialogs = useDialogs();
|
|
8460
|
-
return /*#__PURE__*/React
|
|
8460
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8461
8461
|
style: {
|
|
8462
8462
|
position: 'fixed',
|
|
8463
8463
|
zIndex: 2,
|
|
@@ -8467,7 +8467,7 @@ function LeftPanel(_ref) {
|
|
|
8467
8467
|
}
|
|
8468
8468
|
// onMouseEnter={() => setMouseIsOver(true)}
|
|
8469
8469
|
// onMouseLeave={() => setMouseIsOver(false)}
|
|
8470
|
-
}, /*#__PURE__*/React
|
|
8470
|
+
}, /*#__PURE__*/React.createElement(Flex
|
|
8471
8471
|
//
|
|
8472
8472
|
// Use flex for responsive positioning
|
|
8473
8473
|
//
|
|
@@ -8490,7 +8490,7 @@ function LeftPanel(_ref) {
|
|
|
8490
8490
|
md: '20px'
|
|
8491
8491
|
}
|
|
8492
8492
|
}
|
|
8493
|
-
}, /*#__PURE__*/React
|
|
8493
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
8494
8494
|
size: {
|
|
8495
8495
|
xs: '3',
|
|
8496
8496
|
md: '1'
|
|
@@ -8506,16 +8506,16 @@ function LeftPanel(_ref) {
|
|
|
8506
8506
|
return onSetOpen(!open);
|
|
8507
8507
|
}
|
|
8508
8508
|
// variant="surface"
|
|
8509
|
-
}, /*#__PURE__*/React
|
|
8509
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
8510
8510
|
content: open ? 'Fechar painel' : 'Abrir painel'
|
|
8511
|
-
}, /*#__PURE__*/React
|
|
8511
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8512
8512
|
style: {
|
|
8513
8513
|
transition: 'transform .2s ease-out',
|
|
8514
8514
|
transform: "rotateZ(".concat(open ? '0' : '180', "deg)")
|
|
8515
8515
|
},
|
|
8516
8516
|
path: mdiChevronLeft,
|
|
8517
8517
|
size: "16px"
|
|
8518
|
-
})))), /*#__PURE__*/React
|
|
8518
|
+
})))), /*#__PURE__*/React.createElement(Flex, {
|
|
8519
8519
|
direction: "column",
|
|
8520
8520
|
gap: "0",
|
|
8521
8521
|
height: "100vh",
|
|
@@ -8528,7 +8528,7 @@ function LeftPanel(_ref) {
|
|
|
8528
8528
|
onClick: function onClick(e) {
|
|
8529
8529
|
return onSetOpen(true);
|
|
8530
8530
|
}
|
|
8531
|
-
}, /*#__PURE__*/React
|
|
8531
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
8532
8532
|
px: "12px",
|
|
8533
8533
|
py: "10px",
|
|
8534
8534
|
height: HEADER_HEIGHT,
|
|
@@ -8540,15 +8540,15 @@ function LeftPanel(_ref) {
|
|
|
8540
8540
|
flexShrink: 0,
|
|
8541
8541
|
flexGrow: 0
|
|
8542
8542
|
}
|
|
8543
|
-
}, /*#__PURE__*/React
|
|
8543
|
+
}, /*#__PURE__*/React.createElement(LogoContainer, {
|
|
8544
8544
|
direction: "row",
|
|
8545
8545
|
gap: "8px"
|
|
8546
|
-
}, /*#__PURE__*/React
|
|
8546
|
+
}, /*#__PURE__*/React.createElement(GeoReDUSLogoSymbol, null), /*#__PURE__*/React.createElement("div", {
|
|
8547
8547
|
style: {
|
|
8548
8548
|
transition: open ? 'opacity .7s ease-out' : 'opacity .1s ease-out',
|
|
8549
8549
|
opacity: open ? 1 : 0
|
|
8550
8550
|
}
|
|
8551
|
-
}, /*#__PURE__*/React
|
|
8551
|
+
}, /*#__PURE__*/React.createElement(GeoReDUSLogoText, null)))), Array.isArray(viewSpecs) ? /*#__PURE__*/React.createElement(ViewMenu, {
|
|
8552
8552
|
style: {
|
|
8553
8553
|
flexGrow: 1,
|
|
8554
8554
|
height: '1px'
|
|
@@ -8579,7 +8579,7 @@ function LeftPanel(_ref) {
|
|
|
8579
8579
|
payload: viewId
|
|
8580
8580
|
});
|
|
8581
8581
|
},
|
|
8582
|
-
sideBarBottom: /*#__PURE__*/React
|
|
8582
|
+
sideBarBottom: /*#__PURE__*/React.createElement(Flex, {
|
|
8583
8583
|
style: {
|
|
8584
8584
|
flexGrow: 1
|
|
8585
8585
|
},
|
|
@@ -8588,7 +8588,7 @@ function LeftPanel(_ref) {
|
|
|
8588
8588
|
gap: "3",
|
|
8589
8589
|
justifyContent: "flex-end",
|
|
8590
8590
|
alignItems: "center"
|
|
8591
|
-
}, /*#__PURE__*/React
|
|
8591
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
8592
8592
|
variant: "soft",
|
|
8593
8593
|
size: "3",
|
|
8594
8594
|
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
@@ -8596,7 +8596,7 @@ function LeftPanel(_ref) {
|
|
|
8596
8596
|
while (1) switch (_context.prev = _context.next) {
|
|
8597
8597
|
case 0:
|
|
8598
8598
|
_context.next = 2;
|
|
8599
|
-
return dialogs.view(/*#__PURE__*/React
|
|
8599
|
+
return dialogs.view(/*#__PURE__*/React.createElement(SharePanel, {
|
|
8600
8600
|
mapContainerRef: mapContainerRef,
|
|
8601
8601
|
syncedMapsRef: syncedMapsRef
|
|
8602
8602
|
}));
|
|
@@ -8606,40 +8606,40 @@ function LeftPanel(_ref) {
|
|
|
8606
8606
|
}
|
|
8607
8607
|
}, _callee);
|
|
8608
8608
|
}))
|
|
8609
|
-
}, /*#__PURE__*/React
|
|
8609
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
8610
8610
|
content: "Compartilhar"
|
|
8611
|
-
}, /*#__PURE__*/React
|
|
8611
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8612
8612
|
path: mdiShareVariantOutline,
|
|
8613
8613
|
size: "24px"
|
|
8614
|
-
}))), /*#__PURE__*/React
|
|
8614
|
+
}))), /*#__PURE__*/React.createElement(IconButton, {
|
|
8615
8615
|
variant: "soft",
|
|
8616
8616
|
size: "3",
|
|
8617
8617
|
asChild: true
|
|
8618
|
-
}, /*#__PURE__*/React
|
|
8618
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
8619
8619
|
href: "https://www.redus.org.br/georedus-rede-de-dados-urbanos/formularios/cbf766bb-9a74-4bc5-897a-70b9151afbdb",
|
|
8620
8620
|
target: "_blank",
|
|
8621
8621
|
rel: "noreferrer nofollow"
|
|
8622
|
-
}, /*#__PURE__*/React
|
|
8622
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
8623
8623
|
content: "D\xFAvidas e sugest\xF5es"
|
|
8624
|
-
}, /*#__PURE__*/React
|
|
8624
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8625
8625
|
path: mdiForumOutline,
|
|
8626
8626
|
size: "24px"
|
|
8627
8627
|
})))))
|
|
8628
|
-
}) : /*#__PURE__*/React
|
|
8628
|
+
}) : /*#__PURE__*/React.createElement("div", {
|
|
8629
8629
|
style: {
|
|
8630
8630
|
flexGrow: 1,
|
|
8631
8631
|
position: 'relative'
|
|
8632
8632
|
}
|
|
8633
|
-
}, /*#__PURE__*/React
|
|
8633
|
+
}, /*#__PURE__*/React.createElement(LoadingOverlay, {
|
|
8634
8634
|
message: null
|
|
8635
|
-
})), /*#__PURE__*/React
|
|
8635
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
8636
8636
|
p: "2",
|
|
8637
8637
|
style: {
|
|
8638
8638
|
backgroundColor: 'white'
|
|
8639
8639
|
},
|
|
8640
8640
|
direction: "row",
|
|
8641
8641
|
justifyContent: "center"
|
|
8642
|
-
}, /*#__PURE__*/React
|
|
8642
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
8643
8643
|
style: {
|
|
8644
8644
|
transition: 'opacity .1s ease-out',
|
|
8645
8645
|
opacity: open ? 1 : 0,
|
|
@@ -8663,7 +8663,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8663
8663
|
//
|
|
8664
8664
|
Portal: function Portal$1(_ref) {
|
|
8665
8665
|
var children = _ref.children;
|
|
8666
|
-
return /*#__PURE__*/React
|
|
8666
|
+
return /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(Theme, null, children));
|
|
8667
8667
|
},
|
|
8668
8668
|
Item: function Item(_ref2) {
|
|
8669
8669
|
var dragHandleProps = _ref2.dragHandleProps,
|
|
@@ -8679,7 +8679,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8679
8679
|
// ? 'rgba(0, 0, 0, 0.35) 0px 5px 15px;'
|
|
8680
8680
|
// : 'none'
|
|
8681
8681
|
|
|
8682
|
-
return /*#__PURE__*/React
|
|
8682
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
8683
8683
|
direction: "row",
|
|
8684
8684
|
alignItems: "center",
|
|
8685
8685
|
gap: "0",
|
|
@@ -8689,7 +8689,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8689
8689
|
transform: isDragOverlay ? 'scale(1.05)' : '',
|
|
8690
8690
|
zIndex: isDragOverlay ? 999 : 0
|
|
8691
8691
|
}
|
|
8692
|
-
}, /*#__PURE__*/React
|
|
8692
|
+
}, /*#__PURE__*/React.createElement("div", _extends({}, dragHandleProps, {
|
|
8693
8693
|
style: {
|
|
8694
8694
|
cursor: isDragging ? 'grabbing' : 'grab',
|
|
8695
8695
|
background: 'white',
|
|
@@ -8700,15 +8700,15 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8700
8700
|
borderBottomLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
|
|
8701
8701
|
height: CONTROL_HEIGHT
|
|
8702
8702
|
}
|
|
8703
|
-
}), /*#__PURE__*/React
|
|
8703
|
+
}), /*#__PURE__*/React.createElement(Icon, {
|
|
8704
8704
|
path: mdiDragVertical,
|
|
8705
8705
|
size: "24px"
|
|
8706
|
-
})), /*#__PURE__*/React
|
|
8706
|
+
})), /*#__PURE__*/React.createElement(Flex, {
|
|
8707
8707
|
direction: "column",
|
|
8708
8708
|
style: {
|
|
8709
8709
|
flexGrow: 1
|
|
8710
8710
|
}
|
|
8711
|
-
}, /*#__PURE__*/React
|
|
8711
|
+
}, /*#__PURE__*/React.createElement(ViewControl, {
|
|
8712
8712
|
style: {
|
|
8713
8713
|
height: CONTROL_HEIGHT
|
|
8714
8714
|
},
|
|
@@ -8759,7 +8759,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8759
8759
|
var children = _ref3.children;
|
|
8760
8760
|
_ref3.dragHandleProps;
|
|
8761
8761
|
var item = _ref3.item;
|
|
8762
|
-
return /*#__PURE__*/React
|
|
8762
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
8763
8763
|
direction: "column",
|
|
8764
8764
|
width: "280px"
|
|
8765
8765
|
// pb="30px"
|
|
@@ -8768,11 +8768,11 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8768
8768
|
border: 'dashed 1px var(--accent-6)',
|
|
8769
8769
|
borderRadius: "".concat(DRAG_HANDLE_BORDER_RADIUS, "px")
|
|
8770
8770
|
}
|
|
8771
|
-
}, /*#__PURE__*/React
|
|
8771
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8772
8772
|
style: {
|
|
8773
8773
|
margin: '-1px -1px -1px -1px'
|
|
8774
8774
|
}
|
|
8775
|
-
}, children, item.items.length === 0 && /*#__PURE__*/React
|
|
8775
|
+
}, children, item.items.length === 0 && /*#__PURE__*/React.createElement(Flex, {
|
|
8776
8776
|
p: "4",
|
|
8777
8777
|
style: {
|
|
8778
8778
|
// border: 'dashed 1px var(--accent-6)',
|
|
@@ -8781,7 +8781,7 @@ var ViewLayoutSortable = makeSortableMultiList({
|
|
|
8781
8781
|
},
|
|
8782
8782
|
justifyContent: "center",
|
|
8783
8783
|
alignItems: "center"
|
|
8784
|
-
}, /*#__PURE__*/React
|
|
8784
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
8785
8785
|
size: "2"
|
|
8786
8786
|
}, "Arraste uma camada para visualizar em mapa comparado"))));
|
|
8787
8787
|
}
|
|
@@ -8791,13 +8791,13 @@ function ViewLayoutControl(_ref4) {
|
|
|
8791
8791
|
var viewSpecs = _ref4.viewSpecs,
|
|
8792
8792
|
viewConfState = _ref4.viewConfState,
|
|
8793
8793
|
viewConfDispatch = _ref4.viewConfDispatch;
|
|
8794
|
-
return /*#__PURE__*/React
|
|
8794
|
+
return /*#__PURE__*/React.createElement(ViewLayoutControlContext.Provider, {
|
|
8795
8795
|
value: {
|
|
8796
8796
|
viewSpecs: viewSpecs,
|
|
8797
8797
|
viewConfState: viewConfState,
|
|
8798
8798
|
viewConfDispatch: viewConfDispatch
|
|
8799
8799
|
}
|
|
8800
|
-
}, /*#__PURE__*/React
|
|
8800
|
+
}, /*#__PURE__*/React.createElement(ViewLayoutSortable, {
|
|
8801
8801
|
lists: viewConfState.layout,
|
|
8802
8802
|
onSetLists: function onSetLists(nextLayout) {
|
|
8803
8803
|
return viewConfDispatch({
|
|
@@ -8817,13 +8817,13 @@ function ViewLayoutPopover(_ref) {
|
|
|
8817
8817
|
var activeViewCount = useMemo(function () {
|
|
8818
8818
|
return Object.keys(viewConfState.byId).length;
|
|
8819
8819
|
}, [viewConfState.byId]);
|
|
8820
|
-
return /*#__PURE__*/React
|
|
8820
|
+
return /*#__PURE__*/React.createElement(Popover.Root, null, /*#__PURE__*/React.createElement(Popover.Trigger, null, /*#__PURE__*/React.createElement(Button, _extends({
|
|
8821
8821
|
variant: activeViewCount > 0 ? 'solid' : 'soft',
|
|
8822
8822
|
size: "1"
|
|
8823
|
-
}, props), /*#__PURE__*/React
|
|
8823
|
+
}, props), /*#__PURE__*/React.createElement(Icon, {
|
|
8824
8824
|
path: mdiLayers,
|
|
8825
8825
|
size: "16px"
|
|
8826
|
-
}), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null)), /*#__PURE__*/React
|
|
8826
|
+
}), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null)), /*#__PURE__*/React.createElement(Popover.Content, {
|
|
8827
8827
|
size: "1",
|
|
8828
8828
|
align: "center",
|
|
8829
8829
|
style: {
|
|
@@ -8832,19 +8832,19 @@ function ViewLayoutPopover(_ref) {
|
|
|
8832
8832
|
position: 'relative'
|
|
8833
8833
|
},
|
|
8834
8834
|
maxWidth: "none"
|
|
8835
|
-
}, /*#__PURE__*/React
|
|
8835
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
8836
8836
|
direction: "row",
|
|
8837
8837
|
gap: "3"
|
|
8838
|
-
}, activeViewCount > 0 ? /*#__PURE__*/React
|
|
8838
|
+
}, activeViewCount > 0 ? /*#__PURE__*/React.createElement(ViewLayoutControl, {
|
|
8839
8839
|
viewSpecs: viewSpecs,
|
|
8840
8840
|
viewConfState: viewConfState,
|
|
8841
8841
|
viewConfDispatch: viewConfDispatch
|
|
8842
|
-
}) : /*#__PURE__*/React
|
|
8842
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
8843
8843
|
size: "1"
|
|
8844
|
-
}, "Nenhuma camada ativa"), /*#__PURE__*/React
|
|
8844
|
+
}, "Nenhuma camada ativa"), /*#__PURE__*/React.createElement(Popover.Close, null, /*#__PURE__*/React.createElement(IconButton, {
|
|
8845
8845
|
size: "1",
|
|
8846
8846
|
variant: "ghost"
|
|
8847
|
-
}, /*#__PURE__*/React
|
|
8847
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8848
8848
|
path: mdiClose,
|
|
8849
8849
|
size: "16px"
|
|
8850
8850
|
}))))));
|
|
@@ -9054,7 +9054,7 @@ function _parseGeoFileMetadata() {
|
|
|
9054
9054
|
}
|
|
9055
9055
|
function GeoFile(props) {
|
|
9056
9056
|
var dialogs = useDialogs();
|
|
9057
|
-
return /*#__PURE__*/React
|
|
9057
|
+
return /*#__PURE__*/React.createElement(SingleFileInput, _extends({}, props, {
|
|
9058
9058
|
middleware: [(/*#__PURE__*/function () {
|
|
9059
9059
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
9060
9060
|
var Gdal, _yield$Gdal$open, datasets, errors, result, fileBytes, blob, outFile;
|
|
@@ -9131,13 +9131,13 @@ function GeoFile(props) {
|
|
|
9131
9131
|
}
|
|
9132
9132
|
|
|
9133
9133
|
function NumberInput(props) {
|
|
9134
|
-
return /*#__PURE__*/React
|
|
9134
|
+
return /*#__PURE__*/React.createElement(TextInput, _extends({}, props, {
|
|
9135
9135
|
type: "text",
|
|
9136
9136
|
mask: Number
|
|
9137
9137
|
}));
|
|
9138
9138
|
}
|
|
9139
9139
|
function InputProvider(props) {
|
|
9140
|
-
return /*#__PURE__*/React
|
|
9140
|
+
return /*#__PURE__*/React.createElement(InputProvider$1, _extends({
|
|
9141
9141
|
renderers: _objectSpread2(_objectSpread2({}, INPUTS), rendererSpecList({
|
|
9142
9142
|
date: TextInput,
|
|
9143
9143
|
number: NumberInput,
|
|
@@ -11027,7 +11027,7 @@ function HoverLegend(_ref) {
|
|
|
11027
11027
|
onMouseLeaveStep: onMouseLeaveStep
|
|
11028
11028
|
};
|
|
11029
11029
|
}, []);
|
|
11030
|
-
return /*#__PURE__*/React
|
|
11030
|
+
return /*#__PURE__*/React.createElement(Legend, _extends({}, legendProps, legendProps.type === 'SequentialColorLegend' ? SEQUENTIAL_COLOR_LEGEND_PROPS : {}));
|
|
11031
11031
|
}
|
|
11032
11032
|
function GeoReDUSInner(_ref2) {
|
|
11033
11033
|
var globalState = _ref2.state,
|
|
@@ -11352,7 +11352,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
11352
11352
|
feature: feature
|
|
11353
11353
|
}) : null;
|
|
11354
11354
|
}).filter(Boolean);
|
|
11355
|
-
return tooltipDataSections.length > 0 && /*#__PURE__*/React
|
|
11355
|
+
return tooltipDataSections.length > 0 && /*#__PURE__*/React.createElement(HoverTooltip, {
|
|
11356
11356
|
position: hoverInfo.point,
|
|
11357
11357
|
dataSections: tooltipDataSections,
|
|
11358
11358
|
style: {
|
|
@@ -11377,7 +11377,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
11377
11377
|
}
|
|
11378
11378
|
});
|
|
11379
11379
|
}, []);
|
|
11380
|
-
return /*#__PURE__*/React
|
|
11380
|
+
return /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement(LeftPanel, {
|
|
11381
11381
|
open: leftPanelOpen,
|
|
11382
11382
|
onSetOpen: setLeftPanelOpen,
|
|
11383
11383
|
viewSpecs: resolvedViewSpecs,
|
|
@@ -11385,7 +11385,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
11385
11385
|
viewConfDispatch: viewConfDispatch,
|
|
11386
11386
|
resolvedViews: resolvedViews,
|
|
11387
11387
|
syncedMapsRef: syncedMapsRef
|
|
11388
|
-
}), /*#__PURE__*/React
|
|
11388
|
+
}), /*#__PURE__*/React.createElement(Flex, {
|
|
11389
11389
|
style: {
|
|
11390
11390
|
position: 'fixed',
|
|
11391
11391
|
zIndex: 2,
|
|
@@ -11395,27 +11395,27 @@ function GeoReDUSInner(_ref2) {
|
|
|
11395
11395
|
direction: "row",
|
|
11396
11396
|
gap: "4",
|
|
11397
11397
|
alignItems: "center"
|
|
11398
|
-
}, /*#__PURE__*/React
|
|
11398
|
+
}, /*#__PURE__*/React.createElement(ViewLayoutPopover, {
|
|
11399
11399
|
viewSpecs: viewSpecsQuery.data,
|
|
11400
11400
|
viewConfState: viewConfState,
|
|
11401
11401
|
viewConfDispatch: viewConfDispatch
|
|
11402
|
-
}), /*#__PURE__*/React
|
|
11402
|
+
}), /*#__PURE__*/React.createElement(Flex, {
|
|
11403
11403
|
alignItems: "strecth",
|
|
11404
11404
|
width: "400px",
|
|
11405
11405
|
direction: "column",
|
|
11406
11406
|
maxWidth: "30vw",
|
|
11407
11407
|
gap: "3"
|
|
11408
|
-
}, /*#__PURE__*/React
|
|
11408
|
+
}, /*#__PURE__*/React.createElement(HotfixSelectLargeFont, null, /*#__PURE__*/React.createElement(Input, {
|
|
11409
11409
|
schema: MUNICIPIO_ID_SELECTOR_SCHEMA,
|
|
11410
11410
|
value: municipioId,
|
|
11411
11411
|
onSetValue: setMunicipioId
|
|
11412
|
-
})), /*#__PURE__*/React
|
|
11412
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
11413
11413
|
style: {
|
|
11414
11414
|
alignSelf: 'flex-end',
|
|
11415
11415
|
position: 'absolute',
|
|
11416
11416
|
top: '100%'
|
|
11417
11417
|
}
|
|
11418
|
-
}, /*#__PURE__*/React
|
|
11418
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
11419
11419
|
schema: {
|
|
11420
11420
|
type: 'booleanCheckbox',
|
|
11421
11421
|
description: 'Visualizar dados regionais'
|
|
@@ -11423,7 +11423,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
11423
11423
|
size: "1",
|
|
11424
11424
|
value: regional,
|
|
11425
11425
|
onSetValue: setRegional
|
|
11426
|
-
})))), /*#__PURE__*/React
|
|
11426
|
+
})))), /*#__PURE__*/React.createElement(SyncedMaps, {
|
|
11427
11427
|
maxPitch: 80,
|
|
11428
11428
|
onZoomEnd: function onZoomEnd(e) {
|
|
11429
11429
|
var _e$viewState;
|
|
@@ -11475,12 +11475,12 @@ function GeoReDUSInner(_ref2) {
|
|
|
11475
11475
|
// canvasContextAttributes: {
|
|
11476
11476
|
// preserveDrawingBuffer: true,
|
|
11477
11477
|
// },
|
|
11478
|
-
children: /*#__PURE__*/React
|
|
11478
|
+
children: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DynamicImages, {
|
|
11479
11479
|
onGenerateImage: MAP_SVG_IMAGE_GENERATOR
|
|
11480
|
-
}), /*#__PURE__*/React
|
|
11480
|
+
}), /*#__PURE__*/React.createElement(AttributionControl, {
|
|
11481
11481
|
position: "bottom-right",
|
|
11482
11482
|
compact: false
|
|
11483
|
-
}), /*#__PURE__*/React
|
|
11483
|
+
}), /*#__PURE__*/React.createElement(ControlContainer, {
|
|
11484
11484
|
style: {
|
|
11485
11485
|
width: 'auto',
|
|
11486
11486
|
height: 'auto',
|
|
@@ -11488,13 +11488,13 @@ function GeoReDUSInner(_ref2) {
|
|
|
11488
11488
|
opacity: legends.length > 0 ? 1 : 0
|
|
11489
11489
|
},
|
|
11490
11490
|
position: "bottom-right"
|
|
11491
|
-
}, legends.length > 0 && /*#__PURE__*/React
|
|
11491
|
+
}, legends.length > 0 && /*#__PURE__*/React.createElement(LegendContainer, {
|
|
11492
11492
|
direction: "row",
|
|
11493
11493
|
gap: "3",
|
|
11494
11494
|
p: resolvedLayout.length > 1 ? '3' : '4'
|
|
11495
|
-
}, resolvedLayout.length > 1 && /*#__PURE__*/React
|
|
11495
|
+
}, resolvedLayout.length > 1 && /*#__PURE__*/React.createElement(Tooltip, {
|
|
11496
11496
|
content: "Fechar visualiza\xE7\xE3o"
|
|
11497
|
-
}, /*#__PURE__*/React
|
|
11497
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
11498
11498
|
size: "1",
|
|
11499
11499
|
variant: "soft",
|
|
11500
11500
|
onClick: function onClick() {
|
|
@@ -11503,14 +11503,14 @@ function GeoReDUSInner(_ref2) {
|
|
|
11503
11503
|
payload: views[0].id
|
|
11504
11504
|
});
|
|
11505
11505
|
}
|
|
11506
|
-
}, /*#__PURE__*/React
|
|
11506
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
11507
11507
|
path: mdiClose,
|
|
11508
11508
|
size: "20px"
|
|
11509
|
-
}))), /*#__PURE__*/React
|
|
11509
|
+
}))), /*#__PURE__*/React.createElement(EvenSpacedList, {
|
|
11510
11510
|
columns: legends.length > 1 ? 2 : 1,
|
|
11511
11511
|
gap: "10px"
|
|
11512
11512
|
}, legends.map(function (legend) {
|
|
11513
|
-
return /*#__PURE__*/React
|
|
11513
|
+
return /*#__PURE__*/React.createElement(HoverLegend, _extends({}, resolvedLayout.length > 1 ? {
|
|
11514
11514
|
direction: 'row',
|
|
11515
11515
|
maxWidth: '300px',
|
|
11516
11516
|
size: '1'
|
|
@@ -11521,21 +11521,21 @@ function GeoReDUSInner(_ref2) {
|
|
|
11521
11521
|
}, {
|
|
11522
11522
|
key: legend.id
|
|
11523
11523
|
}, legend));
|
|
11524
|
-
})))), index === resolvedLayout.length - 1 ? /*#__PURE__*/React
|
|
11524
|
+
})))), index === resolvedLayout.length - 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, process.env.NODE_ENV !== 'production' && /*#__PURE__*/React.createElement(InspectControl, null), /*#__PURE__*/React.createElement(GeolocateControl, {
|
|
11525
11525
|
position: "top-right"
|
|
11526
|
-
}), /*#__PURE__*/React
|
|
11526
|
+
}), /*#__PURE__*/React.createElement(FullscreenControl, {
|
|
11527
11527
|
position: "top-right"
|
|
11528
|
-
}), /*#__PURE__*/React
|
|
11528
|
+
}), /*#__PURE__*/React.createElement(NavigationControl, {
|
|
11529
11529
|
position: "top-right"
|
|
11530
|
-
}), /*#__PURE__*/React
|
|
11530
|
+
}), /*#__PURE__*/React.createElement(ScaleControl, {
|
|
11531
11531
|
position: "bottom-right"
|
|
11532
|
-
}), /*#__PURE__*/React
|
|
11532
|
+
}), /*#__PURE__*/React.createElement(ControlContainer, {
|
|
11533
11533
|
style: {
|
|
11534
11534
|
width: 100,
|
|
11535
11535
|
height: 100,
|
|
11536
11536
|
boxShadow: 'none'
|
|
11537
11537
|
}
|
|
11538
|
-
}, /*#__PURE__*/React
|
|
11538
|
+
}, /*#__PURE__*/React.createElement(MapStyleToggleCtrl, {
|
|
11539
11539
|
style: {
|
|
11540
11540
|
position: 'relative',
|
|
11541
11541
|
width: 100,
|
|
@@ -11545,7 +11545,7 @@ function GeoReDUSInner(_ref2) {
|
|
|
11545
11545
|
onClick: function onClick() {
|
|
11546
11546
|
return setBaseMapStyle(baseMapStyle === 'dataviz' ? 'satellite' : 'dataviz');
|
|
11547
11547
|
}
|
|
11548
|
-
}, /*#__PURE__*/React
|
|
11548
|
+
}, /*#__PURE__*/React.createElement(MapWindow, {
|
|
11549
11549
|
style: {
|
|
11550
11550
|
pointerEvents: 'none',
|
|
11551
11551
|
position: 'absolute',
|
|
@@ -11556,13 +11556,13 @@ function GeoReDUSInner(_ref2) {
|
|
|
11556
11556
|
},
|
|
11557
11557
|
mapStyle: baseMapStyle === 'satellite' ? FULL_MAP_STYLE.dataviz : FULL_MAP_STYLE.satellite,
|
|
11558
11558
|
maxZoom: 13
|
|
11559
|
-
})))) : null, /*#__PURE__*/React
|
|
11559
|
+
})))) : null, /*#__PURE__*/React.createElement(TerrainControl, {
|
|
11560
11560
|
demSourceUrl: DEM_SOURCE_URL,
|
|
11561
11561
|
demSourceEncoding: DEM_SOURCE_ENCODING
|
|
11562
11562
|
}))
|
|
11563
11563
|
};
|
|
11564
11564
|
})
|
|
11565
|
-
}, (viewsLoading || tilesLoading) && /*#__PURE__*/React
|
|
11565
|
+
}, (viewsLoading || tilesLoading) && /*#__PURE__*/React.createElement(LoadingIndicator, {
|
|
11566
11566
|
style: {
|
|
11567
11567
|
position: 'fixed',
|
|
11568
11568
|
bottom: '40px',
|
|
@@ -11577,9 +11577,9 @@ function GeoReDUSInner(_ref2) {
|
|
|
11577
11577
|
}
|
|
11578
11578
|
var GeoReDUSRootContainer = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n"])));
|
|
11579
11579
|
function GeoReDUS(props) {
|
|
11580
|
-
return /*#__PURE__*/React
|
|
11580
|
+
return /*#__PURE__*/React.createElement(GeoReDUSRootContainer, null, /*#__PURE__*/React.createElement(InputProvider, {
|
|
11581
11581
|
variant: "labeled"
|
|
11582
|
-
}, /*#__PURE__*/React
|
|
11582
|
+
}, /*#__PURE__*/React.createElement(DialogsProvider, null, /*#__PURE__*/React.createElement(GeoReDUSInner, props))));
|
|
11583
11583
|
}
|
|
11584
11584
|
|
|
11585
11585
|
export { GeoReDUS, index as UNSTABLE_VIEW_SPEC, VTX_PROTOCOL, memoFetchData, vtx, vtxSetup, vtxUrl };
|
|
@@ -63,7 +63,7 @@ export function redus_mutirao_cop_2025(conf: any): {
|
|
|
63
63
|
unit: string;
|
|
64
64
|
items: ({
|
|
65
65
|
box: {
|
|
66
|
-
children: "" |
|
|
66
|
+
children: "" | React.JSX.Element | null;
|
|
67
67
|
style: {
|
|
68
68
|
borderRadius: string;
|
|
69
69
|
borderColor: string;
|
|
@@ -76,7 +76,7 @@ export function redus_mutirao_cop_2025(conf: any): {
|
|
|
76
76
|
icon: string;
|
|
77
77
|
} | {
|
|
78
78
|
box: {
|
|
79
|
-
children: "" |
|
|
79
|
+
children: "" | React.JSX.Element | null;
|
|
80
80
|
style: {
|
|
81
81
|
borderRadius: string;
|
|
82
82
|
borderColor: string;
|
|
@@ -92,3 +92,4 @@ export function redus_mutirao_cop_2025(conf: any): {
|
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
+
import React from 'react';
|