@evergis/apps 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -118
- package/dist/catalog/attributeFormat/Settings/styled.js +8 -8
- package/dist/catalog/attributeFormat/styled.js +171 -171
- package/dist/catalog/core/geometryTypes.d.ts +1 -1
- package/dist/catalog/dialogs/EditResource/styled.js +22 -22
- package/dist/catalog/dialogs/ResourcePreview/styled.js +52 -52
- package/dist/catalog/dialogs/styled.js +87 -87
- package/dist/catalog/fields/ResourceTypeTiles/styled.js +56 -56
- package/dist/catalog/fields/styled.js +81 -81
- package/dist/catalog/geometry/GeometrySelector/styled.js +48 -48
- package/dist/catalog/selectors/AttributeSelector/styled.js +2 -2
- package/dist/catalog/selectors/DataSourceItemsList/styled.js +95 -95
- package/dist/catalog/selectors/DataSourcePicker/styled.js +11 -11
- package/dist/catalog/selectors/ResourceSelector/styled.js +11 -11
- package/dist/devmode/components/JsonTree/styled.js +84 -84
- package/dist/devmode/components/LayerCardPane/styled.js +53 -53
- package/dist/devmode/components/Markdown/MarkdownEditor/styled.js +43 -43
- package/dist/devmode/components/Markdown/MarkdownOutput/styled.js +10 -10
- package/dist/devmode/components/OutlinePanel/styled.js +40 -40
- package/dist/devmode/components/ResourceIcon/styled.js +30 -30
- package/dist/devmode/components/ResultsTable/styled.js +48 -48
- package/dist/devmode/components/RunErrorMessage/styled.js +20 -20
- package/dist/devmode/components/TreeExpand/index.js +12 -12
- package/dist/devmode/layout/DevModePanel/styled.js +20 -20
- package/dist/devmode/layout/DevModeTools/styled.js +29 -29
- package/dist/devmode/layout/NavigationSections/Header/styled.js +87 -87
- package/dist/devmode/layout/NavigationSections/index.js +15 -4
- package/dist/devmode/layout/NavigationSections/index.js.map +1 -1
- package/dist/devmode/layout/NavigationToggle/styled.js +21 -21
- package/dist/devmode/layout/PanelSwitcher/styled.js +49 -49
- package/dist/devmode/layout/StatusBar/styled.js +39 -39
- package/dist/devmode/layout/WorkspaceHeader/styled.js +37 -37
- package/dist/devmode/modules/eql/components/EqlEditor/styled.js +4 -4
- package/dist/devmode/modules/eql/components/QueryTypeSelect/styled.js +53 -53
- package/dist/devmode/modules/eql/components/modes/EqlConfigurationMode/AddConfiguration/styled.js +24 -24
- package/dist/devmode/modules/eql/components/modes/EqlTableMode/index.js +7 -7
- package/dist/devmode/modules/eql/components/modes/EqlTextMode/index.js +7 -7
- package/dist/devmode/modules/eql/dialogs/AddParameterDialog/styled.js +3 -3
- package/dist/devmode/modules/eql/styled.js +127 -127
- package/dist/devmode/modules/files/styled.js +14 -14
- package/dist/devmode/modules/layer/styled.js +10 -10
- package/dist/devmode/modules/navigation-catalog/styled.js +147 -147
- package/dist/devmode/modules/python/components/Notebook/styled.js +203 -203
- package/dist/devmode/modules/python/components/PythonFileContent/styled.js +6 -6
- package/dist/devmode/modules/python/components/PythonRunBar/styled.js +5 -5
- package/dist/devmode/modules/python/components/PythonRunControl/styled.js +9 -9
- package/dist/devmode/modules/python/components/PythonRunLog/index.js +7 -7
- package/dist/devmode/modules/python/components/PythonRunLog/styled.js +11 -11
- package/dist/devmode/modules/python/components/PythonStatus/styled.js +11 -11
- package/dist/devmode/modules/python/components/SandboxesDialog/components/SandboxCard/styled.js +42 -42
- package/dist/devmode/modules/python/components/SandboxesDialog/styled.js +58 -58
- package/dist/devmode/modules/python/components/WorkerMetrics/styled.js +26 -26
- package/dist/devmode/modules/python/dialogs/ViewResponseDialog/styled.js +5 -5
- package/dist/devmode/modules/resource-json/styled.js +7 -7
- package/dist/devmode/modules/table/components/TableContent/index.js +7 -7
- package/dist/devmode/modules/table/components/TableContent/styled.js +18 -18
- package/dist/devmode/monaco/MonacoEditor/styled.js +6 -6
- package/dist/devmode/monaco/ReadonlyMonacoEditor/styled.js +24 -24
- package/dist/devmode/navigation/CategoryTree/styled.js +65 -65
- package/dist/devmode/navigation/NodeActionsMenu/styled.js +63 -63
- package/dist/devmode/tabs/Panes/PaneHandle/styled.js +45 -45
- package/dist/devmode/tabs/Panes/styled.js +21 -21
- package/dist/devmode/tabs/ResultsDock/styled.js +35 -35
- package/dist/devmode/tabs/TabActions/styled.js +50 -50
- package/dist/devmode/tabs/TabPane/index.js +17 -5
- package/dist/devmode/tabs/TabPane/index.js.map +1 -1
- package/dist/devmode/tabs/TabPane/styled.js +6 -6
- package/dist/devmode/tabs/TabPanes/index.js +13 -3
- package/dist/devmode/tabs/TabPanes/index.js.map +1 -1
- package/dist/devmode/tabs/Tabs/Tab/styled.js +105 -105
- package/dist/devmode/tabs/Tabs/styled.js +61 -61
- package/dist/devmode/tabs/states/EmptyWorkspace.js +16 -1
- package/dist/devmode/tabs/states/EmptyWorkspace.js.map +1 -1
- package/dist/devmode/tabs/states/TabError.js +16 -2
- package/dist/devmode/tabs/states/TabError.js.map +1 -1
- package/dist/devmode/tabs/states/styled.js +2 -2
- package/dist/devmode/tabs/styled.js +37 -37
- package/package.json +322 -321
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Icon } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const ResultsTableContainer = styled.div.withConfig({ displayName: "ResultsTableContainer", componentId: "sc-
|
|
5
|
-
width: 100%;
|
|
6
|
-
min-height: 0;
|
|
7
|
-
|
|
8
|
-
.slickgrid-container .slick-header,
|
|
9
|
-
.slickgrid-container .slick-header-columns {
|
|
10
|
-
height: 3rem;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.slickgrid-container .slick-header-column {
|
|
14
|
-
height: 3rem;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
}
|
|
4
|
+
const ResultsTableContainer = styled.div.withConfig({ displayName: "ResultsTableContainer", componentId: "sc-11ncr99" }) `
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-height: 0;
|
|
7
|
+
|
|
8
|
+
.slickgrid-container .slick-header,
|
|
9
|
+
.slickgrid-container .slick-header-columns {
|
|
10
|
+
height: 3rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.slickgrid-container .slick-header-column {
|
|
14
|
+
height: 3rem;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
}
|
|
18
18
|
`;
|
|
19
|
-
const HeaderCell = styled.div.withConfig({ displayName: "HeaderCell", componentId: "sc-
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
min-width: 1px;
|
|
24
|
-
gap: 0.125rem;
|
|
19
|
+
const HeaderCell = styled.div.withConfig({ displayName: "HeaderCell", componentId: "sc-amc5kf" }) `
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
min-width: 1px;
|
|
24
|
+
gap: 0.125rem;
|
|
25
25
|
`;
|
|
26
|
-
const HeaderTitleRow = styled.div.withConfig({ displayName: "HeaderTitleRow", componentId: "sc-
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
gap: 0.5rem;
|
|
30
|
-
min-width: 1px;
|
|
26
|
+
const HeaderTitleRow = styled.div.withConfig({ displayName: "HeaderTitleRow", componentId: "sc-dmnkvq" }) `
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 0.5rem;
|
|
30
|
+
min-width: 1px;
|
|
31
31
|
`;
|
|
32
|
-
const HeaderPrefix = styled.span.withConfig({ displayName: "HeaderPrefix", componentId: "sc-
|
|
33
|
-
color: ${({ theme }) => theme.palette.textDisabled};
|
|
34
|
-
flex-shrink: 0;
|
|
35
|
-
|
|
36
|
-
${Icon} {
|
|
37
|
-
color: ${({ theme }) => theme.palette.textDisabled};
|
|
38
|
-
}
|
|
32
|
+
const HeaderPrefix = styled.span.withConfig({ displayName: "HeaderPrefix", componentId: "sc-1x9l2xp" }) `
|
|
33
|
+
color: ${({ theme }) => theme.palette.textDisabled};
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
|
|
36
|
+
${Icon} {
|
|
37
|
+
color: ${({ theme }) => theme.palette.textDisabled};
|
|
38
|
+
}
|
|
39
39
|
`;
|
|
40
|
-
const HeaderTexts = styled.div.withConfig({ displayName: "HeaderTexts", componentId: "sc-
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
min-width: 1px;
|
|
44
|
-
gap: 0.125rem;
|
|
40
|
+
const HeaderTexts = styled.div.withConfig({ displayName: "HeaderTexts", componentId: "sc-148y1lf" }) `
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
min-width: 1px;
|
|
44
|
+
gap: 0.125rem;
|
|
45
45
|
`;
|
|
46
|
-
const HeaderName = styled.span.withConfig({ displayName: "HeaderName", componentId: "sc-
|
|
47
|
-
font-size: 0.875rem;
|
|
48
|
-
font-weight: 600;
|
|
49
|
-
line-height: 1rem;
|
|
50
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
46
|
+
const HeaderName = styled.span.withConfig({ displayName: "HeaderName", componentId: "sc-dkmwes" }) `
|
|
47
|
+
font-size: 0.875rem;
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
line-height: 1rem;
|
|
50
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
51
51
|
`;
|
|
52
|
-
const HeaderAlias = styled.span.withConfig({ displayName: "HeaderAlias", componentId: "sc-
|
|
53
|
-
font-size: 0.875rem;
|
|
54
|
-
font-weight: 400;
|
|
55
|
-
line-height: 1rem;
|
|
56
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
57
|
-
opacity: 0.36;
|
|
52
|
+
const HeaderAlias = styled.span.withConfig({ displayName: "HeaderAlias", componentId: "sc-11oxxwv" }) `
|
|
53
|
+
font-size: 0.875rem;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
line-height: 1rem;
|
|
56
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
57
|
+
opacity: 0.36;
|
|
58
58
|
`;
|
|
59
59
|
|
|
60
60
|
export { HeaderAlias, HeaderCell, HeaderName, HeaderPrefix, HeaderTexts, HeaderTitleRow, ResultsTableContainer };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const ErrorMessageWrapper = styled.div.withConfig({ displayName: "ErrorMessageWrapper", componentId: "sc-
|
|
4
|
-
margin: auto;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
background-color: ${({ theme: { palette } }) => palette.elementDark};
|
|
11
|
-
overflow-y: scroll;
|
|
3
|
+
const ErrorMessageWrapper = styled.div.withConfig({ displayName: "ErrorMessageWrapper", componentId: "sc-q1egbw" }) `
|
|
4
|
+
margin: auto;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
background-color: ${({ theme: { palette } }) => palette.elementDark};
|
|
11
|
+
overflow-y: scroll;
|
|
12
12
|
`;
|
|
13
|
-
const ErrorMessageTitle = styled.div.withConfig({ displayName: "ErrorMessageTitle", componentId: "sc-
|
|
14
|
-
color: rgb(255, 0, 0);
|
|
15
|
-
text-transform: uppercase;
|
|
16
|
-
font-size: 0.75rem;
|
|
13
|
+
const ErrorMessageTitle = styled.div.withConfig({ displayName: "ErrorMessageTitle", componentId: "sc-psl80x" }) `
|
|
14
|
+
color: rgb(255, 0, 0);
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
font-size: 0.75rem;
|
|
17
17
|
`;
|
|
18
|
-
const ErrorMessageContainer = styled.div.withConfig({ displayName: "ErrorMessageContainer", componentId: "sc-
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
gap: 1rem;
|
|
22
|
-
align-items: center;
|
|
23
|
-
margin: auto;
|
|
24
|
-
padding: 1rem;
|
|
18
|
+
const ErrorMessageContainer = styled.div.withConfig({ displayName: "ErrorMessageContainer", componentId: "sc-1lnja9x" }) `
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 1rem;
|
|
22
|
+
align-items: center;
|
|
23
|
+
margin: auto;
|
|
24
|
+
padding: 1rem;
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
27
|
export { ErrorMessageContainer, ErrorMessageTitle, ErrorMessageWrapper };
|
|
@@ -4,18 +4,18 @@ import { transition, Icon } from '@evergis/uilib-gl';
|
|
|
4
4
|
const TreeExpand = styled(Icon).attrs(props => ({
|
|
5
5
|
...props,
|
|
6
6
|
kind: "expand",
|
|
7
|
-
})).withConfig({ displayName: "TreeExpand", componentId: "sc-
|
|
8
|
-
visibility: ${({ hasChildren }) => (hasChildren ? "visible" : "hidden")};
|
|
9
|
-
transform: ${({ isExpanded }) => (isExpanded ? "" : "rotate(-90deg)")};
|
|
10
|
-
transition: transform ${transition.press};
|
|
11
|
-
width: 0.875rem;
|
|
12
|
-
height: 0.875rem;
|
|
13
|
-
margin-top: -0.125rem;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
|
|
16
|
-
&:after {
|
|
17
|
-
font-size: 0.875rem;
|
|
18
|
-
}
|
|
7
|
+
})).withConfig({ displayName: "TreeExpand", componentId: "sc-1tx0mrs" }) `
|
|
8
|
+
visibility: ${({ hasChildren }) => (hasChildren ? "visible" : "hidden")};
|
|
9
|
+
transform: ${({ isExpanded }) => (isExpanded ? "" : "rotate(-90deg)")};
|
|
10
|
+
transition: transform ${transition.press};
|
|
11
|
+
width: 0.875rem;
|
|
12
|
+
height: 0.875rem;
|
|
13
|
+
margin-top: -0.125rem;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
|
|
16
|
+
&:after {
|
|
17
|
+
font-size: 0.875rem;
|
|
18
|
+
}
|
|
19
19
|
`;
|
|
20
20
|
|
|
21
21
|
export { TreeExpand };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { ResizablePanel, Flex } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const DevModeContainer = styled(ResizablePanel).withConfig({ displayName: "DevModeContainer", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
backdrop-filter: blur(20px);
|
|
9
|
-
height: 100%;
|
|
10
|
-
color: ${({ theme: { palette } }) => palette.textPrimary};
|
|
11
|
-
|
|
12
|
-
.devmode-resizable-panel-handle {
|
|
13
|
-
&:not(:hover) {
|
|
14
|
-
border-color: transparent;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
4
|
+
const DevModeContainer = styled(ResizablePanel).withConfig({ displayName: "DevModeContainer", componentId: "sc-g7g0vw" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
backdrop-filter: blur(20px);
|
|
9
|
+
height: 100%;
|
|
10
|
+
color: ${({ theme: { palette } }) => palette.textPrimary};
|
|
11
|
+
|
|
12
|
+
.devmode-resizable-panel-handle {
|
|
13
|
+
&:not(:hover) {
|
|
14
|
+
border-color: transparent;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
17
|
`;
|
|
18
|
-
const DevModeContent = styled(Flex).withConfig({ displayName: "DevModeContent", componentId: "sc-
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
flex-grow: 1;
|
|
22
|
-
height: 100%;
|
|
23
|
-
min-height: 0;
|
|
24
|
-
overflow: hidden;
|
|
18
|
+
const DevModeContent = styled(Flex).withConfig({ displayName: "DevModeContent", componentId: "sc-4na622" }) `
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
flex-grow: 1;
|
|
22
|
+
height: 100%;
|
|
23
|
+
min-height: 0;
|
|
24
|
+
overflow: hidden;
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
27
|
export { DevModeContainer, DevModeContent };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Flex, ResizablePanel, FlexSpan } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const ToolsContainer = styled(Flex).withConfig({ displayName: "ToolsContainer", componentId: "sc-
|
|
5
|
-
height: 100%;
|
|
6
|
-
|
|
7
|
-
.navigation-handle {
|
|
8
|
-
&:not(:hover) {
|
|
9
|
-
border-color: transparent;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
4
|
+
const ToolsContainer = styled(Flex).withConfig({ displayName: "ToolsContainer", componentId: "sc-1dqehpk" }) `
|
|
5
|
+
height: 100%;
|
|
6
|
+
|
|
7
|
+
.navigation-handle {
|
|
8
|
+
&:not(:hover) {
|
|
9
|
+
border-color: transparent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
12
|
`;
|
|
13
|
-
const ToolsNavigation = styled(ResizablePanel).withConfig({ displayName: "ToolsNavigation", componentId: "sc-
|
|
14
|
-
height: 100%;
|
|
15
|
-
background-color: ${({ theme }) => theme.palette.devBackground};
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
flex-shrink: 0;
|
|
13
|
+
const ToolsNavigation = styled(ResizablePanel).withConfig({ displayName: "ToolsNavigation", componentId: "sc-el581m" }) `
|
|
14
|
+
height: 100%;
|
|
15
|
+
background-color: ${({ theme }) => theme.palette.devBackground};
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
flex-shrink: 0;
|
|
18
18
|
`;
|
|
19
|
-
const ToolsEditor = styled(FlexSpan).withConfig({ displayName: "ToolsEditor", componentId: "sc-
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
height: 100%;
|
|
23
|
-
width: 100%;
|
|
24
|
-
min-width: 1px;
|
|
25
|
-
min-height: 0;
|
|
26
|
-
background-color: ${({ theme }) => theme.palette.devBackground};
|
|
19
|
+
const ToolsEditor = styled(FlexSpan).withConfig({ displayName: "ToolsEditor", componentId: "sc-jvllhk" }) `
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-width: 1px;
|
|
25
|
+
min-height: 0;
|
|
26
|
+
background-color: ${({ theme }) => theme.palette.devBackground};
|
|
27
27
|
`;
|
|
28
|
-
const NavigationWrapper = styled.div.withConfig({ displayName: "NavigationWrapper", componentId: "sc-
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
flex: 1;
|
|
32
|
-
min-height: 0;
|
|
33
|
-
width: 100%;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
background-color: ${({ theme }) => theme.palette.background !== "#fff" ? theme.palette.element : theme.palette.elementLight};
|
|
28
|
+
const NavigationWrapper = styled.div.withConfig({ displayName: "NavigationWrapper", componentId: "sc-kh3nx5" }) `
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
flex: 1;
|
|
32
|
+
min-height: 0;
|
|
33
|
+
width: 100%;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
background-color: ${({ theme }) => theme.palette.background !== "#fff" ? theme.palette.element : theme.palette.elementLight};
|
|
36
36
|
`;
|
|
37
37
|
|
|
38
38
|
export { NavigationWrapper, ToolsContainer, ToolsEditor, ToolsNavigation };
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Icon, transition, Flex } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const TreeHeaderRoot = styled.div.withConfig({ displayName: "TreeHeaderRoot", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
gap: 0.75rem;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
height: 1.625rem;
|
|
12
|
-
padding: 0 1rem;
|
|
13
|
-
overflow: hidden;
|
|
4
|
+
const TreeHeaderRoot = styled.div.withConfig({ displayName: "TreeHeaderRoot", componentId: "sc-1qwb4xl" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
gap: 0.75rem;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
height: 1.625rem;
|
|
12
|
+
padding: 0 1rem;
|
|
13
|
+
overflow: hidden;
|
|
14
14
|
`;
|
|
15
|
-
const ModeGroup = styled.div.withConfig({ displayName: "ModeGroup", componentId: "sc-
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
gap: 0.75rem;
|
|
19
|
-
flex-shrink: 0;
|
|
15
|
+
const ModeGroup = styled.div.withConfig({ displayName: "ModeGroup", componentId: "sc-27ipbj" }) `
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 0.75rem;
|
|
19
|
+
flex-shrink: 0;
|
|
20
20
|
`;
|
|
21
|
-
const ModeButton = styled.button.withConfig({ displayName: "ModeButton", componentId: "sc-
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
width: 0.875rem;
|
|
26
|
-
height: 0.875rem;
|
|
27
|
-
padding: 0;
|
|
28
|
-
border: none;
|
|
29
|
-
background: none;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
|
|
32
|
-
${Icon}, ${Icon}:after {
|
|
33
|
-
width: 0.875rem;
|
|
34
|
-
height: 0.875rem;
|
|
35
|
-
font-size: 0.875rem;
|
|
36
|
-
color: ${({ theme, $active }) => ($active ? theme.palette.primary : theme.palette.icon)};
|
|
37
|
-
}
|
|
21
|
+
const ModeButton = styled.button.withConfig({ displayName: "ModeButton", componentId: "sc-i567g1" }) `
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
width: 0.875rem;
|
|
26
|
+
height: 0.875rem;
|
|
27
|
+
padding: 0;
|
|
28
|
+
border: none;
|
|
29
|
+
background: none;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
|
|
32
|
+
${Icon}, ${Icon}:after {
|
|
33
|
+
width: 0.875rem;
|
|
34
|
+
height: 0.875rem;
|
|
35
|
+
font-size: 0.875rem;
|
|
36
|
+
color: ${({ theme, $active }) => ($active ? theme.palette.primary : theme.palette.icon)};
|
|
37
|
+
}
|
|
38
38
|
`;
|
|
39
|
-
const SearchSlot = styled.div.withConfig({ displayName: "SearchSlot", componentId: "sc-
|
|
40
|
-
position: relative;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: flex-end;
|
|
44
|
-
flex: 1;
|
|
45
|
-
min-width: 0;
|
|
46
|
-
height: 100%;
|
|
39
|
+
const SearchSlot = styled.div.withConfig({ displayName: "SearchSlot", componentId: "sc-50iclw" }) `
|
|
40
|
+
position: relative;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: flex-end;
|
|
44
|
+
flex: 1;
|
|
45
|
+
min-width: 0;
|
|
46
|
+
height: 100%;
|
|
47
47
|
`;
|
|
48
|
-
const SearchFieldWrapper = styled(Flex).withConfig({ displayName: "SearchFieldWrapper", componentId: "sc-
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 50%;
|
|
51
|
-
right: 0;
|
|
52
|
-
transform: translateY(-50%);
|
|
53
|
-
align-items: center;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
height: 1.5rem;
|
|
56
|
-
width: ${({ $expanded }) => ($expanded ? "100%" : "0")};
|
|
57
|
-
opacity: ${({ $expanded }) => ($expanded ? 1 : 0)};
|
|
58
|
-
pointer-events: ${({ $expanded }) => ($expanded ? "auto" : "none")};
|
|
59
|
-
transition: width ${transition.show}, opacity ${transition.show};
|
|
60
|
-
|
|
61
|
-
input {
|
|
62
|
-
height: 1.5rem;
|
|
63
|
-
padding-top: 0;
|
|
64
|
-
padding-bottom: 0;
|
|
65
|
-
line-height: 1.5rem;
|
|
66
|
-
padding-right: ${({ $hasValue }) => ($hasValue ? "2.75rem" : "1.75rem")};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
span > span {
|
|
70
|
-
right: 1.375rem;
|
|
71
|
-
height: 1.5rem;
|
|
72
|
-
width: 1.25rem;
|
|
73
|
-
min-height: 0;
|
|
74
|
-
min-width: 0;
|
|
75
|
-
|
|
76
|
-
button {
|
|
77
|
-
width: 1.25rem;
|
|
78
|
-
height: 1.5rem;
|
|
79
|
-
min-width: 0;
|
|
80
|
-
padding: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
48
|
+
const SearchFieldWrapper = styled(Flex).withConfig({ displayName: "SearchFieldWrapper", componentId: "sc-k1ltae" }) `
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 50%;
|
|
51
|
+
right: 0;
|
|
52
|
+
transform: translateY(-50%);
|
|
53
|
+
align-items: center;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
height: 1.5rem;
|
|
56
|
+
width: ${({ $expanded }) => ($expanded ? "100%" : "0")};
|
|
57
|
+
opacity: ${({ $expanded }) => ($expanded ? 1 : 0)};
|
|
58
|
+
pointer-events: ${({ $expanded }) => ($expanded ? "auto" : "none")};
|
|
59
|
+
transition: width ${transition.show}, opacity ${transition.show};
|
|
60
|
+
|
|
61
|
+
input {
|
|
62
|
+
height: 1.5rem;
|
|
63
|
+
padding-top: 0;
|
|
64
|
+
padding-bottom: 0;
|
|
65
|
+
line-height: 1.5rem;
|
|
66
|
+
padding-right: ${({ $hasValue }) => ($hasValue ? "2.75rem" : "1.75rem")};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
span > span {
|
|
70
|
+
right: 1.375rem;
|
|
71
|
+
height: 1.5rem;
|
|
72
|
+
width: 1.25rem;
|
|
73
|
+
min-height: 0;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
|
|
76
|
+
button {
|
|
77
|
+
width: 1.25rem;
|
|
78
|
+
height: 1.5rem;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
83
|
`;
|
|
84
|
-
const SearchIcon = styled(Icon).withConfig({ displayName: "SearchIcon", componentId: "sc-
|
|
85
|
-
position: relative;
|
|
86
|
-
z-index: 1;
|
|
87
|
-
flex-shrink: 0;
|
|
88
|
-
width: 0.875rem;
|
|
89
|
-
height: 0.875rem;
|
|
90
|
-
margin-right: 0.375rem;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
|
|
93
|
-
&:after {
|
|
94
|
-
font-size: 0.875rem;
|
|
95
|
-
}
|
|
84
|
+
const SearchIcon = styled(Icon).withConfig({ displayName: "SearchIcon", componentId: "sc-1eznsnk" }) `
|
|
85
|
+
position: relative;
|
|
86
|
+
z-index: 1;
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
width: 0.875rem;
|
|
89
|
+
height: 0.875rem;
|
|
90
|
+
margin-right: 0.375rem;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
|
|
93
|
+
&:after {
|
|
94
|
+
font-size: 0.875rem;
|
|
95
|
+
}
|
|
96
96
|
`;
|
|
97
97
|
|
|
98
98
|
export { ModeButton, ModeGroup, SearchFieldWrapper, SearchIcon, SearchSlot, TreeHeaderRoot };
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useMemo, useCallback } from 'react';
|
|
3
3
|
import { TreeHeader } from './Header/index.js';
|
|
4
|
-
import '@evergis/react';
|
|
5
|
-
import '../../i18n/utils/translate.js';
|
|
6
4
|
import '@evergis/uilib-gl';
|
|
7
|
-
import
|
|
5
|
+
import 'react-redux';
|
|
6
|
+
import '../../react/contexts.js';
|
|
8
7
|
import { useDevModeDispatch, useDevModeSelector } from '../../core/store/reduxContext.js';
|
|
8
|
+
import '@reduxjs/toolkit';
|
|
9
|
+
import '../../core/api/devModeApi.js';
|
|
10
|
+
import '../../core/slices/modules/index.js';
|
|
11
|
+
import { selectNavigationSection, navigationSectionChanged } from '../../core/slices/navigation/index.js';
|
|
12
|
+
import '../../core/slices/status/index.js';
|
|
13
|
+
import '../../core/slices/results/index.js';
|
|
14
|
+
import '../../core/slices/variables/index.js';
|
|
15
|
+
import '../../core/slices/workspace/index.js';
|
|
16
|
+
import '@evergis/react';
|
|
9
17
|
import { useDevModeInstance } from '../../react/hooks/useDevModeInstance.js';
|
|
18
|
+
import '../../core/session/actions.js';
|
|
19
|
+
import '../../core/session/selectSessionState.js';
|
|
20
|
+
import '../../i18n/utils/translate.js';
|
|
21
|
+
import { TabLoading } from '../../tabs/states/TabLoading.js';
|
|
10
22
|
import { useNavigationSearch } from './hooks/useNavigationSearch.js';
|
|
11
23
|
import { useSectionComponent } from './hooks/useSectionComponent.js';
|
|
12
|
-
import { selectNavigationSection, navigationSectionChanged } from '../../core/slices/navigation/index.js';
|
|
13
24
|
|
|
14
25
|
const NavigationSections = ({ only }) => {
|
|
15
26
|
const { registry } = useDevModeInstance();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Icon } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const NavigationToggle = styled.button.withConfig({ displayName: "NavigationToggle", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-shrink: 0;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
width: 1rem;
|
|
10
|
-
height: 1rem;
|
|
11
|
-
padding: 0;
|
|
12
|
-
border: none;
|
|
13
|
-
background: none;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
color: ${({ theme }) => theme.palette.icon};
|
|
16
|
-
|
|
17
|
-
${Icon} {
|
|
18
|
-
width: 1rem;
|
|
19
|
-
height: 1rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
${Icon}:after {
|
|
23
|
-
font-size: 1rem;
|
|
24
|
-
}
|
|
4
|
+
const NavigationToggle = styled.button.withConfig({ displayName: "NavigationToggle", componentId: "sc-xyjl9i" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-shrink: 0;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
width: 1rem;
|
|
10
|
+
height: 1rem;
|
|
11
|
+
padding: 0;
|
|
12
|
+
border: none;
|
|
13
|
+
background: none;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
color: ${({ theme }) => theme.palette.icon};
|
|
16
|
+
|
|
17
|
+
${Icon} {
|
|
18
|
+
width: 1rem;
|
|
19
|
+
height: 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${Icon}:after {
|
|
23
|
+
font-size: 1rem;
|
|
24
|
+
}
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
27
|
export { NavigationToggle };
|