@evergis/apps 0.1.8 → 0.1.10
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/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/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 +6 -6
|
@@ -5,57 +5,57 @@ import { hexToRgba } from '@evergis/common';
|
|
|
5
5
|
const CHIP_ALPHA = 0.06;
|
|
6
6
|
const ICON_PADDING_PX = 8;
|
|
7
7
|
const CHIP_BACKGROUND = hexToRgba("#11252F", CHIP_ALPHA);
|
|
8
|
-
const inputMixin = css `
|
|
9
|
-
display: flex;
|
|
10
|
-
height: ${({ height }) => height || "auto"};
|
|
11
|
-
padding: 0.34375rem ${({ paddingRight }) => `${paddingRight || 0}rem`} 0.34375rem
|
|
12
|
-
${({ extraLeftPaddingWidth }) => (extraLeftPaddingWidth ? `${extraLeftPaddingWidth + ICON_PADDING_PX}px` : "0.5rem")};
|
|
13
|
-
width: 100%;
|
|
14
|
-
background: transparent;
|
|
15
|
-
border: 0.0625rem solid ${({ error, theme: { input } }) => (error ? input.error : input.borderColor)};
|
|
16
|
-
border-radius: ${borderRadius};
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
color: ${({ theme: { input } }) => input.color};
|
|
19
|
-
font: ${({ theme: { fonts } }) => fonts.standard};
|
|
20
|
-
|
|
21
|
-
&:focus {
|
|
22
|
-
outline: none;
|
|
23
|
-
border-color: ${({ error, theme: { input } }) => (error ? input.error : input.active)};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&::placeholder {
|
|
27
|
-
color: ${({ theme: { input } }) => input.placeholderColor};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&[disabled] {
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
color: ${({ theme: { input } }) => input.disabledColor};
|
|
33
|
-
border: 0.0635rem dashed ${({ theme: { input } }) => input.disabledBorderColor};
|
|
34
|
-
|
|
35
|
-
&::placeholder {
|
|
36
|
-
color: ${({ theme: { input } }) => input.disabledPlaceholderColor};
|
|
37
|
-
}
|
|
38
|
-
}
|
|
8
|
+
const inputMixin = css `
|
|
9
|
+
display: flex;
|
|
10
|
+
height: ${({ height }) => height || "auto"};
|
|
11
|
+
padding: 0.34375rem ${({ paddingRight }) => `${paddingRight || 0}rem`} 0.34375rem
|
|
12
|
+
${({ extraLeftPaddingWidth }) => (extraLeftPaddingWidth ? `${extraLeftPaddingWidth + ICON_PADDING_PX}px` : "0.5rem")};
|
|
13
|
+
width: 100%;
|
|
14
|
+
background: transparent;
|
|
15
|
+
border: 0.0625rem solid ${({ error, theme: { input } }) => (error ? input.error : input.borderColor)};
|
|
16
|
+
border-radius: ${borderRadius};
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
color: ${({ theme: { input } }) => input.color};
|
|
19
|
+
font: ${({ theme: { fonts } }) => fonts.standard};
|
|
20
|
+
|
|
21
|
+
&:focus {
|
|
22
|
+
outline: none;
|
|
23
|
+
border-color: ${({ error, theme: { input } }) => (error ? input.error : input.active)};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&::placeholder {
|
|
27
|
+
color: ${({ theme: { input } }) => input.placeholderColor};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&[disabled] {
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
color: ${({ theme: { input } }) => input.disabledColor};
|
|
33
|
+
border: 0.0635rem dashed ${({ theme: { input } }) => input.disabledBorderColor};
|
|
34
|
+
|
|
35
|
+
&::placeholder {
|
|
36
|
+
color: ${({ theme: { input } }) => input.disabledPlaceholderColor};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
39
|
`;
|
|
40
|
-
const ChipInputHolder = styled.div.withConfig({ displayName: "ChipInputHolder", componentId: "sc-
|
|
41
|
-
${inputMixin};
|
|
42
|
-
height: 2rem;
|
|
43
|
-
align-items: center;
|
|
44
|
-
padding: 0 ${({ paddingRight }) => `${paddingRight || 0}rem`} 0 0.5rem;
|
|
40
|
+
const ChipInputHolder = styled.div.withConfig({ displayName: "ChipInputHolder", componentId: "sc-138rg65" }) `
|
|
41
|
+
${inputMixin};
|
|
42
|
+
height: 2rem;
|
|
43
|
+
align-items: center;
|
|
44
|
+
padding: 0 ${({ paddingRight }) => `${paddingRight || 0}rem`} 0 0.5rem;
|
|
45
45
|
`;
|
|
46
|
-
const InputChip = styled.div.withConfig({ displayName: "InputChip", componentId: "sc-
|
|
47
|
-
display: inline-flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
padding: 5px 8px;
|
|
50
|
-
border-radius: 0.25rem;
|
|
51
|
-
background-color: ${({ $primary, theme }) => ($primary ? theme.palette.primary : CHIP_BACKGROUND)};
|
|
52
|
-
color: ${({ $primary, theme }) => ($primary ? "white" : theme.palette.textPrimary)};
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
font-size: 0.75rem;
|
|
46
|
+
const InputChip = styled.div.withConfig({ displayName: "InputChip", componentId: "sc-1irr1at" }) `
|
|
47
|
+
display: inline-flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
padding: 5px 8px;
|
|
50
|
+
border-radius: 0.25rem;
|
|
51
|
+
background-color: ${({ $primary, theme }) => ($primary ? theme.palette.primary : CHIP_BACKGROUND)};
|
|
52
|
+
color: ${({ $primary, theme }) => ($primary ? "white" : theme.palette.textPrimary)};
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
font-size: 0.75rem;
|
|
55
55
|
`;
|
|
56
|
-
const IconAfter = styled.div.withConfig({ displayName: "IconAfter", componentId: "sc-
|
|
57
|
-
margin-left: auto;
|
|
58
|
-
cursor: pointer;
|
|
56
|
+
const IconAfter = styled.div.withConfig({ displayName: "IconAfter", componentId: "sc-125iyx8" }) `
|
|
57
|
+
margin-left: auto;
|
|
58
|
+
cursor: pointer;
|
|
59
59
|
`;
|
|
60
60
|
|
|
61
61
|
export { ChipInputHolder, IconAfter, InputChip, inputMixin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const SelectContainer = styled.div.withConfig({ displayName: "SelectContainer", componentId: "sc-
|
|
4
|
-
position: relative;
|
|
3
|
+
const SelectContainer = styled.div.withConfig({ displayName: "SelectContainer", componentId: "sc-2rvzyf" }) `
|
|
4
|
+
position: relative;
|
|
5
5
|
`;
|
|
6
6
|
|
|
7
7
|
export { SelectContainer };
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import { Flex, Icon } from '@evergis/uilib-gl';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
const DataSourceItemsListRoot = styled(Flex).withConfig({ displayName: "DataSourceItemsListRoot", componentId: "sc-
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
width: 100%;
|
|
4
|
+
const DataSourceItemsListRoot = styled(Flex).withConfig({ displayName: "DataSourceItemsListRoot", componentId: "sc-fu5nqg" }) `
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
width: 100%;
|
|
7
7
|
`;
|
|
8
|
-
const DataSourceItemsListScroll = styled.div.withConfig({ displayName: "DataSourceItemsListScroll", componentId: "sc-
|
|
9
|
-
max-height: 18rem;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
width: 100%;
|
|
8
|
+
const DataSourceItemsListScroll = styled.div.withConfig({ displayName: "DataSourceItemsListScroll", componentId: "sc-sx27o6" }) `
|
|
9
|
+
max-height: 18rem;
|
|
10
|
+
overflow-y: auto;
|
|
11
|
+
width: 100%;
|
|
12
12
|
`;
|
|
13
|
-
const DataSourceItemsListDivider = styled.div.withConfig({ displayName: "DataSourceItemsListDivider", componentId: "sc-
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 1px;
|
|
16
|
-
margin: 0.5rem 0;
|
|
17
|
-
background-color: ${({ theme }) => theme.palette.textPrimary};
|
|
18
|
-
opacity: 0.12;
|
|
13
|
+
const DataSourceItemsListDivider = styled.div.withConfig({ displayName: "DataSourceItemsListDivider", componentId: "sc-dhixfb" }) `
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 1px;
|
|
16
|
+
margin: 0.5rem 0;
|
|
17
|
+
background-color: ${({ theme }) => theme.palette.textPrimary};
|
|
18
|
+
opacity: 0.12;
|
|
19
19
|
`;
|
|
20
|
-
const DataSourceItemsListItemRoot = styled.button.withConfig({ displayName: "DataSourceItemsListItemRoot", componentId: "sc-
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: flex-start;
|
|
24
|
-
width: 100%;
|
|
25
|
-
padding: 0.5rem 1rem;
|
|
26
|
-
border: none;
|
|
27
|
-
border-radius: 0.25rem;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
text-align: left;
|
|
31
|
-
background-color: transparent;
|
|
32
|
-
color: ${({ theme }) => theme.palette.textPrimary};
|
|
33
|
-
|
|
34
|
-
&:hover:not(:disabled) {
|
|
35
|
-
background-color: ${({ theme }) => theme.palette.element};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:disabled {
|
|
39
|
-
cursor: default;
|
|
40
|
-
opacity: 0.28;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
${Icon} {
|
|
44
|
-
flex-shrink: 0;
|
|
45
|
-
width: 1rem;
|
|
46
|
-
height: 1rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
${Icon}:after {
|
|
50
|
-
font-size: 1rem;
|
|
51
|
-
}
|
|
20
|
+
const DataSourceItemsListItemRoot = styled.button.withConfig({ displayName: "DataSourceItemsListItemRoot", componentId: "sc-z1bzpa" }) `
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: flex-start;
|
|
24
|
+
width: 100%;
|
|
25
|
+
padding: 0.5rem 1rem;
|
|
26
|
+
border: none;
|
|
27
|
+
border-radius: 0.25rem;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
text-align: left;
|
|
31
|
+
background-color: transparent;
|
|
32
|
+
color: ${({ theme }) => theme.palette.textPrimary};
|
|
33
|
+
|
|
34
|
+
&:hover:not(:disabled) {
|
|
35
|
+
background-color: ${({ theme }) => theme.palette.element};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:disabled {
|
|
39
|
+
cursor: default;
|
|
40
|
+
opacity: 0.28;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
${Icon} {
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
width: 1rem;
|
|
46
|
+
height: 1rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
${Icon}:after {
|
|
50
|
+
font-size: 1rem;
|
|
51
|
+
}
|
|
52
52
|
`;
|
|
53
|
-
const DataSourceItemsListItemRow = styled.div.withConfig({ displayName: "DataSourceItemsListItemRow", componentId: "sc-
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
gap: 0.5rem;
|
|
57
|
-
min-width: 0;
|
|
58
|
-
width: 100%;
|
|
53
|
+
const DataSourceItemsListItemRow = styled.div.withConfig({ displayName: "DataSourceItemsListItemRow", componentId: "sc-1g0bvf7" }) `
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 0.5rem;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
width: 100%;
|
|
59
59
|
`;
|
|
60
|
-
const DataSourceItemsListItemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemName", componentId: "sc-
|
|
61
|
-
flex: 1;
|
|
62
|
-
min-width: 0;
|
|
63
|
-
font-size: 1rem;
|
|
64
|
-
line-height: 1.125rem;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
white-space: nowrap;
|
|
60
|
+
const DataSourceItemsListItemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemName", componentId: "sc-nq07x2" }) `
|
|
61
|
+
flex: 1;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
font-size: 1rem;
|
|
64
|
+
line-height: 1.125rem;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
text-overflow: ellipsis;
|
|
67
|
+
white-space: nowrap;
|
|
68
68
|
`;
|
|
69
|
-
const DataSourceItemsListItemSystemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemSystemName", componentId: "sc-
|
|
70
|
-
padding-left: 1.5rem;
|
|
71
|
-
font-size: 0.75rem;
|
|
72
|
-
line-height: 0.875rem;
|
|
73
|
-
opacity: 0.5;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
text-overflow: ellipsis;
|
|
76
|
-
white-space: nowrap;
|
|
77
|
-
max-width: 100%;
|
|
69
|
+
const DataSourceItemsListItemSystemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemSystemName", componentId: "sc-bmcan3" }) `
|
|
70
|
+
padding-left: 1.5rem;
|
|
71
|
+
font-size: 0.75rem;
|
|
72
|
+
line-height: 0.875rem;
|
|
73
|
+
opacity: 0.5;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
max-width: 100%;
|
|
78
78
|
`;
|
|
79
|
-
const AddDataSourceButtonRoot = styled.button.withConfig({ displayName: "AddDataSourceButtonRoot", componentId: "sc-
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
justify-content: center;
|
|
83
|
-
gap: 0.375rem;
|
|
84
|
-
width: 100%;
|
|
85
|
-
padding: 0.5rem 0.75rem;
|
|
86
|
-
border: none;
|
|
87
|
-
border-radius: 0.25rem;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
font-size: 0.875rem;
|
|
90
|
-
line-height: 1rem;
|
|
91
|
-
color: ${({ theme }) => theme.palette.icon};
|
|
92
|
-
background-color: ${({ theme }) => theme.palette.element};
|
|
93
|
-
|
|
94
|
-
&:hover:not(:disabled) {
|
|
95
|
-
background-color: ${({ theme }) => theme.palette.elementDeep};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:disabled {
|
|
99
|
-
cursor: default;
|
|
100
|
-
opacity: 0.5;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
${Icon}:after {
|
|
104
|
-
font-size: 0.875rem;
|
|
105
|
-
}
|
|
79
|
+
const AddDataSourceButtonRoot = styled.button.withConfig({ displayName: "AddDataSourceButtonRoot", componentId: "sc-17iqjl3" }) `
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
gap: 0.375rem;
|
|
84
|
+
width: 100%;
|
|
85
|
+
padding: 0.5rem 0.75rem;
|
|
86
|
+
border: none;
|
|
87
|
+
border-radius: 0.25rem;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
line-height: 1rem;
|
|
91
|
+
color: ${({ theme }) => theme.palette.icon};
|
|
92
|
+
background-color: ${({ theme }) => theme.palette.element};
|
|
93
|
+
|
|
94
|
+
&:hover:not(:disabled) {
|
|
95
|
+
background-color: ${({ theme }) => theme.palette.elementDeep};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:disabled {
|
|
99
|
+
cursor: default;
|
|
100
|
+
opacity: 0.5;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
${Icon}:after {
|
|
104
|
+
font-size: 0.875rem;
|
|
105
|
+
}
|
|
106
106
|
`;
|
|
107
107
|
|
|
108
108
|
export { AddDataSourceButtonRoot, DataSourceItemsListDivider, DataSourceItemsListItemName, DataSourceItemsListItemRoot, DataSourceItemsListItemRow, DataSourceItemsListItemSystemName, DataSourceItemsListRoot, DataSourceItemsListScroll };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const DataSourcePickerRoot = styled.div.withConfig({ displayName: "DataSourcePickerRoot", componentId: "sc-
|
|
4
|
-
width: ${({ $width }) => ($width ? `${$width}px` : "17.5rem")};
|
|
5
|
-
min-width: ${({ $width }) => ($width ? `${$width}px` : "12rem")};
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
padding: 0.5rem;
|
|
8
|
-
border-radius: 0.25rem;
|
|
9
|
-
background-color: ${({ theme }) => theme.palette.background};
|
|
10
|
-
box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.12);
|
|
3
|
+
const DataSourcePickerRoot = styled.div.withConfig({ displayName: "DataSourcePickerRoot", componentId: "sc-ccx5kj" }) `
|
|
4
|
+
width: ${({ $width }) => ($width ? `${$width}px` : "17.5rem")};
|
|
5
|
+
min-width: ${({ $width }) => ($width ? `${$width}px` : "12rem")};
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
padding: 0.5rem;
|
|
8
|
+
border-radius: 0.25rem;
|
|
9
|
+
background-color: ${({ theme }) => theme.palette.background};
|
|
10
|
+
box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.12);
|
|
11
11
|
`;
|
|
12
|
-
const DataSourcePickerAnchor = styled.span.withConfig({ displayName: "DataSourcePickerAnchor", componentId: "sc-
|
|
13
|
-
display: flex;
|
|
14
|
-
width: 100%;
|
|
12
|
+
const DataSourcePickerAnchor = styled.span.withConfig({ displayName: "DataSourcePickerAnchor", componentId: "sc-3wqrxj" }) `
|
|
13
|
+
display: flex;
|
|
14
|
+
width: 100%;
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
17
|
export { DataSourcePickerAnchor, DataSourcePickerRoot };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Dropdown, IconButton } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const SelectorContainer = styled.div.withConfig({ displayName: "SelectorContainer", componentId: "sc-
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 100%;
|
|
4
|
+
const SelectorContainer = styled.div.withConfig({ displayName: "SelectorContainer", componentId: "sc-m94lqv" }) `
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
7
|
`;
|
|
8
|
-
const SelectorDropdown = styled(Dropdown).withConfig({ displayName: "SelectorDropdown", componentId: "sc-
|
|
9
|
-
padding-right: ${({ $withCatalog }) => ($withCatalog ? "3.5rem" : "2rem")};
|
|
8
|
+
const SelectorDropdown = styled(Dropdown).withConfig({ displayName: "SelectorDropdown", componentId: "sc-3dji1u" }) `
|
|
9
|
+
padding-right: ${({ $withCatalog }) => ($withCatalog ? "3.5rem" : "2rem")};
|
|
10
10
|
`;
|
|
11
|
-
const CatalogButton = styled(IconButton).withConfig({ displayName: "CatalogButton", componentId: "sc-
|
|
12
|
-
position: absolute;
|
|
13
|
-
right: 1.25rem;
|
|
14
|
-
height: 1rem;
|
|
15
|
-
top: 2rem;
|
|
16
|
-
z-index: ${({ $zIndex = 0 }) => $zIndex + 1};
|
|
11
|
+
const CatalogButton = styled(IconButton).withConfig({ displayName: "CatalogButton", componentId: "sc-123djfs" }) `
|
|
12
|
+
position: absolute;
|
|
13
|
+
right: 1.25rem;
|
|
14
|
+
height: 1rem;
|
|
15
|
+
top: 2rem;
|
|
16
|
+
z-index: ${({ $zIndex = 0 }) => $zIndex + 1};
|
|
17
17
|
`;
|
|
18
18
|
|
|
19
19
|
export { CatalogButton, SelectorContainer, SelectorDropdown };
|
|
@@ -2,101 +2,101 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { Flex, textOverflowEllipsisMixin, Icon, IconButtonButton, transition, IconButton, TreeExpand, TreeContent } from '@evergis/uilib-gl';
|
|
3
3
|
import { StyledDevTree } from '../../navigation/CategoryTree/styled.js';
|
|
4
4
|
|
|
5
|
-
const JsonTreeContainer = styled(Flex).withConfig({ displayName: "JsonTreeContainer", componentId: "sc-
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: ${({ $isCollapsed }) => ($isCollapsed ? "auto" : "100%")};
|
|
9
|
-
min-height: 0;
|
|
10
|
-
overflow: hidden;
|
|
5
|
+
const JsonTreeContainer = styled(Flex).withConfig({ displayName: "JsonTreeContainer", componentId: "sc-1mhfiim" }) `
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: ${({ $isCollapsed }) => ($isCollapsed ? "auto" : "100%")};
|
|
9
|
+
min-height: 0;
|
|
10
|
+
overflow: hidden;
|
|
11
11
|
`;
|
|
12
|
-
const JsonTreeHeader = styled.div.withConfig({ displayName: "JsonTreeHeader", componentId: "sc-
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
padding: 0.5rem 0.75rem;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
width: 100%;
|
|
18
|
-
flex-shrink: 0;
|
|
12
|
+
const JsonTreeHeader = styled.div.withConfig({ displayName: "JsonTreeHeader", componentId: "sc-x9ay19" }) `
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
padding: 0.5rem 0.75rem;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
width: 100%;
|
|
18
|
+
flex-shrink: 0;
|
|
19
19
|
`;
|
|
20
|
-
const JsonTreeHeaderTitle = styled.div.withConfig({ displayName: "JsonTreeHeaderTitle", componentId: "sc-
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
gap: 0 0.25rem;
|
|
24
|
-
font-size: 0.75rem;
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
flex: 1;
|
|
27
|
-
min-width: 0;
|
|
28
|
-
padding-right: 0.5rem;
|
|
29
|
-
margin-left: 0.25rem;
|
|
20
|
+
const JsonTreeHeaderTitle = styled.div.withConfig({ displayName: "JsonTreeHeaderTitle", componentId: "sc-qbsl1p" }) `
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: 0 0.25rem;
|
|
24
|
+
font-size: 0.75rem;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
flex: 1;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
padding-right: 0.5rem;
|
|
29
|
+
margin-left: 0.25rem;
|
|
30
30
|
`;
|
|
31
|
-
const JsonTreeHeaderTitleText = styled.div.withConfig({ displayName: "JsonTreeHeaderTitleText", componentId: "sc-
|
|
32
|
-
${textOverflowEllipsisMixin}
|
|
31
|
+
const JsonTreeHeaderTitleText = styled.div.withConfig({ displayName: "JsonTreeHeaderTitleText", componentId: "sc-vv8zwj" }) `
|
|
32
|
+
${textOverflowEllipsisMixin}
|
|
33
33
|
`;
|
|
34
|
-
const JsonTreeHeaderIcon = styled(Icon).withConfig({ displayName: "JsonTreeHeaderIcon", componentId: "sc-
|
|
35
|
-
width: 0.875rem;
|
|
36
|
-
height: 0.875rem;
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
|
|
39
|
-
&:after {
|
|
40
|
-
font-size: 0.875rem;
|
|
41
|
-
}
|
|
34
|
+
const JsonTreeHeaderIcon = styled(Icon).withConfig({ displayName: "JsonTreeHeaderIcon", componentId: "sc-1v61pa0" }) `
|
|
35
|
+
width: 0.875rem;
|
|
36
|
+
height: 0.875rem;
|
|
37
|
+
flex-shrink: 0;
|
|
38
|
+
|
|
39
|
+
&:after {
|
|
40
|
+
font-size: 0.875rem;
|
|
41
|
+
}
|
|
42
42
|
`;
|
|
43
|
-
const JsonTreeHeaderActions = styled.div.withConfig({ displayName: "JsonTreeHeaderActions", componentId: "sc-
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
flex-shrink: 0;
|
|
47
|
-
gap: 0 0.25rem;
|
|
48
|
-
margin-left: ${({ noMargin }) => (noMargin ? 0 : "auto")};
|
|
49
|
-
|
|
50
|
-
${IconButtonButton} {
|
|
51
|
-
width: 0.875rem;
|
|
52
|
-
height: 0.875rem;
|
|
53
|
-
padding: 0;
|
|
54
|
-
}
|
|
43
|
+
const JsonTreeHeaderActions = styled.div.withConfig({ displayName: "JsonTreeHeaderActions", componentId: "sc-61bvqw" }) `
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
gap: 0 0.25rem;
|
|
48
|
+
margin-left: ${({ noMargin }) => (noMargin ? 0 : "auto")};
|
|
49
|
+
|
|
50
|
+
${IconButtonButton} {
|
|
51
|
+
width: 0.875rem;
|
|
52
|
+
height: 0.875rem;
|
|
53
|
+
padding: 0;
|
|
54
|
+
}
|
|
55
55
|
`;
|
|
56
|
-
const HeaderExpand = styled(Icon).attrs({ kind: "expand" }).withConfig({ displayName: "HeaderExpand", componentId: "sc-
|
|
57
|
-
width: 0.875rem;
|
|
58
|
-
height: 0.875rem;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
transform: ${({ $isExpanded }) => ($isExpanded ? "" : "rotate(-90deg)")};
|
|
61
|
-
transition: transform ${transition.press};
|
|
62
|
-
|
|
63
|
-
&:after {
|
|
64
|
-
font-size: 0.875rem;
|
|
65
|
-
}
|
|
56
|
+
const HeaderExpand = styled(Icon).attrs({ kind: "expand" }).withConfig({ displayName: "HeaderExpand", componentId: "sc-upz1v9" }) `
|
|
57
|
+
width: 0.875rem;
|
|
58
|
+
height: 0.875rem;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
transform: ${({ $isExpanded }) => ($isExpanded ? "" : "rotate(-90deg)")};
|
|
61
|
+
transition: transform ${transition.press};
|
|
62
|
+
|
|
63
|
+
&:after {
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
}
|
|
66
66
|
`;
|
|
67
|
-
const SearchContainer = styled(Flex).withConfig({ displayName: "SearchContainer", componentId: "sc-
|
|
68
|
-
flex: 1;
|
|
69
|
-
align-items: center;
|
|
70
|
-
gap: 0.25rem;
|
|
67
|
+
const SearchContainer = styled(Flex).withConfig({ displayName: "SearchContainer", componentId: "sc-1v8borv" }) `
|
|
68
|
+
flex: 1;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: 0.25rem;
|
|
71
71
|
`;
|
|
72
|
-
const JsonTreeContent = styled(Flex).withConfig({ displayName: "JsonTreeContent", componentId: "sc-
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 100%;
|
|
75
|
-
flex: 1;
|
|
76
|
-
overflow-y: auto;
|
|
77
|
-
overflow-x: hidden;
|
|
78
|
-
padding: 0 0.75rem;
|
|
79
|
-
min-height: 3rem;
|
|
72
|
+
const JsonTreeContent = styled(Flex).withConfig({ displayName: "JsonTreeContent", componentId: "sc-1cyxwuj" }) `
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
width: 100%;
|
|
75
|
+
flex: 1;
|
|
76
|
+
overflow-y: auto;
|
|
77
|
+
overflow-x: hidden;
|
|
78
|
+
padding: 0 0.75rem;
|
|
79
|
+
min-height: 3rem;
|
|
80
80
|
`;
|
|
81
|
-
const QueryEditButton = styled(IconButton).withConfig({ displayName: "QueryEditButton", componentId: "sc-
|
|
82
|
-
height: 1rem;
|
|
83
|
-
visibility: visible !important;
|
|
81
|
+
const QueryEditButton = styled(IconButton).withConfig({ displayName: "QueryEditButton", componentId: "sc-fwdlw7" }) `
|
|
82
|
+
height: 1rem;
|
|
83
|
+
visibility: visible !important;
|
|
84
84
|
`;
|
|
85
|
-
const QueryTree = styled(StyledDevTree).withConfig({ displayName: "QueryTree", componentId: "sc-
|
|
86
|
-
overflow-y: auto;
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
padding: 0 0.75rem;
|
|
89
|
-
|
|
90
|
-
${TreeExpand} {
|
|
91
|
-
margin-right: 0;
|
|
92
|
-
}
|
|
85
|
+
const QueryTree = styled(StyledDevTree).withConfig({ displayName: "QueryTree", componentId: "sc-pebze1" }) `
|
|
86
|
+
overflow-y: auto;
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
padding: 0 0.75rem;
|
|
89
|
+
|
|
90
|
+
${TreeExpand} {
|
|
91
|
+
margin-right: 0;
|
|
92
|
+
}
|
|
93
93
|
`;
|
|
94
|
-
const StyledTree = styled(QueryTree).withConfig({ displayName: "StyledTree", componentId: "sc-
|
|
95
|
-
padding: 0;
|
|
96
|
-
|
|
97
|
-
${TreeContent} {
|
|
98
|
-
min-width: 1px;
|
|
99
|
-
}
|
|
94
|
+
const StyledTree = styled(QueryTree).withConfig({ displayName: "StyledTree", componentId: "sc-1qiftmo" }) `
|
|
95
|
+
padding: 0;
|
|
96
|
+
|
|
97
|
+
${TreeContent} {
|
|
98
|
+
min-width: 1px;
|
|
99
|
+
}
|
|
100
100
|
`;
|
|
101
101
|
|
|
102
102
|
export { HeaderExpand, JsonTreeContainer, JsonTreeContent, JsonTreeHeader, JsonTreeHeaderActions, JsonTreeHeaderIcon, JsonTreeHeaderTitle, JsonTreeHeaderTitleText, QueryEditButton, SearchContainer, StyledTree };
|