@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,95 +1,95 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
import { DropdownField, Input, Icon, IconButtonButton } from '@evergis/uilib-gl';
|
|
3
3
|
|
|
4
|
-
const FieldWrapper = styled.div.withConfig({ displayName: "FieldWrapper", componentId: "sc-
|
|
5
|
-
display: flex;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
width: ${({ $width }) => $width};
|
|
8
|
-
position: relative;
|
|
9
|
-
margin-top: 1.25rem;
|
|
10
|
-
|
|
11
|
-
input,
|
|
12
|
-
${DropdownField} {
|
|
13
|
-
border-bottom-left-radius: 0;
|
|
14
|
-
border-top-left-radius: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
${DropdownField} {
|
|
18
|
-
height: 35px;
|
|
19
|
-
}
|
|
4
|
+
const FieldWrapper = styled.div.withConfig({ displayName: "FieldWrapper", componentId: "sc-1d6jif1" }) `
|
|
5
|
+
display: flex;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
width: ${({ $width }) => $width};
|
|
8
|
+
position: relative;
|
|
9
|
+
margin-top: 1.25rem;
|
|
10
|
+
|
|
11
|
+
input,
|
|
12
|
+
${DropdownField} {
|
|
13
|
+
border-bottom-left-radius: 0;
|
|
14
|
+
border-top-left-radius: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
${DropdownField} {
|
|
18
|
+
height: 35px;
|
|
19
|
+
}
|
|
20
20
|
`;
|
|
21
|
-
const FieldPrefix = styled.div.withConfig({ displayName: "FieldPrefix", componentId: "sc-
|
|
22
|
-
user-select: none;
|
|
23
|
-
background: ${({ theme }) => theme.palette.elementDeep};
|
|
24
|
-
border: 1px solid ${({ theme }) => theme.palette.elementDeep};
|
|
25
|
-
color: ${({ theme }) => theme.palette.icon};
|
|
26
|
-
padding: 0.34375rem 0.5rem;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
border-bottom-left-radius: 0.25rem;
|
|
29
|
-
border-top-left-radius: 0.25rem;
|
|
30
|
-
border-right: none;
|
|
21
|
+
const FieldPrefix = styled.div.withConfig({ displayName: "FieldPrefix", componentId: "sc-1z12vah" }) `
|
|
22
|
+
user-select: none;
|
|
23
|
+
background: ${({ theme }) => theme.palette.elementDeep};
|
|
24
|
+
border: 1px solid ${({ theme }) => theme.palette.elementDeep};
|
|
25
|
+
color: ${({ theme }) => theme.palette.icon};
|
|
26
|
+
padding: 0.34375rem 0.5rem;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
border-bottom-left-radius: 0.25rem;
|
|
29
|
+
border-top-left-radius: 0.25rem;
|
|
30
|
+
border-right: none;
|
|
31
31
|
`;
|
|
32
|
-
const FieldLabel = styled.div.withConfig({ displayName: "FieldLabel", componentId: "sc-
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: -1rem;
|
|
35
|
-
left: 0.5rem;
|
|
36
|
-
font-size: 0.75rem;
|
|
37
|
-
color: ${({ theme }) => theme.palette.textSecondary};
|
|
32
|
+
const FieldLabel = styled.div.withConfig({ displayName: "FieldLabel", componentId: "sc-184hfkv" }) `
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: -1rem;
|
|
35
|
+
left: 0.5rem;
|
|
36
|
+
font-size: 0.75rem;
|
|
37
|
+
color: ${({ theme }) => theme.palette.textSecondary};
|
|
38
38
|
`;
|
|
39
|
-
const PathInput = styled(Input).withConfig({ displayName: "PathInput", componentId: "sc-
|
|
40
|
-
text-overflow: ellipsis;
|
|
41
|
-
direction: rtl;
|
|
42
|
-
unicode-bidi: normal;
|
|
43
|
-
text-align: left;
|
|
39
|
+
const PathInput = styled(Input).withConfig({ displayName: "PathInput", componentId: "sc-1vf6d47" }) `
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
direction: rtl;
|
|
42
|
+
unicode-bidi: normal;
|
|
43
|
+
text-align: left;
|
|
44
44
|
`;
|
|
45
|
-
const PathIcon = styled(Icon).withConfig({ displayName: "PathIcon", componentId: "sc-
|
|
45
|
+
const PathIcon = styled(Icon).withConfig({ displayName: "PathIcon", componentId: "sc-18tow1" }) `
|
|
46
46
|
${({ $disabled }) => $disabled
|
|
47
47
|
? ""
|
|
48
|
-
: css `
|
|
49
|
-
pointer-events: all !important;
|
|
50
|
-
cursor: pointer !important;
|
|
51
|
-
`};
|
|
48
|
+
: css `
|
|
49
|
+
pointer-events: all !important;
|
|
50
|
+
cursor: pointer !important;
|
|
51
|
+
`};
|
|
52
52
|
`;
|
|
53
|
-
const TagsContainer = styled.div.withConfig({ displayName: "TagsContainer", componentId: "sc-
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 100%;
|
|
56
|
-
flex-wrap: wrap;
|
|
57
|
-
gap: 0.5rem 0.25rem;
|
|
53
|
+
const TagsContainer = styled.div.withConfig({ displayName: "TagsContainer", componentId: "sc-d3og54" }) `
|
|
54
|
+
display: flex;
|
|
55
|
+
width: 100%;
|
|
56
|
+
flex-wrap: wrap;
|
|
57
|
+
gap: 0.5rem 0.25rem;
|
|
58
58
|
`;
|
|
59
|
-
const TagChip = styled.div.withConfig({ displayName: "TagChip", componentId: "sc-
|
|
60
|
-
display: inline-flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
padding: 4px 0.5rem;
|
|
63
|
-
border-radius: 0.25rem;
|
|
64
|
-
height: 1.5rem;
|
|
65
|
-
gap: 0 0.25rem;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
pointer-events: ${({ $disabled }) => ($disabled ? "none" : "all")};
|
|
69
|
-
background: ${({ theme, $selected }) => ($selected ? "rgba(0, 170, 255, 0.06)" : theme.palette.elementDeep)};
|
|
70
|
-
color: ${({ theme, $selected, $disabled }) => $disabled ? theme.palette.textDisabled : $selected ? theme.palette.primary : theme.palette.icon};
|
|
71
|
-
font-size: 12px;
|
|
72
|
-
|
|
73
|
-
${Icon} {
|
|
74
|
-
width: 14px;
|
|
75
|
-
height: 14px;
|
|
76
|
-
font-size: 14px;
|
|
77
|
-
|
|
78
|
-
&:after {
|
|
79
|
-
color: ${({ theme, $selected, $disabled }) => $disabled ? theme.palette.textDisabled : $selected ? theme.palette.primary : theme.palette.icon};
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:hover {
|
|
85
|
-
background: ${({ theme, $selected }) => ($selected ? "rgba(0, 170, 255, 0.06)" : theme.palette.elementDeep)};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
${IconButtonButton} {
|
|
89
|
-
width: 14px;
|
|
90
|
-
height: 14px;
|
|
91
|
-
padding: 0;
|
|
92
|
-
}
|
|
59
|
+
const TagChip = styled.div.withConfig({ displayName: "TagChip", componentId: "sc-ilquxl" }) `
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
padding: 4px 0.5rem;
|
|
63
|
+
border-radius: 0.25rem;
|
|
64
|
+
height: 1.5rem;
|
|
65
|
+
gap: 0 0.25rem;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
pointer-events: ${({ $disabled }) => ($disabled ? "none" : "all")};
|
|
69
|
+
background: ${({ theme, $selected }) => ($selected ? "rgba(0, 170, 255, 0.06)" : theme.palette.elementDeep)};
|
|
70
|
+
color: ${({ theme, $selected, $disabled }) => $disabled ? theme.palette.textDisabled : $selected ? theme.palette.primary : theme.palette.icon};
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
|
|
73
|
+
${Icon} {
|
|
74
|
+
width: 14px;
|
|
75
|
+
height: 14px;
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
|
|
78
|
+
&:after {
|
|
79
|
+
color: ${({ theme, $selected, $disabled }) => $disabled ? theme.palette.textDisabled : $selected ? theme.palette.primary : theme.palette.icon};
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
background: ${({ theme, $selected }) => ($selected ? "rgba(0, 170, 255, 0.06)" : theme.palette.elementDeep)};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
${IconButtonButton} {
|
|
89
|
+
width: 14px;
|
|
90
|
+
height: 14px;
|
|
91
|
+
padding: 0;
|
|
92
|
+
}
|
|
93
93
|
`;
|
|
94
94
|
|
|
95
95
|
export { FieldLabel, FieldPrefix, FieldWrapper, PathIcon, PathInput, TagChip, TagsContainer };
|
|
@@ -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-1p23zn6" }) `
|
|
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-qfilsy" }) `
|
|
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-my3ycx" }) `
|
|
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-1njplyo" }) `
|
|
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-1n343kh" }) `
|
|
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-1b1h7ah" }) `
|
|
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-1gpc5oa" }) `
|
|
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-1h3hjax" }) `
|
|
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-qbwr1c" }) `
|
|
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-qrmx2x" }) `
|
|
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-ekutu8" }) `
|
|
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-q96wyz" }) `
|
|
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-d3ongf" }) `
|
|
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-yq1rut" }) `
|
|
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-1owpx1p" }) `
|
|
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-b0eklp" }) `
|
|
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-6ivum5" }) `
|
|
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 };
|