@evergis/apps 0.1.10 → 0.1.12
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/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/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/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/hooks/useCatalogReveal.js +14 -6
- package/dist/devmode/modules/navigation-catalog/hooks/useCatalogReveal.js.map +1 -1
- package/dist/devmode/modules/navigation-catalog/styled.js +147 -147
- package/dist/devmode/modules/navigation-catalog/thunks/catalogFiles.d.ts +2 -1
- package/dist/devmode/modules/navigation-catalog/thunks/catalogFiles.js +1 -1
- 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/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/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/styled.js +6 -6
- package/dist/devmode/tabs/Tabs/Tab/styled.js +105 -105
- package/dist/devmode/tabs/Tabs/styled.js +61 -61
- package/dist/devmode/tabs/states/styled.js +2 -2
- package/dist/devmode/tabs/styled.js +37 -37
- package/package.json +5 -5
|
@@ -6,72 +6,72 @@ const SandboxesDialogFrame = styled(Dialog).attrs({
|
|
|
6
6
|
minWidth: "40rem",
|
|
7
7
|
maxWidth: "40rem",
|
|
8
8
|
minHeight: "0",
|
|
9
|
-
}).withConfig({ displayName: "SandboxesDialogFrame", componentId: "sc-
|
|
10
|
-
border-radius: 0.75rem;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
background: ${({ theme }) => theme.palette.background};
|
|
9
|
+
}).withConfig({ displayName: "SandboxesDialogFrame", componentId: "sc-t3dfos" }) `
|
|
10
|
+
border-radius: 0.75rem;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
background: ${({ theme }) => theme.palette.background};
|
|
13
13
|
`;
|
|
14
|
-
const SandboxesDialogContent = styled(DialogContent).withConfig({ displayName: "SandboxesDialogContent", componentId: "sc-
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: stretch;
|
|
17
|
-
gap: 2rem;
|
|
18
|
-
width: 100%;
|
|
19
|
-
max-height: 40rem;
|
|
20
|
-
padding: 3rem;
|
|
21
|
-
box-sizing: border-box;
|
|
14
|
+
const SandboxesDialogContent = styled(DialogContent).withConfig({ displayName: "SandboxesDialogContent", componentId: "sc-hvnn3i" }) `
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
gap: 2rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
max-height: 40rem;
|
|
20
|
+
padding: 3rem;
|
|
21
|
+
box-sizing: border-box;
|
|
22
22
|
`;
|
|
23
|
-
const SandboxesHeader = styled.div.withConfig({ displayName: "SandboxesHeader", componentId: "sc-
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
gap: 1rem;
|
|
23
|
+
const SandboxesHeader = styled.div.withConfig({ displayName: "SandboxesHeader", componentId: "sc-7o425t" }) `
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
gap: 1rem;
|
|
28
28
|
`;
|
|
29
|
-
const SandboxesTitle = styled.div.withConfig({ displayName: "SandboxesTitle", componentId: "sc-
|
|
30
|
-
font-size: 1.5rem;
|
|
31
|
-
line-height: 1.75rem;
|
|
32
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
33
|
-
white-space: nowrap;
|
|
29
|
+
const SandboxesTitle = styled.div.withConfig({ displayName: "SandboxesTitle", componentId: "sc-3xt997" }) `
|
|
30
|
+
font-size: 1.5rem;
|
|
31
|
+
line-height: 1.75rem;
|
|
32
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
33
|
+
white-space: nowrap;
|
|
34
34
|
`;
|
|
35
|
-
const SandboxesHeaderActions = styled.div.withConfig({ displayName: "SandboxesHeaderActions", componentId: "sc-
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
gap: 1rem;
|
|
35
|
+
const SandboxesHeaderActions = styled.div.withConfig({ displayName: "SandboxesHeaderActions", componentId: "sc-15xazfk" }) `
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 1rem;
|
|
39
39
|
`;
|
|
40
|
-
const SandboxesLimit = styled.div.withConfig({ displayName: "SandboxesLimit", componentId: "sc-
|
|
41
|
-
font-size: 0.875rem;
|
|
42
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
43
|
-
white-space: nowrap;
|
|
40
|
+
const SandboxesLimit = styled.div.withConfig({ displayName: "SandboxesLimit", componentId: "sc-1dzteoo" }) `
|
|
41
|
+
font-size: 0.875rem;
|
|
42
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
43
|
+
white-space: nowrap;
|
|
44
44
|
`;
|
|
45
|
-
const SandboxesList = styled.div.withConfig({ displayName: "SandboxesList", componentId: "sc-
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
gap: 0.5rem;
|
|
49
|
-
max-height: 32rem;
|
|
50
|
-
overflow-y: auto;
|
|
45
|
+
const SandboxesList = styled.div.withConfig({ displayName: "SandboxesList", componentId: "sc-13i2tix" }) `
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
gap: 0.5rem;
|
|
49
|
+
max-height: 32rem;
|
|
50
|
+
overflow-y: auto;
|
|
51
51
|
`;
|
|
52
|
-
const SandboxesEmpty = styled.div.withConfig({ displayName: "SandboxesEmpty", componentId: "sc-
|
|
53
|
-
color: ${({ theme }) => theme.palette.textSecondary};
|
|
52
|
+
const SandboxesEmpty = styled.div.withConfig({ displayName: "SandboxesEmpty", componentId: "sc-r30rlt" }) `
|
|
53
|
+
color: ${({ theme }) => theme.palette.textSecondary};
|
|
54
54
|
`;
|
|
55
|
-
const PlainIconButton = styled.button.withConfig({ displayName: "PlainIconButton", componentId: "sc-
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
width: 1rem;
|
|
60
|
-
height: 1rem;
|
|
61
|
-
padding: 0;
|
|
62
|
-
border: none;
|
|
63
|
-
background: transparent;
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
|
|
66
|
-
${Icon} {
|
|
67
|
-
width: 0.875rem;
|
|
68
|
-
height: 0.875rem;
|
|
69
|
-
color: ${({ theme }) => theme.palette.iconDisabled};
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
${Icon}:after {
|
|
73
|
-
font-size: 0.875rem;
|
|
74
|
-
}
|
|
55
|
+
const PlainIconButton = styled.button.withConfig({ displayName: "PlainIconButton", componentId: "sc-uj79g7" }) `
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
width: 1rem;
|
|
60
|
+
height: 1rem;
|
|
61
|
+
padding: 0;
|
|
62
|
+
border: none;
|
|
63
|
+
background: transparent;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
|
|
66
|
+
${Icon} {
|
|
67
|
+
width: 0.875rem;
|
|
68
|
+
height: 0.875rem;
|
|
69
|
+
color: ${({ theme }) => theme.palette.iconDisabled};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
${Icon}:after {
|
|
73
|
+
font-size: 0.875rem;
|
|
74
|
+
}
|
|
75
75
|
`;
|
|
76
76
|
|
|
77
77
|
export { PlainIconButton, SandboxesDialogContent, SandboxesDialogFrame, SandboxesEmpty, SandboxesHeader, SandboxesHeaderActions, SandboxesLimit, SandboxesList, SandboxesTitle };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Icon } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const MetricsRow = styled.div.withConfig({ displayName: "MetricsRow", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 0.5rem;
|
|
8
|
-
flex: 0 0 auto;
|
|
9
|
-
white-space: nowrap;
|
|
4
|
+
const MetricsRow = styled.div.withConfig({ displayName: "MetricsRow", componentId: "sc-h0r3d2" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 0.5rem;
|
|
8
|
+
flex: 0 0 auto;
|
|
9
|
+
white-space: nowrap;
|
|
10
10
|
`;
|
|
11
|
-
const MetricLabel = styled.span.withConfig({ displayName: "MetricLabel", componentId: "sc-
|
|
12
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
13
|
-
opacity: 0.36;
|
|
11
|
+
const MetricLabel = styled.span.withConfig({ displayName: "MetricLabel", componentId: "sc-1n1a2vr" }) `
|
|
12
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
13
|
+
opacity: 0.36;
|
|
14
14
|
`;
|
|
15
|
-
const MetricItem = styled.div.withConfig({ displayName: "MetricItem", componentId: "sc-
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
gap: 0.25rem;
|
|
19
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
20
|
-
|
|
21
|
-
${Icon} {
|
|
22
|
-
width: 1rem;
|
|
23
|
-
height: 1rem;
|
|
24
|
-
color: ${({ theme }) => theme.palette.iconDisabled};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
${Icon}:after {
|
|
28
|
-
font-size: 1rem;
|
|
29
|
-
}
|
|
15
|
+
const MetricItem = styled.div.withConfig({ displayName: "MetricItem", componentId: "sc-h1zc7o" }) `
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 0.25rem;
|
|
19
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
20
|
+
|
|
21
|
+
${Icon} {
|
|
22
|
+
width: 1rem;
|
|
23
|
+
height: 1rem;
|
|
24
|
+
color: ${({ theme }) => theme.palette.iconDisabled};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
${Icon}:after {
|
|
28
|
+
font-size: 1rem;
|
|
29
|
+
}
|
|
30
30
|
`;
|
|
31
|
-
const MetricUnit = styled.span.withConfig({ displayName: "MetricUnit", componentId: "sc-
|
|
32
|
-
opacity: 0.36;
|
|
31
|
+
const MetricUnit = styled.span.withConfig({ displayName: "MetricUnit", componentId: "sc-ak6u45" }) `
|
|
32
|
+
opacity: 0.36;
|
|
33
33
|
`;
|
|
34
34
|
|
|
35
35
|
export { MetricItem, MetricLabel, MetricUnit, MetricsRow };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const ViewResponseContent = styled.div.withConfig({ displayName: "ViewResponseContent", componentId: "sc-
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
max-height: calc(100vh - 12rem);
|
|
7
|
-
overflow-y: auto;
|
|
3
|
+
const ViewResponseContent = styled.div.withConfig({ displayName: "ViewResponseContent", componentId: "sc-1w9qy55" }) `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
max-height: calc(100vh - 12rem);
|
|
7
|
+
overflow-y: auto;
|
|
8
8
|
`;
|
|
9
9
|
|
|
10
10
|
export { ViewResponseContent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const ResourceJsonContainer = styled.div.withConfig({ displayName: "ResourceJsonContainer", componentId: "sc-
|
|
4
|
-
flex: 1;
|
|
5
|
-
width: 100%;
|
|
6
|
-
min-height: 0;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
position: relative;
|
|
3
|
+
const ResourceJsonContainer = styled.div.withConfig({ displayName: "ResourceJsonContainer", componentId: "sc-ysfsgp" }) `
|
|
4
|
+
flex: 1;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-height: 0;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
position: relative;
|
|
10
10
|
`;
|
|
11
11
|
|
|
12
12
|
export { ResourceJsonContainer };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const TableWrapper = styled.div.withConfig({ displayName: "TableWrapper", componentId: "sc-
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
flex: 1;
|
|
7
|
-
width: 100%;
|
|
8
|
-
min-height: 0;
|
|
3
|
+
const TableWrapper = styled.div.withConfig({ displayName: "TableWrapper", componentId: "sc-gqw28r" }) `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
flex: 1;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-height: 0;
|
|
9
9
|
`;
|
|
10
|
-
const TableTruncatedNote = styled.div.withConfig({ displayName: "TableTruncatedNote", componentId: "sc-
|
|
11
|
-
flex-shrink: 0;
|
|
12
|
-
padding: 0.25rem 0.75rem;
|
|
13
|
-
font-size: 0.75rem;
|
|
14
|
-
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
10
|
+
const TableTruncatedNote = styled.div.withConfig({ displayName: "TableTruncatedNote", componentId: "sc-1pn0i" }) `
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
padding: 0.25rem 0.75rem;
|
|
13
|
+
font-size: 0.75rem;
|
|
14
|
+
color: ${({ theme: { palette } }) => palette.textSecondary};
|
|
15
15
|
`;
|
|
16
|
-
const TableContainer = styled.div.withConfig({ displayName: "TableContainer", componentId: "sc-
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
flex: 1;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
min-height: 0;
|
|
16
|
+
const TableContainer = styled.div.withConfig({ displayName: "TableContainer", componentId: "sc-pm5cbe" }) `
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
flex: 1;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
min-height: 0;
|
|
23
23
|
`;
|
|
24
24
|
|
|
25
25
|
export { TableContainer, TableTruncatedNote, TableWrapper };
|
|
@@ -5,12 +5,12 @@ import { Editor } from '@monaco-editor/react';
|
|
|
5
5
|
* Проп `theme` здесь — тема Monaco (строка), а не тема styled-components: поэтому обёртка типизирована пропсами
|
|
6
6
|
* редактора (в client-new то же место закрыто `@ts-ignore`).
|
|
7
7
|
*/
|
|
8
|
-
const StyledEditor = styled(Editor) `
|
|
9
|
-
flex: 1;
|
|
10
|
-
height: 100%;
|
|
11
|
-
min-height: 0;
|
|
12
|
-
padding-top: 0.5rem;
|
|
13
|
-
box-sizing: border-box;
|
|
8
|
+
const StyledEditor = styled(Editor) `
|
|
9
|
+
flex: 1;
|
|
10
|
+
height: 100%;
|
|
11
|
+
min-height: 0;
|
|
12
|
+
padding-top: 0.5rem;
|
|
13
|
+
box-sizing: border-box;
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
export { StyledEditor };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const MonacoCodeBlock = styled.pre.withConfig({ displayName: "MonacoCodeBlock", componentId: "sc-
|
|
4
|
-
margin: 0;
|
|
5
|
-
font-family: "Nunito Sans";
|
|
6
|
-
font-size: 0.875rem;
|
|
7
|
-
line-height: 1rem;
|
|
8
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
9
|
-
white-space: pre-wrap;
|
|
10
|
-
word-break: break-word;
|
|
11
|
-
|
|
12
|
-
pre,
|
|
13
|
-
code {
|
|
14
|
-
font-size: 0.875rem;
|
|
15
|
-
font-family: "Nunito Sans";
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
span {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-wrap: wrap;
|
|
21
|
-
}
|
|
22
|
-
|
|
3
|
+
const MonacoCodeBlock = styled.pre.withConfig({ displayName: "MonacoCodeBlock", componentId: "sc-ql0bk3" }) `
|
|
4
|
+
margin: 0;
|
|
5
|
+
font-family: "Nunito Sans";
|
|
6
|
+
font-size: 0.875rem;
|
|
7
|
+
line-height: 1rem;
|
|
8
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
9
|
+
white-space: pre-wrap;
|
|
10
|
+
word-break: break-word;
|
|
11
|
+
|
|
12
|
+
pre,
|
|
13
|
+
code {
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
font-family: "Nunito Sans";
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
span {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
23
|
${({ $withOverflow }) => $withOverflow
|
|
24
|
-
? css `
|
|
25
|
-
height: 100%;
|
|
26
|
-
overflow: auto;
|
|
24
|
+
? css `
|
|
25
|
+
height: 100%;
|
|
26
|
+
overflow: auto;
|
|
27
27
|
`
|
|
28
|
-
: ""}
|
|
28
|
+
: ""}
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
export { MonacoCodeBlock };
|
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { TreeText, TreeRow, TreeItemWrapper, IconButtonButton, TreeContent, Tree, Icon } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const NavigationTreeWrapper = styled.div.withConfig({ displayName: "NavigationTreeWrapper", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
flex: 1;
|
|
9
|
-
min-height: 0;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
padding: 0 1rem;
|
|
12
|
-
overflow-y: auto;
|
|
4
|
+
const NavigationTreeWrapper = styled.div.withConfig({ displayName: "NavigationTreeWrapper", componentId: "sc-19sook1" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
flex: 1;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
padding: 0 1rem;
|
|
12
|
+
overflow-y: auto;
|
|
13
13
|
`;
|
|
14
|
-
const StyledDevTree = styled(Tree).withConfig({ displayName: "StyledDevTree", componentId: "sc-
|
|
15
|
-
margin-top: 0.5rem;
|
|
16
|
-
|
|
17
|
-
.item {
|
|
18
|
-
${TreeText} {
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.active {
|
|
24
|
-
> ${TreeRow} {
|
|
25
|
-
border-radius: 0.25rem;
|
|
26
|
-
background-color: ${({ theme }) => theme.palette.elementDeep};
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
${TreeItemWrapper} {
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
|
|
33
|
-
${TreeRow}:hover {
|
|
34
|
-
${IconButtonButton} {
|
|
35
|
-
visibility: visible;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
${IconButtonButton} {
|
|
41
|
-
width: 1rem;
|
|
42
|
-
padding: 0;
|
|
43
|
-
visibility: hidden;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
${TreeContent} {
|
|
47
|
-
margin-left: 0.25rem;
|
|
48
|
-
}
|
|
14
|
+
const StyledDevTree = styled(Tree).withConfig({ displayName: "StyledDevTree", componentId: "sc-1eyipsa" }) `
|
|
15
|
+
margin-top: 0.5rem;
|
|
16
|
+
|
|
17
|
+
.item {
|
|
18
|
+
${TreeText} {
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.active {
|
|
24
|
+
> ${TreeRow} {
|
|
25
|
+
border-radius: 0.25rem;
|
|
26
|
+
background-color: ${({ theme }) => theme.palette.elementDeep};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
${TreeItemWrapper} {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
|
|
33
|
+
${TreeRow}:hover {
|
|
34
|
+
${IconButtonButton} {
|
|
35
|
+
visibility: visible;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
${IconButtonButton} {
|
|
41
|
+
width: 1rem;
|
|
42
|
+
padding: 0;
|
|
43
|
+
visibility: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
${TreeContent} {
|
|
47
|
+
margin-left: 0.25rem;
|
|
48
|
+
}
|
|
49
49
|
`;
|
|
50
|
-
const TreeItemActions = styled.div.withConfig({ displayName: "TreeItemActions", componentId: "sc-
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
align-items: center;
|
|
54
|
-
gap: 0 0.5rem;
|
|
55
|
-
margin-left: auto;
|
|
56
|
-
|
|
57
|
-
${IconButtonButton} {
|
|
58
|
-
height: 1rem;
|
|
59
|
-
width: 1rem;
|
|
60
|
-
}
|
|
50
|
+
const TreeItemActions = styled.div.withConfig({ displayName: "TreeItemActions", componentId: "sc-blo5tn" }) `
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
align-items: center;
|
|
54
|
+
gap: 0 0.5rem;
|
|
55
|
+
margin-left: auto;
|
|
56
|
+
|
|
57
|
+
${IconButtonButton} {
|
|
58
|
+
height: 1rem;
|
|
59
|
+
width: 1rem;
|
|
60
|
+
}
|
|
61
61
|
`;
|
|
62
|
-
const NodeIcon = styled(Icon).withConfig({ displayName: "NodeIcon", componentId: "sc-
|
|
63
|
-
width: 14px;
|
|
64
|
-
height: 14px;
|
|
65
|
-
flex-shrink: 0;
|
|
66
|
-
|
|
67
|
-
&:after {
|
|
68
|
-
font-size: 14px;
|
|
69
|
-
}
|
|
62
|
+
const NodeIcon = styled(Icon).withConfig({ displayName: "NodeIcon", componentId: "sc-64mlqz" }) `
|
|
63
|
+
width: 14px;
|
|
64
|
+
height: 14px;
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
|
|
67
|
+
&:after {
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
}
|
|
70
70
|
`;
|
|
71
|
-
const EmptyText = styled(TreeText).withConfig({ displayName: "EmptyText", componentId: "sc-
|
|
72
|
-
color: ${({ theme }) => theme.palette.textSecondary};
|
|
71
|
+
const EmptyText = styled(TreeText).withConfig({ displayName: "EmptyText", componentId: "sc-dhuxz4" }) `
|
|
72
|
+
color: ${({ theme }) => theme.palette.textSecondary};
|
|
73
73
|
`;
|
|
74
74
|
|
|
75
75
|
export { EmptyText, NavigationTreeWrapper, NodeIcon, StyledDevTree, TreeItemActions };
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Icon, transition, IconButton } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const MenuContainer = styled.div.withConfig({ displayName: "MenuContainer", componentId: "sc-
|
|
5
|
-
min-width: 200px;
|
|
6
|
-
width: max-content;
|
|
4
|
+
const MenuContainer = styled.div.withConfig({ displayName: "MenuContainer", componentId: "sc-1kmguhn" }) `
|
|
5
|
+
min-width: 200px;
|
|
6
|
+
width: max-content;
|
|
7
7
|
`;
|
|
8
8
|
const MoreSectionToggler = styled(IconButton).attrs(() => ({
|
|
9
9
|
kind: "expand",
|
|
10
|
-
})).withConfig({ displayName: "MoreSectionToggler", componentId: "sc-
|
|
11
|
-
margin: 0;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: auto;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: row-reverse;
|
|
17
|
-
justify-content: flex-end;
|
|
18
|
-
padding: 0.5rem 1rem;
|
|
19
|
-
|
|
20
|
-
&:hover,
|
|
21
|
-
&:active {
|
|
22
|
-
${Icon}, ${Icon} + span {
|
|
23
|
-
color: ${({ theme: { palette } }) => palette.textPrimary};
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
${Icon} + span {
|
|
28
|
-
line-height: 1;
|
|
29
|
-
font: ${({ theme: { fonts } }) => fonts.small};
|
|
30
|
-
color: ${({ theme: { palette } }) => palette.textDisabled};
|
|
31
|
-
margin: 0 0.25rem 0 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
${Icon}, ${Icon} + span {
|
|
35
|
-
align-items: center;
|
|
36
|
-
color: ${({ theme: { palette } }) => palette.textDisabled};
|
|
37
|
-
display: flex;
|
|
38
|
-
text-align: left;
|
|
39
|
-
|
|
40
|
-
&:after {
|
|
41
|
-
margin-left: 0.125rem;
|
|
42
|
-
position: static;
|
|
43
|
-
transform: ${({ $expanded }) => `rotate(${$expanded ? 180 : 0}deg)`};
|
|
44
|
-
transition: transform 289ms ${transition.upDown};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
10
|
+
})).withConfig({ displayName: "MoreSectionToggler", componentId: "sc-76af3q" }) `
|
|
11
|
+
margin: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: auto;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row-reverse;
|
|
17
|
+
justify-content: flex-end;
|
|
18
|
+
padding: 0.5rem 1rem;
|
|
19
|
+
|
|
20
|
+
&:hover,
|
|
21
|
+
&:active {
|
|
22
|
+
${Icon}, ${Icon} + span {
|
|
23
|
+
color: ${({ theme: { palette } }) => palette.textPrimary};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
${Icon} + span {
|
|
28
|
+
line-height: 1;
|
|
29
|
+
font: ${({ theme: { fonts } }) => fonts.small};
|
|
30
|
+
color: ${({ theme: { palette } }) => palette.textDisabled};
|
|
31
|
+
margin: 0 0.25rem 0 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
${Icon}, ${Icon} + span {
|
|
35
|
+
align-items: center;
|
|
36
|
+
color: ${({ theme: { palette } }) => palette.textDisabled};
|
|
37
|
+
display: flex;
|
|
38
|
+
text-align: left;
|
|
39
|
+
|
|
40
|
+
&:after {
|
|
41
|
+
margin-left: 0.125rem;
|
|
42
|
+
position: static;
|
|
43
|
+
transform: ${({ $expanded }) => `rotate(${$expanded ? 180 : 0}deg)`};
|
|
44
|
+
transition: transform 289ms ${transition.upDown};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
47
|
`;
|
|
48
|
-
const MoreSection = styled.div.withConfig({ displayName: "MoreSection", componentId: "sc-
|
|
49
|
-
const MoreSectionItems = styled.div.withConfig({ displayName: "MoreSectionItems", componentId: "sc-
|
|
50
|
-
display: ${({ $expanded }) => ($expanded ? "block" : "none")};
|
|
48
|
+
const MoreSection = styled.div.withConfig({ displayName: "MoreSection", componentId: "sc-bpboyh" }) ``;
|
|
49
|
+
const MoreSectionItems = styled.div.withConfig({ displayName: "MoreSectionItems", componentId: "sc-b3oggj" }) `
|
|
50
|
+
display: ${({ $expanded }) => ($expanded ? "block" : "none")};
|
|
51
51
|
`;
|
|
52
|
-
const MoreSectionItemsInner = styled.div.withConfig({ displayName: "MoreSectionItemsInner", componentId: "sc-
|
|
53
|
-
const MoreSectionItem = styled.div.withConfig({ displayName: "MoreSectionItem", componentId: "sc-
|
|
54
|
-
padding: 0.75rem 1rem;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
white-space: nowrap;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
text-overflow: ellipsis;
|
|
59
|
-
color: ${({ theme }) => theme.dropdown.color};
|
|
60
|
-
border-radius: 0.25rem;
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
gap: 0.5rem;
|
|
64
|
-
|
|
65
|
-
&:hover {
|
|
66
|
-
background: ${({ theme }) => theme.dropdown.hoverBackgroundColor};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:active {
|
|
70
|
-
background: ${({ theme }) => theme.dropdown.selectedBackgroundColor};
|
|
71
|
-
}
|
|
52
|
+
const MoreSectionItemsInner = styled.div.withConfig({ displayName: "MoreSectionItemsInner", componentId: "sc-1ye2454" }) ``;
|
|
53
|
+
const MoreSectionItem = styled.div.withConfig({ displayName: "MoreSectionItem", componentId: "sc-1lma039" }) `
|
|
54
|
+
padding: 0.75rem 1rem;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
color: ${({ theme }) => theme.dropdown.color};
|
|
60
|
+
border-radius: 0.25rem;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: 0.5rem;
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
background: ${({ theme }) => theme.dropdown.hoverBackgroundColor};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:active {
|
|
70
|
+
background: ${({ theme }) => theme.dropdown.selectedBackgroundColor};
|
|
71
|
+
}
|
|
72
72
|
`;
|
|
73
73
|
|
|
74
74
|
export { MenuContainer, MoreSection, MoreSectionItem, MoreSectionItems, MoreSectionItemsInner, MoreSectionToggler };
|