@cloudtower/eagle 4100.0.17 → 4100.0.19
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 +4 -4
- 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/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 +1 -1
- package/dist/cjs/core/Icon/index.js +1 -1
- package/dist/cjs/core/ImmersiveDialog/styles.js +14 -14
- 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/AreaHighlightLayer.js +122 -0
- package/dist/cjs/core/LineChart/ForecastLineLayer.js +134 -0
- package/dist/cjs/core/LineChart/LineChartActions.js +2 -2
- package/dist/cjs/core/LineChart/RenderChart.js +274 -20
- package/dist/cjs/core/LineChart/ThresholdIntersectionLayer.js +144 -0
- package/dist/cjs/core/LineChart/TooltipFormatter.js +44 -39
- package/dist/cjs/core/LineChart/areaHighlightUtils.js +89 -0
- package/dist/cjs/core/LineChart/index.js +20 -2
- package/dist/cjs/core/LineChart/lineChartDisplayUtils.js +32 -0
- package/dist/cjs/core/LineChart/lineSegments.js +90 -0
- package/dist/cjs/core/LineChart/styled.js +21 -9
- package/dist/cjs/core/LineChart/utils.js +93 -4
- package/dist/cjs/core/Link/index.js +1 -1
- package/dist/cjs/core/Loading/style.js +4 -4
- package/dist/cjs/core/LocalUpload/LocalUpload.hooks.js +5 -2
- package/dist/cjs/core/LocalUpload/LocalUpload.js +53 -45
- package/dist/cjs/core/LocalUpload/LocalUpload.style.js +2 -2
- package/dist/cjs/core/LocalUpload/LocalUpload.widget.js +156 -133
- package/dist/cjs/core/LogView/LogView.style.js +5 -5
- package/dist/cjs/core/MediumDialog/MediumDialog.js +1 -1
- 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 +1 -1
- 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 +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/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 +9 -6
- package/dist/cjs/coreX/DateRangePicker/common.js +104 -5
- package/dist/cjs/coreX/DateRangePicker/index.js +107 -47
- 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 +1 -1
- package/dist/cjs/coreX/UnitWithChart/index.js +3 -3
- package/dist/cjs/index.js +13 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3935 -3863
- 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 +4 -4
- 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/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/FormItem/index.js +1 -1
- package/dist/esm/core/Icon/index.js +1 -1
- package/dist/esm/core/ImmersiveDialog/styles.js +14 -14
- 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/AreaHighlightLayer.js +115 -0
- package/dist/esm/core/LineChart/ForecastLineLayer.js +124 -0
- package/dist/esm/core/LineChart/LineChartActions.js +2 -2
- package/dist/esm/core/LineChart/RenderChart.js +276 -23
- package/dist/esm/core/LineChart/ThresholdIntersectionLayer.js +134 -0
- package/dist/esm/core/LineChart/TooltipFormatter.js +41 -39
- package/dist/esm/core/LineChart/areaHighlightUtils.js +87 -0
- package/dist/esm/core/LineChart/index.js +21 -3
- package/dist/esm/core/LineChart/lineChartDisplayUtils.js +26 -0
- package/dist/esm/core/LineChart/lineSegments.js +87 -0
- package/dist/esm/core/LineChart/styled.js +20 -10
- package/dist/esm/core/LineChart/utils.js +91 -5
- package/dist/esm/core/Link/index.js +1 -1
- package/dist/esm/core/Loading/style.js +4 -4
- package/dist/esm/core/LocalUpload/LocalUpload.hooks.js +6 -3
- package/dist/esm/core/LocalUpload/LocalUpload.js +52 -45
- package/dist/esm/core/LocalUpload/LocalUpload.style.js +2 -2
- package/dist/esm/core/LocalUpload/LocalUpload.widget.js +154 -131
- package/dist/esm/core/LogView/LogView.style.js +5 -5
- package/dist/esm/core/MediumDialog/MediumDialog.js +1 -1
- 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 +1 -1
- 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 +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/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 +10 -7
- package/dist/esm/coreX/DateRangePicker/common.js +99 -6
- package/dist/esm/coreX/DateRangePicker/index.js +108 -48
- 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 +1 -1
- package/dist/esm/coreX/UnitWithChart/index.js +3 -3
- package/dist/esm/index.js +4 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +4544 -4465
- package/dist/src/core/LineChart/AreaHighlightLayer.d.ts +31 -0
- package/dist/src/core/LineChart/ForecastLineLayer.d.ts +24 -0
- package/dist/src/core/LineChart/RenderChart.d.ts +5 -1
- package/dist/src/core/LineChart/ThresholdIntersectionLayer.d.ts +19 -0
- package/dist/src/core/LineChart/TooltipFormatter.d.ts +10 -0
- package/dist/src/core/LineChart/__test__/AreaHighlightLayer.test.d.ts +1 -0
- package/dist/src/core/LineChart/__test__/ForecastLineLayer.test.d.ts +1 -0
- package/dist/src/core/LineChart/__test__/utils.test.d.ts +1 -0
- package/dist/src/core/LineChart/areaHighlightUtils.d.ts +6 -0
- package/dist/src/core/LineChart/lineChartDisplayUtils.d.ts +7 -0
- package/dist/src/core/LineChart/lineSegments.d.ts +16 -0
- package/dist/src/core/LineChart/styled.d.ts +2 -0
- package/dist/src/core/LineChart/type.d.ts +94 -8
- package/dist/src/core/LineChart/utils.d.ts +31 -4
- package/dist/src/core/LocalUpload/LocalUpload.type.d.ts +12 -4
- package/dist/src/core/LocalUpload/LocalUpload.widget.d.ts +1 -0
- package/dist/src/core/LocalUpload/__test__/LocalUpload.test.d.ts +1 -0
- package/dist/src/coreX/DateRangePicker/__tests__/AbsoluteDate.test.d.ts +1 -0
- package/dist/src/coreX/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
- package/dist/src/coreX/DateRangePicker/__tests__/RelativeTime.test.d.ts +1 -0
- package/dist/src/coreX/DateRangePicker/__tests__/common.test.d.ts +1 -0
- package/dist/src/coreX/DateRangePicker/common.d.ts +12 -3
- package/dist/src/coreX/DateRangePicker/dateRangePicker.type.d.ts +5 -1
- package/dist/stories/docs/core/LineChart.stories.d.ts +4 -0
- package/dist/stories/docs/core/LocalUpload.stories.d.ts +32 -13
- package/dist/stories/docs/coreX/DateRangePicker.stories.d.ts +1 -0
- package/dist/style.css +3936 -3864
- package/package.json +3 -3
|
@@ -45,7 +45,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
45
45
|
const TimeRange = (props) => {
|
|
46
46
|
const {
|
|
47
47
|
visible,
|
|
48
|
-
|
|
48
|
+
panelType,
|
|
49
|
+
direction,
|
|
49
50
|
relativeTime,
|
|
50
51
|
range,
|
|
51
52
|
mode = ["relative", "absolute"],
|
|
@@ -71,6 +72,7 @@ const TimeRange = (props) => {
|
|
|
71
72
|
RelativeTime,
|
|
72
73
|
{
|
|
73
74
|
value: relativeTime,
|
|
75
|
+
type: direction,
|
|
74
76
|
onChange: (time) => onRelativeTimeChange == null ? void 0 : onRelativeTimeChange(time),
|
|
75
77
|
config: relativeTimeSelectOptions
|
|
76
78
|
}
|
|
@@ -83,6 +85,7 @@ const TimeRange = (props) => {
|
|
|
83
85
|
range: range || [null, null],
|
|
84
86
|
minDate,
|
|
85
87
|
maxDate,
|
|
88
|
+
maxRange,
|
|
86
89
|
onChange: (range2) => onAbsoluteTimeChange == null ? void 0 : onAbsoluteTimeChange(range2),
|
|
87
90
|
onOk: (range2) => onAbsoluteTimeOk == null ? void 0 : onAbsoluteTimeOk(range2)
|
|
88
91
|
}
|
|
@@ -96,6 +99,7 @@ const TimeRange = (props) => {
|
|
|
96
99
|
RelativeTime,
|
|
97
100
|
{
|
|
98
101
|
value: relativeTime,
|
|
102
|
+
type: direction,
|
|
99
103
|
onChange: (time) => onRelativeTimeChange == null ? void 0 : onRelativeTimeChange(time),
|
|
100
104
|
config: relativeTimeSelectOptions
|
|
101
105
|
}
|
|
@@ -121,7 +125,7 @@ const TimeRange = (props) => {
|
|
|
121
125
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
122
126
|
index$2,
|
|
123
127
|
{
|
|
124
|
-
selectedKey:
|
|
128
|
+
selectedKey: panelType,
|
|
125
129
|
tabs,
|
|
126
130
|
onChange: onTypeChange,
|
|
127
131
|
size: "small"
|
|
@@ -130,23 +134,48 @@ const TimeRange = (props) => {
|
|
|
130
134
|
}
|
|
131
135
|
};
|
|
132
136
|
const TimePickerHistory = (props) => {
|
|
133
|
-
const { history, onSelect } = props;
|
|
137
|
+
const { history, type, minDate, maxDate, onSelect } = props;
|
|
134
138
|
const { t } = useParrotTranslation();
|
|
135
139
|
function contentRender() {
|
|
136
|
-
|
|
140
|
+
const filteredHistory = history.filter((item) => {
|
|
141
|
+
if (Array.isArray(item.value)) {
|
|
142
|
+
if (type !== "future") {
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
if (item.value.length !== 2 || !item.value[0] || !item.value[1]) {
|
|
146
|
+
return false;
|
|
147
|
+
}
|
|
148
|
+
return common.hasAbsoluteTimeRangeIntersection(
|
|
149
|
+
[dayjs__default.default(item.value[0]), dayjs__default.default(item.value[1])],
|
|
150
|
+
minDate,
|
|
151
|
+
maxDate
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
return common.normalizeRelativeTime(item.value, "past").type === type;
|
|
155
|
+
}).sort((a, b) => b.timestamp - a.timestamp);
|
|
156
|
+
if (!filteredHistory.length) {
|
|
137
157
|
return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, t("components.empty_search_history"));
|
|
138
158
|
}
|
|
139
|
-
return
|
|
159
|
+
return filteredHistory.map((item, index) => {
|
|
160
|
+
const normalizedRelativeTime = Array.isArray(item.value) ? void 0 : common.normalizeRelativeTime(item.value, "past");
|
|
140
161
|
const text = Array.isArray(item.value) ? `${dayjs__default.default(item.value[0]).format("YYYY-MM-DD hh:mm:ss")} - ${dayjs__default.default(
|
|
141
162
|
item.value[1]
|
|
142
|
-
).format("YYYY-MM-DD hh:mm:ss")}` : common.getDateText(
|
|
143
|
-
const obj = Array.isArray(item.value) ? [dayjs__default.default(item.value[0]), dayjs__default.default(item.value[1])] : item.value;
|
|
163
|
+
).format("YYYY-MM-DD hh:mm:ss")}` : common.getDateText(normalizedRelativeTime, t);
|
|
144
164
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
145
165
|
"li",
|
|
146
166
|
{
|
|
147
167
|
key: index,
|
|
148
168
|
className: index$3.Typo.Label.l2_regular,
|
|
149
|
-
onClick: () =>
|
|
169
|
+
onClick: () => {
|
|
170
|
+
if (Array.isArray(item.value)) {
|
|
171
|
+
onSelect([
|
|
172
|
+
dayjs__default.default(item.value[0]),
|
|
173
|
+
dayjs__default.default(item.value[1])
|
|
174
|
+
]);
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
onSelect(normalizedRelativeTime);
|
|
178
|
+
}
|
|
150
179
|
},
|
|
151
180
|
text
|
|
152
181
|
);
|
|
@@ -159,6 +188,7 @@ const DateRangePicker = (props) => {
|
|
|
159
188
|
const {
|
|
160
189
|
size = "medium",
|
|
161
190
|
value,
|
|
191
|
+
type: relativeTimeType = "past",
|
|
162
192
|
history,
|
|
163
193
|
mode = ["relative", "absolute"],
|
|
164
194
|
minDate,
|
|
@@ -169,35 +199,48 @@ const DateRangePicker = (props) => {
|
|
|
169
199
|
} = props;
|
|
170
200
|
const { t } = useParrotTranslation();
|
|
171
201
|
const [datePickerVisible, setDatePickerVisible] = React.useState(false);
|
|
172
|
-
const [
|
|
202
|
+
const [panelType, setPanelType] = React.useState("relative");
|
|
173
203
|
const [range, setRange] = React.useState(
|
|
174
204
|
Array.isArray(value) ? value : void 0
|
|
175
205
|
);
|
|
176
|
-
const relativeTime = !Array.isArray(value) ? value : void 0;
|
|
177
|
-
const
|
|
206
|
+
const relativeTime = value && !Array.isArray(value) ? common.normalizeRelativeTime(value, relativeTimeType) : void 0;
|
|
207
|
+
const { minDate: effectiveMinDate, maxDate: effectiveMaxDate } = common.getEffectiveAbsoluteTimeBounds(relativeTimeType, minDate, maxDate);
|
|
178
208
|
const isAbsoluteValue = value && Array.isArray(value);
|
|
179
|
-
function handleChange(
|
|
209
|
+
function handleChange(type, time) {
|
|
180
210
|
var _a2, _b;
|
|
181
211
|
const rangeHistory = [
|
|
182
212
|
...(_a2 = history == null ? void 0 : history.dateRangeHistories[history.scope]) != null ? _a2 : []
|
|
183
213
|
];
|
|
184
|
-
if (
|
|
214
|
+
if (type === "absolute" && Array.isArray(time)) {
|
|
215
|
+
if (relativeTimeType === "future" && !common.isAbsoluteTimeRangeWithinBounds(
|
|
216
|
+
time,
|
|
217
|
+
effectiveMinDate,
|
|
218
|
+
effectiveMaxDate
|
|
219
|
+
)) {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
185
222
|
const value2 = time.map((item) => (item == null ? void 0 : item.format()) || "");
|
|
186
223
|
rangeHistory.push({
|
|
187
|
-
type
|
|
224
|
+
type,
|
|
188
225
|
value: value2,
|
|
189
226
|
timestamp: Date.now()
|
|
190
227
|
});
|
|
191
|
-
onChange == null ? void 0 : onChange(
|
|
192
|
-
} else if (
|
|
228
|
+
onChange == null ? void 0 : onChange(type, time, time);
|
|
229
|
+
} else if (type === "relative" && !Array.isArray(time)) {
|
|
230
|
+
const normalizedRelativeTime = common.normalizeRelativeTime(
|
|
231
|
+
time,
|
|
232
|
+
relativeTimeType
|
|
233
|
+
);
|
|
193
234
|
rangeHistory.push({
|
|
194
|
-
type
|
|
195
|
-
value:
|
|
235
|
+
type,
|
|
236
|
+
value: normalizedRelativeTime,
|
|
196
237
|
timestamp: Date.now()
|
|
197
238
|
});
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
239
|
+
onChange == null ? void 0 : onChange(
|
|
240
|
+
type,
|
|
241
|
+
normalizedRelativeTime,
|
|
242
|
+
common.getRelativeTimeRange(normalizedRelativeTime)
|
|
243
|
+
);
|
|
201
244
|
}
|
|
202
245
|
history == null ? void 0 : history.setDateRangeHistory(__spreadProps(__spreadValues({}, (_b = history == null ? void 0 : history.dateRangeHistories) != null ? _b : {}), {
|
|
203
246
|
[history.scope]: rangeHistory
|
|
@@ -205,21 +248,19 @@ const DateRangePicker = (props) => {
|
|
|
205
248
|
setDatePickerVisible(false);
|
|
206
249
|
}
|
|
207
250
|
React.useEffect(() => {
|
|
208
|
-
if (
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
onChange == null ? void 0 : onChange("relative", value, [today, pastDay]);
|
|
213
|
-
} else if (isAbsoluteValue) {
|
|
251
|
+
if (relativeTime) {
|
|
252
|
+
setPanelType("relative");
|
|
253
|
+
onChange == null ? void 0 : onChange("relative", relativeTime, common.getRelativeTimeRange(relativeTime));
|
|
254
|
+
} else if (Array.isArray(value)) {
|
|
214
255
|
setRange(value);
|
|
215
|
-
|
|
256
|
+
setPanelType("absolute");
|
|
216
257
|
onChange == null ? void 0 : onChange("absolute", value, value);
|
|
217
258
|
}
|
|
218
|
-
}, [value]);
|
|
259
|
+
}, [relativeTimeType, value]);
|
|
219
260
|
function displayRangeRender() {
|
|
220
261
|
var _a2, _b;
|
|
221
|
-
if (
|
|
222
|
-
return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, common.getDateText(
|
|
262
|
+
if (relativeTime) {
|
|
263
|
+
return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, common.getDateText(relativeTime, t));
|
|
223
264
|
} else if (isAbsoluteValue) {
|
|
224
265
|
return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(
|
|
225
266
|
index$4,
|
|
@@ -239,21 +280,36 @@ const DateRangePicker = (props) => {
|
|
|
239
280
|
}
|
|
240
281
|
}
|
|
241
282
|
function handleSelectHistory(value2) {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
283
|
+
if (Array.isArray(value2)) {
|
|
284
|
+
let selectedRange = [...value2];
|
|
285
|
+
if (relativeTimeType === "future") {
|
|
286
|
+
selectedRange = common.clampAbsoluteTimeRangeToBounds(
|
|
287
|
+
value2,
|
|
288
|
+
effectiveMinDate,
|
|
289
|
+
effectiveMaxDate
|
|
290
|
+
);
|
|
291
|
+
} else {
|
|
292
|
+
const [start, end] = selectedRange;
|
|
293
|
+
if (minDate && start) {
|
|
294
|
+
const parsedMinDate = dayjs__default.default(minDate);
|
|
295
|
+
selectedRange[0] = start.isBefore(parsedMinDate) ? parsedMinDate : start;
|
|
296
|
+
}
|
|
297
|
+
if (maxDate && end) {
|
|
298
|
+
const parsedMaxDate = dayjs__default.default(maxDate);
|
|
299
|
+
selectedRange[1] = end.isAfter(parsedMaxDate) ? parsedMaxDate : end;
|
|
300
|
+
}
|
|
249
301
|
}
|
|
250
|
-
if (
|
|
251
|
-
|
|
252
|
-
_value[1] = end.isAfter(_maxDate) ? _maxDate : end;
|
|
302
|
+
if (!selectedRange) {
|
|
303
|
+
return;
|
|
253
304
|
}
|
|
254
|
-
|
|
305
|
+
const [selectedStart, selectedEnd] = selectedRange;
|
|
306
|
+
if (!(selectedStart == null ? void 0 : selectedStart.isValid()) || !(selectedEnd == null ? void 0 : selectedEnd.isValid()) || selectedStart.isAfter(selectedEnd)) {
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
handleChange("absolute", selectedRange);
|
|
310
|
+
return;
|
|
255
311
|
}
|
|
256
|
-
handleChange(
|
|
312
|
+
handleChange("relative", common.normalizeRelativeTime(value2, "past"));
|
|
257
313
|
}
|
|
258
314
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
259
315
|
DateRangePicker_style.DateRangePickerStyle.Wrapper,
|
|
@@ -292,14 +348,15 @@ const DateRangePicker = (props) => {
|
|
|
292
348
|
TimeRange,
|
|
293
349
|
{
|
|
294
350
|
visible: datePickerVisible,
|
|
295
|
-
|
|
351
|
+
panelType,
|
|
352
|
+
direction: relativeTimeType,
|
|
296
353
|
range,
|
|
297
354
|
relativeTime,
|
|
298
355
|
mode,
|
|
299
|
-
minDate,
|
|
300
|
-
maxDate,
|
|
356
|
+
minDate: effectiveMinDate,
|
|
357
|
+
maxDate: effectiveMaxDate,
|
|
301
358
|
maxRange,
|
|
302
|
-
onTypeChange:
|
|
359
|
+
onTypeChange: setPanelType,
|
|
303
360
|
onRelativeTimeChange: (time) => {
|
|
304
361
|
handleChange("relative", time);
|
|
305
362
|
},
|
|
@@ -330,6 +387,9 @@ const DateRangePicker = (props) => {
|
|
|
330
387
|
TimePickerHistory,
|
|
331
388
|
{
|
|
332
389
|
history: (_a = history.dateRangeHistories[history.scope]) != null ? _a : [],
|
|
390
|
+
type: relativeTimeType,
|
|
391
|
+
minDate: effectiveMinDate,
|
|
392
|
+
maxDate: effectiveMaxDate,
|
|
333
393
|
onSelect: handleSelectHistory
|
|
334
394
|
}
|
|
335
395
|
),
|
|
@@ -10,8 +10,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
12
|
|
|
13
|
-
const ContentStyle = "
|
|
14
|
-
const SecondaryDescStyle = "
|
|
13
|
+
const ContentStyle = "E_4100_0_19_cevhqx7";
|
|
14
|
+
const SecondaryDescStyle = "E_4100_0_19_snbqlt4";
|
|
15
15
|
const DeleteDialog = props => {
|
|
16
16
|
const {
|
|
17
17
|
t
|
|
@@ -28,12 +28,12 @@ var __spreadValues = (a, b) => {
|
|
|
28
28
|
}
|
|
29
29
|
return a;
|
|
30
30
|
};
|
|
31
|
-
const ContentList = "
|
|
32
|
-
const MultiRejectContentList = "
|
|
33
|
-
const Description = "
|
|
34
|
-
const PartialDescription = "
|
|
35
|
-
const SecondaryDesc = "
|
|
36
|
-
const Divider = "
|
|
31
|
+
const ContentList = "E_4100_0_19_c1ss4prm";
|
|
32
|
+
const MultiRejectContentList = "E_4100_0_19_ms3tlei";
|
|
33
|
+
const Description = "E_4100_0_19_du44iy7";
|
|
34
|
+
const PartialDescription = "E_4100_0_19_p1qmhanr";
|
|
35
|
+
const SecondaryDesc = "E_4100_0_19_srje1h0";
|
|
36
|
+
const Divider = "E_4100_0_19_di3zi7v";
|
|
37
37
|
const SingleRejectContent = ({
|
|
38
38
|
content,
|
|
39
39
|
listType = "ordered",
|
|
@@ -10,7 +10,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
12
|
|
|
13
|
-
const GobackButtonStyle = "
|
|
13
|
+
const GobackButtonStyle = "E_4100_0_19_gmyahx3";
|
|
14
14
|
const GobackButton = props => {
|
|
15
15
|
const {
|
|
16
16
|
onClick,
|
|
@@ -10,16 +10,16 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
12
|
|
|
13
|
-
const InfoListRowStyle = "
|
|
14
|
-
const LooseStyle = "
|
|
13
|
+
const InfoListRowStyle = "E_4100_0_19_i5w779o";
|
|
14
|
+
const LooseStyle = "E_4100_0_19_l18dja44";
|
|
15
15
|
const ContentWrapper = /*#__PURE__*/react.styled('div')({
|
|
16
16
|
name: "ContentWrapper",
|
|
17
|
-
class: "
|
|
17
|
+
class: "E_4100_0_19_c8c2hys",
|
|
18
18
|
propsAsIs: false
|
|
19
19
|
});
|
|
20
20
|
const NullText = /*#__PURE__*/react.styled('div')({
|
|
21
21
|
name: "NullText",
|
|
22
|
-
class: "
|
|
22
|
+
class: "E_4100_0_19_n4m6c4d",
|
|
23
23
|
propsAsIs: false
|
|
24
24
|
});
|
|
25
25
|
const InfoRowList = React__default.default.forwardRef(function InfoList(props, ref) {
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
var react = require('@linaria/react');
|
|
4
4
|
|
|
5
|
-
const KubeConfigModalStyle = "
|
|
6
|
-
const KubeConfigWrapperStyle = "
|
|
7
|
-
const KubeConfigTitleStyle = "
|
|
8
|
-
const KubeConfigTipStyle = "
|
|
9
|
-
const KubeConfigContentStyle = "
|
|
10
|
-
const KubeConfigFooterStyle = "
|
|
5
|
+
const KubeConfigModalStyle = "E_4100_0_19_kr6am0s";
|
|
6
|
+
const KubeConfigWrapperStyle = "E_4100_0_19_k1h3cl5q";
|
|
7
|
+
const KubeConfigTitleStyle = "E_4100_0_19_k1a6j97w";
|
|
8
|
+
const KubeConfigTipStyle = "E_4100_0_19_k1uim1fg";
|
|
9
|
+
const KubeConfigContentStyle = "E_4100_0_19_kobelzt";
|
|
10
|
+
const KubeConfigFooterStyle = "E_4100_0_19_kxzv3id";
|
|
11
11
|
const ErrorWrapper = /*#__PURE__*/react.styled('div')({
|
|
12
12
|
name: "ErrorWrapper",
|
|
13
|
-
class: "
|
|
13
|
+
class: "E_4100_0_19_eld9lt",
|
|
14
14
|
propsAsIs: false
|
|
15
15
|
});
|
|
16
16
|
const ErrorContentWrapper = /*#__PURE__*/react.styled('div')({
|
|
17
17
|
name: "ErrorContentWrapper",
|
|
18
|
-
class: "
|
|
18
|
+
class: "E_4100_0_19_e1505fqc",
|
|
19
19
|
propsAsIs: false
|
|
20
20
|
});
|
|
21
21
|
|
|
@@ -10,15 +10,15 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
10
10
|
|
|
11
11
|
const NameItem = /*#__PURE__*/react.styled('div')({
|
|
12
12
|
name: "NameItem",
|
|
13
|
-
class: "
|
|
13
|
+
class: "E_4100_0_19_n12mqh7z",
|
|
14
14
|
propsAsIs: false
|
|
15
15
|
});
|
|
16
16
|
const TooltipText = /*#__PURE__*/react.styled('span')({
|
|
17
17
|
name: "TooltipText",
|
|
18
|
-
class: "
|
|
18
|
+
class: "E_4100_0_19_tf5bynu",
|
|
19
19
|
propsAsIs: false
|
|
20
20
|
});
|
|
21
|
-
const ToolTipStyle = "
|
|
21
|
+
const ToolTipStyle = "E_4100_0_19_tcckoz1";
|
|
22
22
|
const NamesTooltip = props => {
|
|
23
23
|
const {
|
|
24
24
|
names,
|
|
@@ -38,20 +38,20 @@ var __objRest = (source, exclude) => {
|
|
|
38
38
|
}
|
|
39
39
|
return target;
|
|
40
40
|
};
|
|
41
|
-
const OverflowText = "
|
|
42
|
-
const SingleLineStyle = "
|
|
41
|
+
const OverflowText = "E_4100_0_19_ou7iq30";
|
|
42
|
+
const SingleLineStyle = "E_4100_0_19_s1tui002";
|
|
43
43
|
const _exp = /*#__PURE__*/() => ({
|
|
44
44
|
lineClamp = 2
|
|
45
45
|
}) => lineClamp;
|
|
46
46
|
const MultipleLine = /*#__PURE__*/react.styled('div')({
|
|
47
47
|
name: "MultipleLine",
|
|
48
|
-
class: "
|
|
48
|
+
class: "E_4100_0_19_mxrc2zg",
|
|
49
49
|
propsAsIs: false,
|
|
50
50
|
vars: {
|
|
51
51
|
"mxrc2zg-0": [_exp()]
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
const TooltipDefaultClass = "
|
|
54
|
+
const TooltipDefaultClass = "E_4100_0_19_t1vv6d68";
|
|
55
55
|
const OverflowTooltip = props => {
|
|
56
56
|
const _a = props,
|
|
57
57
|
{
|
|
@@ -29,9 +29,9 @@ var __spreadValues = (a, b) => {
|
|
|
29
29
|
}
|
|
30
30
|
return a;
|
|
31
31
|
};
|
|
32
|
-
const SiderStyle = "
|
|
33
|
-
const ShrinkStyle = "
|
|
34
|
-
const NavLinkStyle = "
|
|
32
|
+
const SiderStyle = "E_4100_0_19_s1at6qmn";
|
|
33
|
+
const ShrinkStyle = "E_4100_0_19_s1wu0lms";
|
|
34
|
+
const NavLinkStyle = "E_4100_0_19_n1ugzfva";
|
|
35
35
|
const NormalWidth = 256;
|
|
36
36
|
const ShrinkWidth = 52;
|
|
37
37
|
const Sider = ({
|
|
@@ -17,28 +17,28 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
17
17
|
|
|
18
18
|
const Table = /*#__PURE__*/react.styled('div')({
|
|
19
19
|
name: "Table",
|
|
20
|
-
class: "
|
|
20
|
+
class: "E_4100_0_19_t1sqg15u",
|
|
21
21
|
propsAsIs: false
|
|
22
22
|
});
|
|
23
23
|
const TableHeader = /*#__PURE__*/react.styled('header')({
|
|
24
24
|
name: "TableHeader",
|
|
25
|
-
class: "
|
|
25
|
+
class: "E_4100_0_19_t4zczcp",
|
|
26
26
|
propsAsIs: false
|
|
27
27
|
});
|
|
28
28
|
const TableContent = /*#__PURE__*/react.styled('div')({
|
|
29
29
|
name: "TableContent",
|
|
30
|
-
class: "
|
|
30
|
+
class: "E_4100_0_19_t1s7goww",
|
|
31
31
|
propsAsIs: false
|
|
32
32
|
});
|
|
33
33
|
const TableRow = /*#__PURE__*/react.styled('div')({
|
|
34
34
|
name: "TableRow",
|
|
35
|
-
class: "
|
|
35
|
+
class: "E_4100_0_19_t93e4cf",
|
|
36
36
|
propsAsIs: false
|
|
37
37
|
});
|
|
38
38
|
const _exp = /*#__PURE__*/() => props => props.width;
|
|
39
39
|
const RowLabel = /*#__PURE__*/react.styled('label')({
|
|
40
40
|
name: "RowLabel",
|
|
41
|
-
class: "
|
|
41
|
+
class: "E_4100_0_19_rhz2uv5",
|
|
42
42
|
propsAsIs: false,
|
|
43
43
|
vars: {
|
|
44
44
|
"rhz2uv5-0": [_exp()]
|
|
@@ -36,7 +36,7 @@ var __objRest = (source, exclude) => {
|
|
|
36
36
|
};
|
|
37
37
|
const SwitchWrapper = /*#__PURE__*/react.styled('span')({
|
|
38
38
|
name: "SwitchWrapper",
|
|
39
|
-
class: "
|
|
39
|
+
class: "E_4100_0_19_s1iv0tp1",
|
|
40
40
|
propsAsIs: false
|
|
41
41
|
});
|
|
42
42
|
const SwitchWithText = props => {
|
|
@@ -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 TabMenuStyle = "
|
|
15
|
-
const TabMenuSubMenu = "
|
|
14
|
+
const TabMenuStyle = "E_4100_0_19_t160l1cm";
|
|
15
|
+
const TabMenuSubMenu = "E_4100_0_19_t14npdqr";
|
|
16
16
|
const renderExpandArrow = (size, isBold) => {
|
|
17
17
|
if (size === "medium" && !isBold) return /* @__PURE__ */React__default.default.createElement(iconsReact.ArrowChevronDown16BlueIcon, {
|
|
18
18
|
className: "expand-arrow"
|
|
@@ -51,11 +51,11 @@ const units = {
|
|
|
51
51
|
};
|
|
52
52
|
const Wrapper = /*#__PURE__*/react.styled('div')({
|
|
53
53
|
name: "Wrapper",
|
|
54
|
-
class: "
|
|
54
|
+
class: "E_4100_0_19_wg1tsps",
|
|
55
55
|
propsAsIs: false
|
|
56
56
|
});
|
|
57
|
-
const BarChartWrapper = "
|
|
58
|
-
const UnitWrapper = "
|
|
57
|
+
const BarChartWrapper = "E_4100_0_19_b1ctd5xy";
|
|
58
|
+
const UnitWrapper = "E_4100_0_19_u1p8acpn";
|
|
59
59
|
const Sizes = {
|
|
60
60
|
small: {
|
|
61
61
|
width: 22,
|
package/dist/cjs/index.js
CHANGED
|
@@ -102,6 +102,9 @@ var RoundOrder = require('./core/ExpandableList/RoundOrder.js');
|
|
|
102
102
|
var index$1e = require('./core/ImmersiveDialog/index.js');
|
|
103
103
|
var LineChartLegend = require('./core/LineChart/LineChartLegend.js');
|
|
104
104
|
var type = require('./core/LineChart/type.js');
|
|
105
|
+
var lineChartDisplayUtils = require('./core/LineChart/lineChartDisplayUtils.js');
|
|
106
|
+
var areaHighlightUtils = require('./core/LineChart/areaHighlightUtils.js');
|
|
107
|
+
var lineSegments = require('./core/LineChart/lineSegments.js');
|
|
105
108
|
var utils = require('./core/LineChart/utils.js');
|
|
106
109
|
var LocalUpload = require('./core/LocalUpload/LocalUpload.js');
|
|
107
110
|
var LogView = require('./core/LogView/LogView.js');
|
|
@@ -475,6 +478,13 @@ exports.LineChartLegend = LineChartLegend.default;
|
|
|
475
478
|
exports.ILineChartGraphType = type.ILineChartGraphType;
|
|
476
479
|
exports.ILineChartMetricUnit = type.ILineChartMetricUnit;
|
|
477
480
|
exports.ILineChartTimeUnit = type.ILineChartTimeUnit;
|
|
481
|
+
exports.DEFAULT_LINE_CHART_STROKE = lineChartDisplayUtils.DEFAULT_LINE_CHART_STROKE;
|
|
482
|
+
exports.getLineChartDefaultYAxisTicks = lineChartDisplayUtils.getLineChartDefaultYAxisTicks;
|
|
483
|
+
exports.getLineChartLegacyThresholdTooltipInfo = lineChartDisplayUtils.getLineChartLegacyThresholdTooltipInfo;
|
|
484
|
+
exports.getLineChartStreamStroke = lineChartDisplayUtils.getLineChartStreamStroke;
|
|
485
|
+
exports.getLineChartAreaHighlightRuns = areaHighlightUtils.getLineChartAreaHighlightRuns;
|
|
486
|
+
exports.getLineChartLinePath = lineSegments.getLineChartLinePath;
|
|
487
|
+
exports.getLineChartLineSegments = lineSegments.getLineChartLineSegments;
|
|
478
488
|
exports.UNIT_FORMATTER = utils.UNIT_FORMATTER;
|
|
479
489
|
exports.addMissingDataWithZero = utils.addMissingDataWithZero;
|
|
480
490
|
exports.convertLineChartDataStruct = utils.convertLineChartDataStruct;
|
|
@@ -484,8 +494,11 @@ exports.filterLineChartDataOverlapping = utils.filterLineChartDataOverlapping;
|
|
|
484
494
|
exports.filterLineChartOverlappingMetric = utils.filterLineChartOverlappingMetric;
|
|
485
495
|
exports.filterLineChartPointsByDateRange = utils.filterLineChartPointsByDateRange;
|
|
486
496
|
exports.getFirstExpectedTimestamp = utils.getFirstExpectedTimestamp;
|
|
497
|
+
exports.getLineChartAreaHighlightRanges = utils.getLineChartAreaHighlightRanges;
|
|
498
|
+
exports.getLineChartMetricPayloadMatches = utils.getLineChartMetricPayloadMatches;
|
|
487
499
|
exports.getLineChartRangeTimestamp = utils.getLineChartRangeTimestamp;
|
|
488
500
|
exports.getLineChartStep = utils.getLineChartStep;
|
|
501
|
+
exports.getLineChartThresholdIntersections = utils.getLineChartThresholdIntersections;
|
|
489
502
|
exports.getLineChartXAxisDomain = utils.getLineChartXAxisDomain;
|
|
490
503
|
exports.getLineChartYDataMax = utils.getLineChartYDataMax;
|
|
491
504
|
exports.getYAxisDomain = utils.getYAxisDomain;
|