@cloudtower/eagle 4110.0.3 → 4110.0.4
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/dist/cjs/core/AccordionCard/index.js +1 -1
- package/dist/cjs/core/Alert/alert.style.js +2 -2
- package/dist/cjs/core/Antd5Tree/Antd5Tree.style.js +1 -1
- package/dist/cjs/core/Avatar/index.js +1 -1
- package/dist/cjs/core/Banner/banner.style.js +5 -5
- package/dist/cjs/core/BasicCTError/BasicCTError.style.js +1 -1
- package/dist/cjs/core/BlankState/style.js +1 -1
- package/dist/cjs/core/Breadcrumb/index.js +1 -1
- package/dist/cjs/core/Button/index.js +1 -1
- package/dist/cjs/core/ButtonGroup/index.js +2 -2
- package/dist/cjs/core/Card/CardBody.js +1 -1
- package/dist/cjs/core/Card/CardTitle.js +1 -1
- package/dist/cjs/core/Card/CardWrapper.js +2 -2
- package/dist/cjs/core/Cascader/cascader.style.js +11 -11
- package/dist/cjs/core/Checkbox/checkbox.style.js +1 -1
- package/dist/cjs/core/ConfigProvider/index.js +22 -4
- package/dist/cjs/core/DetailCard/index.js +1 -1
- package/dist/cjs/core/DonutChart/index.js +2 -2
- package/dist/cjs/core/DropdownMenu/index.js +1 -1
- package/dist/cjs/core/ExpandableList/ExpandIcon.js +1 -1
- package/dist/cjs/core/ExpandableList/ExpandableContainer.js +1 -1
- package/dist/cjs/core/ExpandableList/ExpandableItem.js +2 -2
- package/dist/cjs/core/ExpandableList/RoundOrder.js +1 -1
- package/dist/cjs/core/FailedLoad/index.js +1 -1
- package/dist/cjs/core/FormItem/index.js +3 -3
- package/dist/cjs/core/Icon/index.js +1 -1
- package/dist/cjs/core/ImmersiveDialog/styles.js +15 -15
- package/dist/cjs/core/Input/index.js +1 -1
- package/dist/cjs/core/InputGroup/index.js +1 -1
- package/dist/cjs/core/InputInteger/index.js +1 -1
- package/dist/cjs/core/InputNumber/index.js +1 -1
- package/dist/cjs/core/InputPassword/index.js +1 -1
- package/dist/cjs/core/InputTagItem/index.js +1 -1
- package/dist/cjs/core/LegacySelect/select.style.js +1 -1
- package/dist/cjs/core/Legend/index.js +5 -5
- package/dist/cjs/core/LineChart/LineChartActions.js +2 -2
- package/dist/cjs/core/LineChart/RenderChart.js +5 -2
- package/dist/cjs/core/LineChart/ThresholdIntersectionLayer.js +2 -1
- package/dist/cjs/core/LineChart/TooltipFormatter.js +1 -1
- package/dist/cjs/core/LineChart/styled.js +11 -11
- package/dist/cjs/core/Link/index.js +1 -1
- package/dist/cjs/core/Loading/style.js +4 -4
- package/dist/cjs/core/LocalUpload/LocalUpload.style.js +2 -2
- package/dist/cjs/core/LogView/LogView.js +40 -35
- package/dist/cjs/core/LogView/LogView.style.js +6 -6
- package/dist/cjs/core/LogView/LogView.theme.js +22 -0
- package/dist/cjs/core/MediumDialog/MediumDialog.js +1 -1
- package/dist/cjs/core/Metric/RenderChart.js +5 -2
- package/dist/cjs/core/Metric/styled.js +8 -8
- package/dist/cjs/core/Nav/index.js +1 -1
- package/dist/cjs/core/Nav/style.js +2 -2
- package/dist/cjs/core/Overflow/index.js +2 -2
- package/dist/cjs/core/Pagination/index.js +2 -2
- package/dist/cjs/core/Progress/components.js +2 -2
- package/dist/cjs/core/Progress/index.js +2 -2
- package/dist/cjs/core/Progress/progress.style.js +4 -4
- package/dist/cjs/core/Progress/progress.widgets.js +2 -2
- package/dist/cjs/core/Radio/index.js +3 -3
- package/dist/cjs/core/SearchInput/SearchInput.style.js +5 -5
- package/dist/cjs/core/SegmentControl/index.js +4 -4
- package/dist/cjs/core/Select/select.style.js +4 -4
- package/dist/cjs/core/Select/select.widgets.js +3 -3
- package/dist/cjs/core/SimplePagination/index.js +2 -2
- package/dist/cjs/core/Skeleton/Content.js +1 -1
- package/dist/cjs/core/SmallDialog/SmallDialog.style.js +7 -7
- package/dist/cjs/core/StatusCapsule/index.js +2 -2
- package/dist/cjs/core/StepProgress/index.js +8 -7
- package/dist/cjs/core/Steps/style.js +5 -5
- package/dist/cjs/core/Styled/index.js +40 -40
- package/dist/cjs/core/Switch/index.js +2 -2
- package/dist/cjs/core/Tab/Tab.js +1 -1
- package/dist/cjs/core/Tab/Tab.style.js +4 -4
- package/dist/cjs/core/Table/TableSkeleton.js +1 -1
- package/dist/cjs/core/Table/TableWidget.js +1 -1
- package/dist/cjs/core/Table/index.js +3 -3
- package/dist/cjs/core/TableForm/Columns/FormItem.js +3 -3
- package/dist/cjs/core/TableForm/TableFormHeaderCell.js +1 -1
- package/dist/cjs/core/TableForm/style.js +7 -7
- package/dist/cjs/core/Tag/SplitTag.js +1 -1
- package/dist/cjs/core/Tag/style.js +5 -5
- package/dist/cjs/core/Time/index.js +1 -1
- package/dist/cjs/core/TimeZoneSelect/index.js +7 -7
- package/dist/cjs/core/Timeline/Timeline.style.js +5 -5
- package/dist/cjs/core/Timeline/Timeline.widget.js +1 -1
- package/dist/cjs/core/Token/index.js +4 -4
- package/dist/cjs/core/Token/style.js +1 -1
- package/dist/cjs/core/Tooltip/EllipsisTooltipContent.js +1 -1
- package/dist/cjs/core/Tooltip/index.js +1 -1
- package/dist/cjs/core/Truncate/index.js +1 -1
- package/dist/cjs/core/Typo/index.js +58 -58
- package/dist/cjs/core/WizardDialog/styles.js +4 -4
- package/dist/cjs/coreX/BarChart/index.js +1 -1
- package/dist/cjs/coreX/BatchOperation/index.js +2 -2
- package/dist/cjs/coreX/ChartWithTooltip/index.js +6 -6
- package/dist/cjs/coreX/CheckPointList/checkpointlist.style.js +3 -3
- package/dist/cjs/coreX/CircleLoading/index.js +1 -1
- package/dist/cjs/coreX/CronCalendar/index.js +4 -4
- package/dist/cjs/coreX/CronPlan/index.js +4 -4
- package/dist/cjs/coreX/DateRangePicker/DateRangePicker.style.js +12 -12
- package/dist/cjs/coreX/DateRangePicker/RelativeTime.js +1 -1
- package/dist/cjs/coreX/DateRangePicker/common.js +1 -2
- package/dist/cjs/coreX/Dialogs/DeleteDialog/DeleteDialog.js +2 -2
- package/dist/cjs/coreX/Dialogs/RejectDialog/RejectDialog.js +6 -6
- package/dist/cjs/coreX/GoBackButton/index.js +1 -1
- package/dist/cjs/coreX/I18nNameTag/index.js +1 -1
- package/dist/cjs/coreX/InfoRowList/InfoRow.js +1 -1
- package/dist/cjs/coreX/InfoRowList/InfoRowList.js +4 -4
- package/dist/cjs/coreX/KubeConfigModal/KubeConfigModal.style.js +8 -8
- package/dist/cjs/coreX/NamesTooltip/index.js +3 -3
- package/dist/cjs/coreX/OverflowTooltip/index.js +4 -4
- package/dist/cjs/coreX/Sider/index.js +3 -3
- package/dist/cjs/coreX/SummaryTable/index.js +5 -5
- package/dist/cjs/coreX/SwitchWithText/index.js +1 -1
- package/dist/cjs/coreX/TabMenu/index.js +2 -2
- package/dist/cjs/coreX/UnderlineTootip/index.js +4 -3
- package/dist/cjs/coreX/UnitWithChart/index.js +6 -5
- package/dist/cjs/hooks/useUIKitTheme.js +12 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/cjs/styles/token/antd.js +26 -0
- package/dist/cjs/styles/token/color.js +263 -263
- package/dist/cjs/styles/token/effect.js +43 -0
- package/dist/cjs/styles/token/resolveColorValue.js +18 -0
- package/dist/components.css +5007 -5066
- package/dist/esm/core/AccordionCard/index.js +1 -1
- package/dist/esm/core/Alert/alert.style.js +2 -2
- package/dist/esm/core/Antd5Tree/Antd5Tree.style.js +1 -1
- package/dist/esm/core/Avatar/index.js +1 -1
- package/dist/esm/core/Banner/banner.style.js +5 -5
- package/dist/esm/core/BasicCTError/BasicCTError.style.js +1 -1
- package/dist/esm/core/BlankState/style.js +1 -1
- package/dist/esm/core/Breadcrumb/index.js +1 -1
- package/dist/esm/core/Button/index.js +1 -1
- package/dist/esm/core/ButtonGroup/index.js +2 -2
- package/dist/esm/core/Card/CardBody.js +1 -1
- package/dist/esm/core/Card/CardTitle.js +1 -1
- package/dist/esm/core/Card/CardWrapper.js +2 -2
- package/dist/esm/core/Cascader/cascader.style.js +11 -11
- package/dist/esm/core/Checkbox/checkbox.style.js +1 -1
- package/dist/esm/core/ConfigProvider/index.js +23 -6
- package/dist/esm/core/DetailCard/index.js +1 -1
- package/dist/esm/core/DonutChart/index.js +2 -2
- package/dist/esm/core/DropdownMenu/index.js +1 -1
- package/dist/esm/core/ExpandableList/ExpandIcon.js +1 -1
- package/dist/esm/core/ExpandableList/ExpandableContainer.js +1 -1
- package/dist/esm/core/ExpandableList/ExpandableItem.js +2 -2
- package/dist/esm/core/ExpandableList/RoundOrder.js +1 -1
- package/dist/esm/core/FailedLoad/index.js +1 -1
- package/dist/esm/core/Form/index.js +2 -2
- package/dist/esm/core/FormItem/index.js +3 -3
- package/dist/esm/core/Icon/index.js +1 -1
- package/dist/esm/core/ImmersiveDialog/styles.js +15 -15
- package/dist/esm/core/Input/index.js +1 -1
- package/dist/esm/core/InputGroup/index.js +1 -1
- package/dist/esm/core/InputInteger/index.js +1 -1
- package/dist/esm/core/InputNumber/index.js +1 -1
- package/dist/esm/core/InputPassword/index.js +1 -1
- package/dist/esm/core/InputTagItem/index.js +1 -1
- package/dist/esm/core/LegacySelect/select.style.js +1 -1
- package/dist/esm/core/Legend/index.js +5 -5
- package/dist/esm/core/LineChart/LineChartActions.js +2 -2
- package/dist/esm/core/LineChart/RenderChart.js +5 -2
- package/dist/esm/core/LineChart/ThresholdIntersectionLayer.js +2 -1
- package/dist/esm/core/LineChart/TooltipFormatter.js +1 -1
- package/dist/esm/core/LineChart/styled.js +11 -11
- package/dist/esm/core/Link/index.js +1 -1
- package/dist/esm/core/Loading/style.js +4 -4
- package/dist/esm/core/LocalUpload/LocalUpload.style.js +2 -2
- package/dist/esm/core/LogView/LogView.js +37 -32
- package/dist/esm/core/LogView/LogView.style.js +6 -6
- package/dist/esm/core/LogView/LogView.theme.js +19 -0
- package/dist/esm/core/MediumDialog/MediumDialog.js +1 -1
- package/dist/esm/core/Metric/RenderChart.js +5 -2
- package/dist/esm/core/Metric/styled.js +8 -8
- package/dist/esm/core/Nav/index.js +1 -1
- package/dist/esm/core/Nav/style.js +2 -2
- package/dist/esm/core/Overflow/index.js +2 -2
- package/dist/esm/core/Pagination/index.js +2 -2
- package/dist/esm/core/Progress/components.js +2 -2
- package/dist/esm/core/Progress/index.js +2 -2
- package/dist/esm/core/Progress/progress.style.js +4 -4
- package/dist/esm/core/Progress/progress.widgets.js +2 -2
- package/dist/esm/core/Radio/index.js +3 -3
- package/dist/esm/core/SearchInput/SearchInput.style.js +5 -5
- package/dist/esm/core/SegmentControl/index.js +4 -4
- package/dist/esm/core/Select/select.style.js +4 -4
- package/dist/esm/core/Select/select.widgets.js +3 -3
- package/dist/esm/core/SimplePagination/index.js +2 -2
- package/dist/esm/core/Skeleton/Content.js +1 -1
- package/dist/esm/core/SmallDialog/SmallDialog.style.js +7 -7
- package/dist/esm/core/StatusCapsule/index.js +2 -2
- package/dist/esm/core/StepProgress/index.js +4 -3
- package/dist/esm/core/Steps/style.js +5 -5
- package/dist/esm/core/Styled/index.js +40 -40
- package/dist/esm/core/Switch/index.js +2 -2
- package/dist/esm/core/Tab/Tab.js +1 -1
- package/dist/esm/core/Tab/Tab.style.js +4 -4
- package/dist/esm/core/Table/TableSkeleton.js +1 -1
- package/dist/esm/core/Table/TableWidget.js +1 -1
- package/dist/esm/core/Table/index.js +3 -3
- package/dist/esm/core/TableForm/Columns/FormItem.js +3 -3
- package/dist/esm/core/TableForm/TableFormHeaderCell.js +1 -1
- package/dist/esm/core/TableForm/style.js +7 -7
- package/dist/esm/core/Tag/SplitTag.js +1 -1
- package/dist/esm/core/Tag/style.js +5 -5
- package/dist/esm/core/Time/index.js +1 -1
- package/dist/esm/core/TimeZoneSelect/index.js +7 -7
- package/dist/esm/core/Timeline/Timeline.style.js +5 -5
- package/dist/esm/core/Timeline/Timeline.widget.js +1 -1
- package/dist/esm/core/Token/index.js +4 -4
- package/dist/esm/core/Token/style.js +1 -1
- package/dist/esm/core/Tooltip/EllipsisTooltipContent.js +1 -1
- package/dist/esm/core/Tooltip/index.js +1 -1
- package/dist/esm/core/Truncate/index.js +1 -1
- package/dist/esm/core/Typo/index.js +58 -58
- package/dist/esm/core/WizardDialog/styles.js +4 -4
- package/dist/esm/coreX/BarChart/index.js +1 -1
- package/dist/esm/coreX/BatchOperation/index.js +2 -2
- package/dist/esm/coreX/ChartWithTooltip/index.js +6 -6
- package/dist/esm/coreX/CheckPointList/checkpointlist.style.js +3 -3
- package/dist/esm/coreX/CircleLoading/index.js +1 -1
- package/dist/esm/coreX/CronCalendar/index.js +4 -4
- package/dist/esm/coreX/CronPlan/index.js +4 -4
- package/dist/esm/coreX/DateRangePicker/DateRangePicker.style.js +12 -12
- package/dist/esm/coreX/DateRangePicker/RelativeTime.js +1 -1
- package/dist/esm/coreX/DateRangePicker/common.js +1 -2
- package/dist/esm/coreX/Dialogs/DeleteDialog/DeleteDialog.js +2 -2
- package/dist/esm/coreX/Dialogs/RejectDialog/RejectDialog.js +6 -6
- package/dist/esm/coreX/GoBackButton/index.js +1 -1
- package/dist/esm/coreX/I18nNameTag/index.js +1 -1
- package/dist/esm/coreX/InfoRowList/InfoRow.js +1 -1
- package/dist/esm/coreX/InfoRowList/InfoRowList.js +4 -4
- package/dist/esm/coreX/KubeConfigModal/KubeConfigModal.style.js +8 -8
- package/dist/esm/coreX/NamesTooltip/index.js +3 -3
- package/dist/esm/coreX/OverflowTooltip/index.js +4 -4
- package/dist/esm/coreX/Sider/index.js +3 -3
- package/dist/esm/coreX/SummaryTable/index.js +5 -5
- package/dist/esm/coreX/SwitchWithText/index.js +1 -1
- package/dist/esm/coreX/TabMenu/index.js +2 -2
- package/dist/esm/coreX/UnderlineTootip/index.js +3 -2
- package/dist/esm/coreX/UnitWithChart/index.js +5 -4
- package/dist/esm/hooks/useUIKitTheme.js +10 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/esm/styles/token/antd.js +24 -0
- package/dist/esm/styles/token/color.js +263 -263
- package/dist/esm/styles/token/effect.js +41 -0
- package/dist/esm/styles/token/resolveColorValue.js +16 -0
- package/dist/src/core/Checkbox/checkbox.style.d.ts +1 -1
- package/dist/src/core/ConfigProvider/index.d.ts +4 -0
- package/dist/src/core/DonutChart/index.d.ts +1 -1
- package/dist/src/core/LogView/LogView.theme.d.ts +14 -0
- package/dist/src/core/Progress/progress.const.d.ts +4 -4
- package/dist/src/core/TableForm/const.d.ts +6 -6
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useUIKitTheme.d.ts +7 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/styles/token/antd.d.ts +22 -0
- package/dist/src/styles/token/color.d.ts +230 -230
- package/dist/src/styles/token/effect.d.ts +39 -0
- package/dist/src/styles/token/index.d.ts +1 -0
- package/dist/src/styles/token/resolveColorValue.d.ts +2 -0
- package/dist/stories/docs/ComputedStyle.stories.d.ts +6 -0
- package/dist/stories/docs/ComputedStyleComponents.stories.d.ts +11 -0
- package/dist/stories/docs/color/effect.stories.d.ts +6 -0
- package/dist/style.css +4697 -4754
- package/dist/token.css +23 -1
- package/docs/llms.txt +1 -1
- package/docs/theme-color-gaps.md +140 -0
- package/docs/theme-tokens.md +256 -0
- package/docs/theme.md +66 -0
- package/package.json +22 -4
- package/dist/linaria.merged.scss +0 -9015
- package/dist/variables.scss +0 -783
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const LoadingWrapper = "
|
|
4
|
-
const LoadingLine1 = "
|
|
5
|
-
const LoadingLine2 = "
|
|
6
|
-
const LoadingLine3 = "
|
|
3
|
+
const LoadingWrapper = "E_4110_0_4_lht19u8";
|
|
4
|
+
const LoadingLine1 = "E_4110_0_4_lk3gkp4";
|
|
5
|
+
const LoadingLine2 = "E_4110_0_4_ll4n94n";
|
|
6
|
+
const LoadingLine3 = "E_4110_0_4_l17lbdo6";
|
|
7
7
|
|
|
8
8
|
exports.LoadingLine1 = LoadingLine1;
|
|
9
9
|
exports.LoadingLine2 = LoadingLine2;
|
|
@@ -4,10 +4,10 @@ var react = require('@linaria/react');
|
|
|
4
4
|
|
|
5
5
|
const UploadWrapper = /*#__PURE__*/react.styled('div')({
|
|
6
6
|
name: "UploadWrapper",
|
|
7
|
-
class: "
|
|
7
|
+
class: "E_4110_0_4_u3l9ivi",
|
|
8
8
|
propsAsIs: false
|
|
9
9
|
});
|
|
10
|
-
const FileInfoWrapperStyle = "
|
|
10
|
+
const FileInfoWrapperStyle = "E_4110_0_4_ftdwz1g";
|
|
11
11
|
|
|
12
12
|
exports.FileInfoWrapperStyle = FileInfoWrapperStyle;
|
|
13
13
|
exports.UploadWrapper = UploadWrapper;
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var iconsReact = require('@cloudtower/icons-react');
|
|
4
4
|
var core = require('@linaria/core');
|
|
5
|
-
var index
|
|
5
|
+
var index = require('../ConfigProvider/index.js');
|
|
6
|
+
var index$2 = require('../Icon/index.js');
|
|
6
7
|
var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var LogView_style = require('./LogView.style.js');
|
|
10
|
+
var LogView_theme = require('./LogView.theme.js');
|
|
9
11
|
var LogView_utils = require('./LogView.utils.js');
|
|
10
12
|
var LogView_xtermLoader = require('./LogView.xtermLoader.js');
|
|
11
|
-
var
|
|
12
|
-
var index = require('../../coreX/Show/index.js');
|
|
13
|
+
var index$1 = require('../../coreX/Show/index.js');
|
|
13
14
|
var SearchInput = require('../SearchInput/SearchInput.js');
|
|
14
15
|
|
|
15
16
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -145,6 +146,8 @@ const LogView = ({
|
|
|
145
146
|
searchInputProps
|
|
146
147
|
}) => {
|
|
147
148
|
const { t } = useParrotTranslation();
|
|
149
|
+
const theme = index.useEagleTheme();
|
|
150
|
+
const lastSearch = React.useRef("");
|
|
148
151
|
const terminalContainerRef = React.useRef(null);
|
|
149
152
|
const terminalRef = React.useRef({ enableKeyboardShortcuts });
|
|
150
153
|
terminalRef.current.enableKeyboardShortcuts = enableKeyboardShortcuts;
|
|
@@ -153,6 +156,20 @@ const LogView = ({
|
|
|
153
156
|
const [searchCount, setSearchCount] = React.useState(0);
|
|
154
157
|
const [current, setCurrent] = React.useState(1);
|
|
155
158
|
const [eventSourceError, setEventSourceError] = React.useState(null);
|
|
159
|
+
React.useEffect(() => {
|
|
160
|
+
var _a, _b, _c, _d;
|
|
161
|
+
if (!readyTerminal)
|
|
162
|
+
return;
|
|
163
|
+
readyTerminal.options.theme = LogView_theme.getLogViewTheme((_a = terminalContainerRef.current) != null ? _a : void 0);
|
|
164
|
+
if (lastSearch.current) {
|
|
165
|
+
const viewport = readyTerminal.buffer.active.viewportY;
|
|
166
|
+
(_b = terminalRef.current.searchAddon) == null ? void 0 : _b.clearDecorations();
|
|
167
|
+
(_d = terminalRef.current.searchAddon) == null ? void 0 : _d.findNext(lastSearch.current, __spreadProps(__spreadValues({}, LogView_theme.getLogViewSearchOptions((_c = terminalContainerRef.current) != null ? _c : void 0)), {
|
|
168
|
+
incremental: true
|
|
169
|
+
}));
|
|
170
|
+
readyTerminal.scrollToLine(viewport);
|
|
171
|
+
}
|
|
172
|
+
}, [readyTerminal, theme]);
|
|
156
173
|
React.useEffect(() => {
|
|
157
174
|
if (!terminalContainerRef.current)
|
|
158
175
|
return;
|
|
@@ -160,7 +177,7 @@ const LogView = ({
|
|
|
160
177
|
let terminal = null;
|
|
161
178
|
setReadyTerminal(null);
|
|
162
179
|
const initializeTerminal = async () => {
|
|
163
|
-
var _a;
|
|
180
|
+
var _a, _b;
|
|
164
181
|
try {
|
|
165
182
|
const { Terminal, SearchAddon, FitAddon } = await loadXtermModules();
|
|
166
183
|
if (disposed || !terminalContainerRef.current)
|
|
@@ -170,11 +187,7 @@ const LogView = ({
|
|
|
170
187
|
fontSize: 12,
|
|
171
188
|
scrollOnUserInput: false,
|
|
172
189
|
lineHeight: 1.5,
|
|
173
|
-
theme:
|
|
174
|
-
background: "#00122E",
|
|
175
|
-
foreground: "#FFFFFF",
|
|
176
|
-
cursor: "#FFFFFF"
|
|
177
|
-
},
|
|
190
|
+
theme: LogView_theme.getLogViewTheme((_a = terminalContainerRef.current) != null ? _a : void 0),
|
|
178
191
|
rows,
|
|
179
192
|
convertEol: true,
|
|
180
193
|
cursorBlink: false,
|
|
@@ -232,7 +245,7 @@ const LogView = ({
|
|
|
232
245
|
} else {
|
|
233
246
|
setHasData(false);
|
|
234
247
|
}
|
|
235
|
-
(
|
|
248
|
+
(_b = terminalRef.current.searchAddon) == null ? void 0 : _b.onDidChangeResults(
|
|
236
249
|
({ resultCount, resultIndex }) => {
|
|
237
250
|
setSearchCount(resultCount);
|
|
238
251
|
setCurrent(resultIndex + 1);
|
|
@@ -300,29 +313,21 @@ const LogView = ({
|
|
|
300
313
|
setHasData(false);
|
|
301
314
|
}
|
|
302
315
|
}, [readyTerminal, content, eventSource]);
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
searchPrevious: (search) => {
|
|
319
|
-
var _a, _b;
|
|
320
|
-
(_b = (_a = terminalRef.current) == null ? void 0 : _a.searchAddon) == null ? void 0 : _b.findPrevious(
|
|
321
|
-
search || "",
|
|
322
|
-
searchOptions
|
|
323
|
-
);
|
|
324
|
-
}
|
|
325
|
-
};
|
|
316
|
+
const searchNext = React.useCallback((search) => {
|
|
317
|
+
var _a, _b, _c;
|
|
318
|
+
lastSearch.current = search || "";
|
|
319
|
+
(_c = (_a = terminalRef.current) == null ? void 0 : _a.searchAddon) == null ? void 0 : _c.findNext(
|
|
320
|
+
lastSearch.current,
|
|
321
|
+
LogView_theme.getLogViewSearchOptions((_b = terminalContainerRef.current) != null ? _b : void 0)
|
|
322
|
+
);
|
|
323
|
+
}, []);
|
|
324
|
+
const searchPrevious = React.useCallback((search) => {
|
|
325
|
+
var _a, _b, _c;
|
|
326
|
+
lastSearch.current = search || "";
|
|
327
|
+
(_c = (_a = terminalRef.current) == null ? void 0 : _a.searchAddon) == null ? void 0 : _c.findPrevious(
|
|
328
|
+
lastSearch.current,
|
|
329
|
+
LogView_theme.getLogViewSearchOptions((_b = terminalContainerRef.current) != null ? _b : void 0)
|
|
330
|
+
);
|
|
326
331
|
}, []);
|
|
327
332
|
const { reconnectFnRef: eventSourceReconnectFnRef } = useLogViewEventSource({
|
|
328
333
|
enabled: eventSource,
|
|
@@ -353,7 +358,7 @@ const LogView = ({
|
|
|
353
358
|
"aria-busy": loading,
|
|
354
359
|
"aria-hidden": loading || void 0
|
|
355
360
|
}, loading ? { inert: "" } : {}),
|
|
356
|
-
/* @__PURE__ */ React__default.default.createElement(index.Show, { condition: showSearch }, /* @__PURE__ */ React__default.default.createElement(
|
|
361
|
+
/* @__PURE__ */ React__default.default.createElement(index$1.Show, { condition: showSearch }, /* @__PURE__ */ React__default.default.createElement(
|
|
357
362
|
SearchInput.SearchInput,
|
|
358
363
|
__spreadProps(__spreadValues({
|
|
359
364
|
type: "text",
|
|
@@ -379,7 +384,7 @@ const LogView = ({
|
|
|
379
384
|
)),
|
|
380
385
|
/* @__PURE__ */ React__default.default.createElement(LogView_style.LogTerminal, { className: "log-terminal", ref: terminalContainerRef }, renderCustomContent())
|
|
381
386
|
), loading && /* @__PURE__ */ React__default.default.createElement("div", { className: LogView_style.LoadingOverlayStyle, role: "status", "aria-live": "polite" }, /* @__PURE__ */ React__default.default.createElement(
|
|
382
|
-
index$
|
|
387
|
+
index$2,
|
|
383
388
|
{
|
|
384
389
|
src: iconsReact.Loading24OntintIcon,
|
|
385
390
|
iconWidth: 24,
|
|
@@ -6,26 +6,26 @@ var index = require('../Typo/index.js');
|
|
|
6
6
|
|
|
7
7
|
const LogViewContainer = /*#__PURE__*/react.styled('div')({
|
|
8
8
|
name: "LogViewContainer",
|
|
9
|
-
class: "
|
|
9
|
+
class: "E_4110_0_4_l1v1luhz",
|
|
10
10
|
propsAsIs: false
|
|
11
11
|
});
|
|
12
12
|
const LogViewInnerContaier = /*#__PURE__*/react.styled('div')({
|
|
13
13
|
name: "LogViewInnerContaier",
|
|
14
|
-
class: "
|
|
14
|
+
class: "E_4110_0_4_lranxiw",
|
|
15
15
|
propsAsIs: false
|
|
16
16
|
});
|
|
17
17
|
const LogTerminal = /*#__PURE__*/react.styled('div')({
|
|
18
18
|
name: "LogTerminal",
|
|
19
|
-
class: "
|
|
19
|
+
class: "E_4110_0_4_l1y3zqy5",
|
|
20
20
|
propsAsIs: false
|
|
21
21
|
});
|
|
22
22
|
const CustomContentOverlay = /*#__PURE__*/react.styled('div')({
|
|
23
23
|
name: "CustomContentOverlay",
|
|
24
|
-
class: "
|
|
24
|
+
class: "E_4110_0_4_c1x4mn5u",
|
|
25
25
|
propsAsIs: false
|
|
26
26
|
});
|
|
27
|
-
const SearchInputStyle = "
|
|
28
|
-
const LoadingOverlayStyle = core.cx(index.Typo.Label.l2_medium, "
|
|
27
|
+
const SearchInputStyle = "E_4110_0_4_s4pilip";
|
|
28
|
+
const LoadingOverlayStyle = core.cx(index.Typo.Label.l2_medium, "E_4110_0_4_llgkmll");
|
|
29
29
|
|
|
30
30
|
exports.CustomContentOverlay = CustomContentOverlay;
|
|
31
31
|
exports.LoadingOverlayStyle = LoadingOverlayStyle;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var color = require('../../styles/token/color.js');
|
|
4
|
+
var resolveColorValue = require('../../styles/token/resolveColorValue.js');
|
|
5
|
+
|
|
6
|
+
const getLogViewTheme = (element) => ({
|
|
7
|
+
background: resolveColorValue.resolveColorValue(color.Color.gray["gray-120"], element),
|
|
8
|
+
foreground: resolveColorValue.resolveColorValue(color.Color.text.neutral.ontint, element),
|
|
9
|
+
cursor: resolveColorValue.resolveColorValue(color.Color.text.neutral.ontint, element)
|
|
10
|
+
});
|
|
11
|
+
const getLogViewSearchOptions = (element) => ({
|
|
12
|
+
caseSensitive: false,
|
|
13
|
+
decorations: {
|
|
14
|
+
activeMatchColorOverviewRuler: "#000000",
|
|
15
|
+
matchOverviewRuler: "#000000",
|
|
16
|
+
activeMatchBackground: resolveColorValue.resolveColorValue(color.Color.chart.yellow["yellow-5"], element),
|
|
17
|
+
matchBackground: resolveColorValue.resolveColorValue(color.Color.chart.yellow["yellow-1"], element)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
exports.getLogViewSearchOptions = getLogViewSearchOptions;
|
|
22
|
+
exports.getLogViewTheme = getLogViewTheme;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var color = require('../../styles/token/color.js');
|
|
3
4
|
var index = require('../KitStoreProvider/index.js');
|
|
4
5
|
var metric = require('./metric.js');
|
|
5
6
|
var MetricActions = require('./MetricActions.js');
|
|
@@ -133,7 +134,9 @@ const RenderChart = (props) => {
|
|
|
133
134
|
), (actionsProps == null ? void 0 : actionsProps.show) && /* @__PURE__ */ React__default.default.createElement(MetricActions, __spreadValues({ dropdown }, actionsProps))), /* @__PURE__ */ React__default.default.createElement(recharts.ResponsiveContainer, { height }, /* @__PURE__ */ React__default.default.createElement(
|
|
134
135
|
recharts.AreaChart,
|
|
135
136
|
{
|
|
136
|
-
style: {
|
|
137
|
+
style: {
|
|
138
|
+
backgroundColor: color.Color.text.neutral.ontint
|
|
139
|
+
},
|
|
137
140
|
margin: showLegend ? { top: 10, left: 10, right: 10, bottom: 0 } : { top: 20, left: 10, right: 10, bottom: 5 },
|
|
138
141
|
data: areaChartData,
|
|
139
142
|
syncId,
|
|
@@ -191,7 +194,7 @@ const RenderChart = (props) => {
|
|
|
191
194
|
stroke: item.legend.color,
|
|
192
195
|
r: 4,
|
|
193
196
|
strokeWidth: 2,
|
|
194
|
-
fill:
|
|
197
|
+
fill: color.Color.text.neutral.ontint
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
200
|
);
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
var react = require('@linaria/react');
|
|
4
4
|
|
|
5
|
-
const MetricLegendTabStyle = "
|
|
6
|
-
const LegendStyle = "
|
|
7
|
-
const LegendItemStyle = "
|
|
8
|
-
const ColorBlockStyle = "
|
|
9
|
-
const ExtraResource = "
|
|
5
|
+
const MetricLegendTabStyle = "E_4110_0_4_mp64wfi";
|
|
6
|
+
const LegendStyle = "E_4110_0_4_l1oyigan";
|
|
7
|
+
const LegendItemStyle = "E_4110_0_4_l1noi4n1";
|
|
8
|
+
const ColorBlockStyle = "E_4110_0_4_cz19rz6";
|
|
9
|
+
const ExtraResource = "E_4110_0_4_e17r5r9c";
|
|
10
10
|
const MetricWrapper = /*#__PURE__*/react.styled('div')({
|
|
11
11
|
name: "MetricWrapper",
|
|
12
|
-
class: "
|
|
12
|
+
class: "E_4110_0_4_m1y1hhnr",
|
|
13
13
|
propsAsIs: false
|
|
14
14
|
});
|
|
15
15
|
const TooltipWrapper = /*#__PURE__*/react.styled('div')({
|
|
16
16
|
name: "TooltipWrapper",
|
|
17
|
-
class: "
|
|
17
|
+
class: "E_4110_0_4_tnvijvs",
|
|
18
18
|
propsAsIs: false
|
|
19
19
|
});
|
|
20
20
|
const TooltipColumn = /*#__PURE__*/react.styled('div')({
|
|
21
21
|
name: "TooltipColumn",
|
|
22
|
-
class: "
|
|
22
|
+
class: "E_4110_0_4_t1ub2aex",
|
|
23
23
|
propsAsIs: false
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -10,7 +10,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
12
|
|
|
13
|
-
const MinWidth = "
|
|
13
|
+
const MinWidth = "E_4110_0_4_m196gn1d";
|
|
14
14
|
const Nav = ({
|
|
15
15
|
left,
|
|
16
16
|
right,
|
|
@@ -4,10 +4,10 @@ var react = require('@linaria/react');
|
|
|
4
4
|
|
|
5
5
|
const Header = /*#__PURE__*/react.styled('header')({
|
|
6
6
|
name: "Header",
|
|
7
|
-
class: "
|
|
7
|
+
class: "E_4110_0_4_h12yihis",
|
|
8
8
|
propsAsIs: false
|
|
9
9
|
});
|
|
10
|
-
const NavCenterStyle = "
|
|
10
|
+
const NavCenterStyle = "E_4110_0_4_ncaepor";
|
|
11
11
|
|
|
12
12
|
exports.Header = Header;
|
|
13
13
|
exports.NavCenterStyle = NavCenterStyle;
|
|
@@ -11,8 +11,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
11
11
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
13
13
|
|
|
14
|
-
const OverflowWrapper = "
|
|
15
|
-
const HiddenStyle = "
|
|
14
|
+
const OverflowWrapper = "E_4110_0_4_owd0kml";
|
|
15
|
+
const HiddenStyle = "E_4110_0_4_h1jsgezc";
|
|
16
16
|
const Overflow = props => {
|
|
17
17
|
const {
|
|
18
18
|
children,
|
|
@@ -15,8 +15,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
15
15
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
17
17
|
|
|
18
|
-
const PaginationStyle = "
|
|
19
|
-
const DropdownOverlayStyle = "
|
|
18
|
+
const PaginationStyle = "E_4110_0_4_phljevk";
|
|
19
|
+
const DropdownOverlayStyle = "E_4110_0_4_d12rtyeg";
|
|
20
20
|
const Pagination = props => {
|
|
21
21
|
const {
|
|
22
22
|
current,
|
|
@@ -49,7 +49,7 @@ const _exp = /*#__PURE__*/() => ({
|
|
|
49
49
|
}) => color || "";
|
|
50
50
|
const IconFieldText = /*#__PURE__*/react.styled('div')({
|
|
51
51
|
name: "IconFieldText",
|
|
52
|
-
class: "
|
|
52
|
+
class: "E_4110_0_4_i14c7jc8",
|
|
53
53
|
propsAsIs: false,
|
|
54
54
|
vars: {
|
|
55
55
|
"i14c7jc8-0": [_exp()]
|
|
@@ -66,7 +66,7 @@ const StatusIconMap = {
|
|
|
66
66
|
};
|
|
67
67
|
const IconFieldWrapper = /*#__PURE__*/react.styled('div')({
|
|
68
68
|
name: "IconFieldWrapper",
|
|
69
|
-
class: "
|
|
69
|
+
class: "E_4110_0_4_i1ibuolf",
|
|
70
70
|
propsAsIs: false
|
|
71
71
|
});
|
|
72
72
|
const IconField = _a => {
|
|
@@ -44,7 +44,7 @@ var __objRest = (source, exclude) => {
|
|
|
44
44
|
};
|
|
45
45
|
const Row = /*#__PURE__*/react.styled('div')({
|
|
46
46
|
name: "Row",
|
|
47
|
-
class: "
|
|
47
|
+
class: "E_4110_0_4_r77hffu",
|
|
48
48
|
propsAsIs: false
|
|
49
49
|
});
|
|
50
50
|
const _exp = /*#__PURE__*/() => ({
|
|
@@ -52,7 +52,7 @@ const _exp = /*#__PURE__*/() => ({
|
|
|
52
52
|
}) => type === "rich" ? "6px" : "4px";
|
|
53
53
|
const ProgressContainer = /*#__PURE__*/react.styled('div')({
|
|
54
54
|
name: "ProgressContainer",
|
|
55
|
-
class: "
|
|
55
|
+
class: "E_4110_0_4_p1cmxsf7",
|
|
56
56
|
propsAsIs: false,
|
|
57
57
|
vars: {
|
|
58
58
|
"p1cmxsf7-0": [_exp()]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const DescriptionStyle = "
|
|
4
|
-
const FlexFullContentStyle = "
|
|
5
|
-
const BaseProgressStyle = "
|
|
6
|
-
const ProgressStyle = "
|
|
3
|
+
const DescriptionStyle = "E_4110_0_4_d1u4ndxc";
|
|
4
|
+
const FlexFullContentStyle = "E_4110_0_4_f6xb0iv";
|
|
5
|
+
const BaseProgressStyle = "E_4110_0_4_b1dhu7ov";
|
|
6
|
+
const ProgressStyle = "E_4110_0_4_p1as1j2z";
|
|
7
7
|
|
|
8
8
|
exports.BaseProgressStyle = BaseProgressStyle;
|
|
9
9
|
exports.DescriptionStyle = DescriptionStyle;
|
|
@@ -39,11 +39,11 @@ var __objRest = (source, exclude) => {
|
|
|
39
39
|
}
|
|
40
40
|
return target;
|
|
41
41
|
};
|
|
42
|
-
const titleAreaStyle = "
|
|
42
|
+
const titleAreaStyle = "E_4110_0_4_t1gvlxt5";
|
|
43
43
|
const _exp2 = /*#__PURE__*/() => props => props.gap;
|
|
44
44
|
const AreaWrapper = /*#__PURE__*/react.styled('div')({
|
|
45
45
|
name: "AreaWrapper",
|
|
46
|
-
class: "
|
|
46
|
+
class: "E_4110_0_4_a1ji6r68",
|
|
47
47
|
propsAsIs: false,
|
|
48
48
|
vars: {
|
|
49
49
|
"a1ji6r68-0": [_exp2(), "px"]
|
|
@@ -39,9 +39,9 @@ var __objRest = (source, exclude) => {
|
|
|
39
39
|
}
|
|
40
40
|
return target;
|
|
41
41
|
};
|
|
42
|
-
const RadioStyle = "
|
|
43
|
-
const RadioGroupStyle = "
|
|
44
|
-
const RadioButtonStyle = "
|
|
42
|
+
const RadioStyle = "E_4110_0_4_rapgekc";
|
|
43
|
+
const RadioGroupStyle = "E_4110_0_4_rp906go";
|
|
44
|
+
const RadioButtonStyle = "E_4110_0_4_rcc63c8";
|
|
45
45
|
const KitRadioGroupContext = React__default.default.createContext({});
|
|
46
46
|
const Radio = _a => {
|
|
47
47
|
var _b = _a,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const SearchInputStyles = "
|
|
4
|
-
const CountTextStyles = "
|
|
5
|
-
const IconContainerStyles = "
|
|
6
|
-
const DisabledIconStyles = "
|
|
7
|
-
const SearchInputDropdownStyles = "
|
|
3
|
+
const SearchInputStyles = "E_4110_0_4_s1n7hav7";
|
|
4
|
+
const CountTextStyles = "E_4110_0_4_c1tgpyn0";
|
|
5
|
+
const IconContainerStyles = "E_4110_0_4_i1cmbu8m";
|
|
6
|
+
const DisabledIconStyles = "E_4110_0_4_dxmfsc9";
|
|
7
|
+
const SearchInputDropdownStyles = "E_4110_0_4_slbf45q";
|
|
8
8
|
|
|
9
9
|
exports.CountTextStyles = CountTextStyles;
|
|
10
10
|
exports.DisabledIconStyles = DisabledIconStyles;
|
|
@@ -27,10 +27,10 @@ var __spreadValues = (a, b) => {
|
|
|
27
27
|
}
|
|
28
28
|
return a;
|
|
29
29
|
};
|
|
30
|
-
const Segment = "
|
|
31
|
-
const SmallSegment = "
|
|
32
|
-
const MediumSegment = "
|
|
33
|
-
const ColorSegment = "
|
|
30
|
+
const Segment = "E_4110_0_4_s11wux3h";
|
|
31
|
+
const SmallSegment = "E_4110_0_4_s1t2an3z";
|
|
32
|
+
const MediumSegment = "E_4110_0_4_ma64lna";
|
|
33
|
+
const ColorSegment = "E_4110_0_4_ckld275";
|
|
34
34
|
const SegmentControl = props => {
|
|
35
35
|
const {
|
|
36
36
|
size = "middle",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const SelectStyle = "
|
|
4
|
-
const SelectIconStyle = "
|
|
5
|
-
const SelectSizeStyle = "
|
|
6
|
-
const PlaceholderTextStyle = "
|
|
3
|
+
const SelectStyle = "E_4110_0_4_s4ivdfu";
|
|
4
|
+
const SelectIconStyle = "E_4110_0_4_sks9xr8";
|
|
5
|
+
const SelectSizeStyle = "E_4110_0_4_swwhohx";
|
|
6
|
+
const PlaceholderTextStyle = "E_4110_0_4_p2sxmsl";
|
|
7
7
|
|
|
8
8
|
exports.PlaceholderTextStyle = PlaceholderTextStyle;
|
|
9
9
|
exports.SelectIconStyle = SelectIconStyle;
|
|
@@ -33,9 +33,9 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
}
|
|
34
34
|
return target;
|
|
35
35
|
};
|
|
36
|
-
const OptionStyle = "
|
|
37
|
-
const LeftStyle = "
|
|
38
|
-
const SlotStyle = "
|
|
36
|
+
const OptionStyle = "E_4110_0_4_oa99sl3";
|
|
37
|
+
const LeftStyle = "E_4110_0_4_lvp5pj7";
|
|
38
|
+
const SlotStyle = "E_4110_0_4_s1io1lws";
|
|
39
39
|
const AntdOption = antd.Select.Option;
|
|
40
40
|
function getOptions(options) {
|
|
41
41
|
return options.map(option => {
|
|
@@ -15,7 +15,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
15
15
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
17
17
|
|
|
18
|
-
const inputStyle = "
|
|
18
|
+
const inputStyle = "E_4110_0_4_ivqqkzv";
|
|
19
19
|
const SimplePagination = props => {
|
|
20
20
|
const {
|
|
21
21
|
className,
|
|
@@ -78,7 +78,7 @@ const SimplePagination = props => {
|
|
|
78
78
|
changeValue(event.target.value);
|
|
79
79
|
}
|
|
80
80
|
}), /* @__PURE__ */React__default.default.createElement("span", {
|
|
81
|
-
className: cs__default.default("
|
|
81
|
+
className: cs__default.default("E_4110_0_4_c1wk4q29", index$1.Typo.Label.l3_regular_upper)
|
|
82
82
|
}, `/ ${pageLength}`), showNext && /* @__PURE__ */React__default.default.createElement(index$2, {
|
|
83
83
|
className: "next-btn",
|
|
84
84
|
type: "quiet",
|
|
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
10
10
|
|
|
11
|
-
const SkeletonContentStyle = "
|
|
11
|
+
const SkeletonContentStyle = "E_4110_0_4_s20iney";
|
|
12
12
|
const SkeletonContent = props => {
|
|
13
13
|
const {
|
|
14
14
|
width = "100%",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const DialogStyle = "
|
|
4
|
-
const FooterStyle = "
|
|
5
|
-
const ErrorTextStyle = "
|
|
6
|
-
const CloseIconStyle = "
|
|
7
|
-
const ModelTitleSkeletonStyle = "
|
|
8
|
-
const ModelContentSkeletonStyle = "
|
|
9
|
-
const ModelInitializingErrorStyle = "
|
|
3
|
+
const DialogStyle = "E_4110_0_4_dxyv8bv";
|
|
4
|
+
const FooterStyle = "E_4110_0_4_fbgo4wr";
|
|
5
|
+
const ErrorTextStyle = "E_4110_0_4_ekxnz54";
|
|
6
|
+
const CloseIconStyle = "E_4110_0_4_ct1041x";
|
|
7
|
+
const ModelTitleSkeletonStyle = "E_4110_0_4_m1k84ymw";
|
|
8
|
+
const ModelContentSkeletonStyle = "E_4110_0_4_m15ds5xe";
|
|
9
|
+
const ModelInitializingErrorStyle = "E_4110_0_4_ma56n19";
|
|
10
10
|
|
|
11
11
|
exports.CloseIconStyle = CloseIconStyle;
|
|
12
12
|
exports.DialogStyle = DialogStyle;
|
|
@@ -44,10 +44,10 @@ var __objRest = (source, exclude) => {
|
|
|
44
44
|
return target;
|
|
45
45
|
};
|
|
46
46
|
const StatusPresetColors = ["blue", "red", "yellow", "green", "gray"];
|
|
47
|
-
const StatusCapsuleStyle = "
|
|
47
|
+
const StatusCapsuleStyle = "E_4110_0_4_sddwhm6";
|
|
48
48
|
const StatusCode = /*#__PURE__*/react.styled('i')({
|
|
49
49
|
name: "StatusCode",
|
|
50
|
-
class: "
|
|
50
|
+
class: "E_4110_0_4_satwmqm",
|
|
51
51
|
propsAsIs: false
|
|
52
52
|
});
|
|
53
53
|
const StatusIcon = ({
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var color = require('../../styles/token/color.js');
|
|
3
4
|
var cs = require('classnames');
|
|
4
5
|
var React = require('react');
|
|
5
6
|
|
|
@@ -8,11 +9,11 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
9
|
var cs__default = /*#__PURE__*/_interopDefault(cs);
|
|
9
10
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
10
11
|
|
|
11
|
-
const CircleProgressStyle = "
|
|
12
|
+
const CircleProgressStyle = "E_4110_0_4_c1bus5hc";
|
|
12
13
|
const CircleProgress = props => {
|
|
13
14
|
const {
|
|
14
15
|
percent,
|
|
15
|
-
color =
|
|
16
|
+
color: color$1 = color.Color.fill.outstanding.base,
|
|
16
17
|
className,
|
|
17
18
|
"data-testid": dataTestId
|
|
18
19
|
} = props;
|
|
@@ -20,20 +21,20 @@ const CircleProgress = props => {
|
|
|
20
21
|
const childRef = React.useRef(null);
|
|
21
22
|
React.useLayoutEffect(() => {
|
|
22
23
|
var _a;
|
|
23
|
-
(_a = wrapperRef.current) == null ? void 0 : _a.style.setProperty("--color", color);
|
|
24
|
-
}, [color]);
|
|
24
|
+
(_a = wrapperRef.current) == null ? void 0 : _a.style.setProperty("--color", color$1);
|
|
25
|
+
}, [color$1]);
|
|
25
26
|
React.useLayoutEffect(() => {
|
|
26
27
|
let deg = 0;
|
|
27
28
|
const childStyle = childRef.current.style;
|
|
28
29
|
if (percent <= 0.5) {
|
|
29
30
|
deg = 180 * (percent / 0.5);
|
|
30
|
-
childStyle.background =
|
|
31
|
+
childStyle.background = color.Color.fill.neutral.white;
|
|
31
32
|
} else {
|
|
32
33
|
deg = 180 * ((percent - 0.5) / 0.5);
|
|
33
|
-
childStyle.background = color;
|
|
34
|
+
childStyle.background = color$1;
|
|
34
35
|
}
|
|
35
36
|
childStyle.transform = `rotate(${deg}deg)`;
|
|
36
|
-
}, [percent, color]);
|
|
37
|
+
}, [percent, color$1]);
|
|
37
38
|
return /* @__PURE__ */React__default.default.createElement("div", {
|
|
38
39
|
"data-testid": dataTestId,
|
|
39
40
|
className: cs__default.default(CircleProgressStyle, className),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const StepsStyle = "
|
|
4
|
-
const HorizontalStyle = "
|
|
5
|
-
const VerticalStyle = "
|
|
6
|
-
const HorizontalStepContentStyle = "
|
|
7
|
-
const VerticalStepContentStyle = "
|
|
3
|
+
const StepsStyle = "E_4110_0_4_sjob3jg";
|
|
4
|
+
const HorizontalStyle = "E_4110_0_4_hjvj6s6";
|
|
5
|
+
const VerticalStyle = "E_4110_0_4_v4tv3mf";
|
|
6
|
+
const HorizontalStepContentStyle = "E_4110_0_4_h6l1tj4";
|
|
7
|
+
const VerticalStepContentStyle = "E_4110_0_4_v18frne8";
|
|
8
8
|
|
|
9
9
|
exports.HorizontalStepContentStyle = HorizontalStepContentStyle;
|
|
10
10
|
exports.HorizontalStyle = HorizontalStyle;
|