@cloudtower/eagle 0.27.70 → 0.27.71
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/UIKitProvider/index.js +5 -5
- package/dist/cjs/antd.js +151 -0
- package/dist/cjs/core/Arch/index.js +3 -1
- package/dist/cjs/core/ButtonGroup/index.js +2 -1
- package/dist/cjs/core/Cascader/index.js +16 -0
- package/dist/cjs/core/DonutChart/index.js +9 -0
- package/dist/cjs/core/Error/index.js +12 -0
- package/dist/cjs/core/ErrorBoundary/index.js +27 -0
- package/dist/cjs/core/Metric/MetricActions.js +18 -0
- package/dist/cjs/core/Metric/MetricLegend.js +73 -0
- package/dist/cjs/core/Metric/Pointer.js +45 -0
- package/dist/cjs/core/Metric/RenderChart.js +203 -0
- package/dist/cjs/core/Metric/TooltipFormatter.js +45 -0
- package/dist/cjs/core/Metric/index.js +63 -0
- package/dist/cjs/core/Metric/metric.js +146 -0
- package/dist/cjs/core/Metric/styled.js +33 -0
- package/dist/cjs/core/Metric/type.js +16 -0
- package/dist/cjs/core/Overflow/index.js +2 -1
- package/dist/cjs/core/Progress/index.js +2 -0
- package/dist/cjs/core/SidebarMenu/SidebarMenu.js +33 -0
- package/dist/cjs/core/StatusCapsule/index.js +7 -7
- package/dist/cjs/core/Styled/index.js +139 -0
- package/dist/cjs/core/Table/TableWidget.js +6 -1
- package/dist/cjs/core/Table/index.js +4 -1
- package/dist/cjs/core/TableForm/index.js +5 -3
- package/dist/cjs/core/Tag/SplitTag.js +2 -2
- package/dist/cjs/core/Tag/const.js +2 -2
- package/dist/cjs/core/Tag/index.js +4 -4
- package/dist/cjs/core/Token/index.js +3 -3
- package/dist/cjs/core/index.js +32 -0
- package/dist/cjs/core/message/index.js +4 -0
- package/dist/cjs/coreX/CronPlan/index.js +2 -1
- package/dist/cjs/coreX/DateRangePicker/AbsoluteDate.js +2 -2
- package/dist/cjs/coreX/DateRangePicker/Calendar.js +5 -3
- package/dist/cjs/coreX/DateRangePicker/InputTime.js +1 -1
- package/dist/cjs/coreX/DateRangePicker/RelativeTime.js +2 -2
- package/dist/cjs/coreX/DateRangePicker/index.js +1 -1
- package/dist/cjs/coreX/I18nNameTag/index.js +1 -1
- package/dist/cjs/index.js +456 -82
- package/dist/cjs/legacy-antd.js +213 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/cjs/store/chart.js +7 -0
- package/dist/cjs/store/index.js +1 -0
- package/dist/components.css +2916 -2916
- package/dist/esm/UIKitProvider/index.js +1 -1
- package/dist/esm/antd.js +16 -0
- package/dist/esm/core/ButtonGroup/index.js +2 -1
- package/dist/esm/core/Cascader/index.js +3 -1
- package/dist/esm/core/DonutChart/index.js +9 -1
- package/dist/esm/core/Error/index.js +6 -0
- package/dist/esm/core/ErrorBoundary/index.js +21 -0
- package/dist/esm/core/Metric/MetricActions.js +12 -0
- package/dist/esm/core/Metric/MetricLegend.js +62 -0
- package/dist/esm/core/Metric/Pointer.js +38 -0
- package/dist/esm/core/Metric/RenderChart.js +195 -0
- package/dist/esm/core/Metric/TooltipFormatter.js +39 -0
- package/dist/esm/core/Metric/index.js +52 -0
- package/dist/esm/core/Metric/metric.js +138 -2
- package/dist/esm/core/Metric/styled.js +24 -0
- package/dist/esm/core/Metric/type.js +13 -0
- package/dist/esm/core/Overflow/index.js +2 -1
- package/dist/esm/core/Progress/index.js +2 -1
- package/dist/esm/core/SidebarMenu/SidebarMenu.js +27 -0
- package/dist/esm/core/StatusCapsule/index.js +3 -3
- package/dist/esm/core/Styled/index.js +112 -1
- package/dist/esm/core/Table/TableWidget.js +5 -2
- package/dist/esm/core/Table/index.js +5 -3
- package/dist/esm/core/TableForm/index.js +2 -2
- package/dist/esm/core/Tag/SplitTag.js +3 -3
- package/dist/esm/core/Tag/const.js +2 -2
- package/dist/esm/core/Tag/index.js +5 -5
- package/dist/esm/core/Token/index.js +3 -3
- package/dist/esm/core/index.js +21 -0
- package/dist/esm/core/message/index.js +4 -1
- package/dist/esm/coreX/CronPlan/index.js +2 -1
- package/dist/esm/coreX/DateRangePicker/AbsoluteDate.js +2 -2
- package/dist/esm/coreX/DateRangePicker/Calendar.js +5 -3
- package/dist/esm/coreX/DateRangePicker/InputTime.js +1 -1
- package/dist/esm/coreX/DateRangePicker/RelativeTime.js +2 -2
- package/dist/esm/coreX/DateRangePicker/index.js +1 -1
- package/dist/esm/coreX/I18nNameTag/index.js +1 -1
- package/dist/esm/index.js +104 -18
- package/dist/esm/legacy-antd.js +206 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/esm/store/chart.js +7 -1
- package/dist/esm/store/index.js +1 -0
- package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -1
- package/dist/src/antd.d.ts +45 -0
- package/dist/src/core/AccordionCard/accordionCard.type.d.ts +9 -0
- package/dist/src/core/AccordionCard/index.d.ts +3 -8
- package/dist/src/core/Alert/alert.type.d.ts +6 -0
- package/dist/src/core/Alert/index.d.ts +2 -1
- package/dist/src/core/Arch/arch.type.d.ts +8 -0
- package/dist/src/core/Arch/index.d.ts +2 -1
- package/dist/src/core/Badge/badge.type.d.ts +7 -0
- package/dist/src/core/Badge/index.d.ts +2 -1
- package/dist/src/core/Bit/index.d.ts +1 -1
- package/dist/src/core/BitPerSecond/index.d.ts +1 -1
- package/dist/src/core/Bps/index.d.ts +1 -1
- package/dist/src/core/Breadcrumb/breadcrumb.type.d.ts +11 -0
- package/dist/src/core/Breadcrumb/index.d.ts +2 -1
- package/dist/src/core/Button/button.type.d.ts +20 -0
- package/dist/src/core/Button/index.d.ts +1 -0
- package/dist/src/core/ButtonGroup/index.d.ts +1 -1
- package/dist/src/core/Byte/index.d.ts +1 -1
- package/dist/src/core/Calendar/calendar.type.d.ts +4 -0
- package/dist/src/core/Calendar/index.d.ts +2 -1
- package/dist/src/core/Cascader/cascader.type.d.ts +1 -1
- package/dist/src/core/Cascader/index.d.ts +3 -0
- package/dist/src/core/DetailCard/detailCard.type.d.ts +4 -0
- package/dist/src/core/DetailCard/index.d.ts +2 -1
- package/dist/src/core/DropdownMenu/dropdownMenu.type.d.ts +28 -0
- package/dist/src/core/DropdownMenu/index.d.ts +3 -17
- package/dist/src/core/Error/index.d.ts +5 -0
- package/dist/src/core/ExpandableList/index.d.ts +8 -0
- package/dist/src/core/Fields/FieldsBoolean/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsDateTime/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsDateTimeRange/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsEnum/fieldsEnum.type.d.ts +19 -0
- package/dist/src/core/Fields/FieldsEnum/index.d.ts +2 -1
- package/dist/src/core/Fields/FieldsInt/fieldsInt.type.d.ts +15 -0
- package/dist/src/core/Fields/FieldsInt/index.d.ts +2 -1
- package/dist/src/core/Fields/FieldsString/fieldsString.type.d.ts +17 -0
- package/dist/src/core/Fields/FieldsString/index.d.ts +3 -1
- package/dist/src/core/Fields/FieldsTextArea/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsTimePicker/index.d.ts +1 -1
- package/dist/src/{spec/react-final-form.d.ts → core/Fields/fields.type.d.ts} +15 -10
- package/dist/src/core/Fields/index.d.ts +21 -10
- package/dist/src/core/Frequency/index.d.ts +1 -1
- package/dist/src/core/Input/index.d.ts +1 -0
- package/dist/src/core/Input/input.type.d.ts +14 -0
- package/dist/src/core/InputGroup/index.d.ts +1 -0
- package/dist/src/core/InputGroup/inputGroup.type.d.ts +4 -0
- package/dist/src/core/InputInteger/index.d.ts +1 -1
- package/dist/src/core/InputNumber/index.d.ts +1 -1
- package/dist/src/core/Link/index.d.ts +2 -1
- package/dist/src/core/Link/link.type.d.ts +6 -0
- package/dist/src/core/Loading/index.d.ts +2 -1
- package/dist/src/core/Loading/loading.type.d.ts +4 -0
- package/dist/src/core/Modal/index.d.ts +2 -1
- package/dist/src/core/Modal/modal.type.d.ts +28 -0
- package/dist/src/core/Pagination/index.d.ts +2 -1
- package/dist/src/core/Pagination/pagination.type.d.ts +11 -0
- package/dist/src/core/Percent/index.d.ts +1 -1
- package/dist/src/core/Progress/index.d.ts +2 -0
- package/dist/src/core/Progress/progress.type.d.ts +2 -1
- package/dist/src/core/Radio/index.d.ts +2 -1
- package/dist/src/core/Radio/radio.type.d.ts +16 -0
- package/dist/src/core/SearchInput/index.d.ts +2 -1
- package/dist/src/core/SearchInput/searchInput.type.d.ts +7 -0
- package/dist/src/core/Second/index.d.ts +1 -1
- package/dist/src/core/SegmentControl/index.d.ts +2 -1
- package/dist/src/core/SegmentControl/segmentControl.type.d.ts +4 -0
- package/dist/src/core/Select/index.d.ts +2 -1
- package/dist/src/core/Select/select.type.d.ts +32 -0
- package/dist/src/core/SimplePagination/index.d.ts +2 -1
- package/dist/src/core/SimplePagination/simplePagination.type.d.ts +7 -0
- package/dist/src/core/Space/index.d.ts +1 -0
- package/dist/src/core/Space/space.type.d.ts +10 -0
- package/dist/src/core/Speed/index.d.ts +1 -1
- package/dist/src/core/StatusCapsule/index.d.ts +3 -2
- package/dist/src/core/StatusCapsule/statusCapsule.type.d.ts +10 -0
- package/dist/src/core/StepProgress/index.d.ts +2 -1
- package/dist/src/core/StepProgress/stepProgress.type.d.ts +5 -0
- package/dist/src/core/Steps/index.d.ts +2 -1
- package/dist/src/core/Steps/steps.type.d.ts +19 -0
- package/dist/src/core/Switch/index.d.ts +2 -1
- package/dist/src/core/Switch/switch.type.d.ts +4 -0
- package/dist/src/core/Table/index.d.ts +2 -1
- package/dist/src/core/Table/table.type.d.ts +73 -0
- package/dist/src/core/TableForm/Columns/index.d.ts +10 -10
- package/dist/src/core/TableForm/index.d.ts +1 -0
- package/dist/src/core/TableForm/types.d.ts +1 -1
- package/dist/src/core/Tag/SplitTag.d.ts +1 -1
- package/dist/src/core/Tag/const.d.ts +1 -1
- package/dist/src/core/Tag/index.d.ts +3 -2
- package/dist/src/core/Tag/tag.type.d.ts +22 -0
- package/dist/src/core/TextArea/index.d.ts +2 -1
- package/dist/src/core/TextArea/textArea.type.d.ts +10 -0
- package/dist/src/core/Time/index.d.ts +2 -1
- package/dist/src/core/Time/time.type.d.ts +7 -0
- package/dist/src/core/TimeZoneSelect/index.d.ts +2 -1
- package/dist/src/core/TimeZoneSelect/timeZoneSelect.type.d.ts +9 -0
- package/dist/src/core/Token/index.d.ts +4 -3
- package/dist/src/core/Token/token.type.d.ts +12 -0
- package/dist/src/core/Tooltip/index.d.ts +1 -0
- package/dist/src/core/Units/index.d.ts +1 -0
- package/dist/src/core/Units/units.type.d.ts +17 -0
- package/dist/src/core/index.d.ts +140 -22
- package/dist/src/coreX/BatchOperation/batchOperation.type.d.ts +31 -0
- package/dist/src/coreX/BatchOperation/index.d.ts +2 -1
- package/dist/src/coreX/Counting/counting.type.d.ts +6 -0
- package/dist/src/coreX/Counting/index.d.ts +2 -1
- package/dist/src/coreX/CronCalendar/cronCalendar.type.d.ts +8 -0
- package/dist/src/coreX/CronCalendar/index.d.ts +2 -1
- package/dist/src/coreX/CronPlan/cronPlan.type.d.ts +13 -0
- package/dist/src/coreX/CronPlan/index.d.ts +2 -1
- package/dist/src/coreX/DateRangePicker/AbsoluteDate.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/Calendar.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/InputTime.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/RelativeTime.d.ts +1 -1
- package/dist/src/coreX/DateRangePicker/common.d.ts +2 -60
- package/dist/src/coreX/DateRangePicker/dateRangePicker.type.d.ts +64 -0
- package/dist/src/coreX/DateRangePicker/index.d.ts +4 -3
- package/dist/src/coreX/DropdownTransition/dropdownTransition.type.d.ts +4 -0
- package/dist/src/coreX/DropdownTransition/index.d.ts +1 -0
- package/dist/src/coreX/GoBackButton/goBackButton.type.d.ts +18 -0
- package/dist/src/coreX/GoBackButton/index.d.ts +2 -1
- package/dist/src/coreX/I18nNameTag/i18nNameTag.type.d.ts +14 -0
- package/dist/src/coreX/I18nNameTag/index.d.ts +2 -1
- package/dist/src/coreX/NamesTooltip/index.d.ts +2 -1
- package/dist/src/coreX/NamesTooltip/namesTooltip.type.d.ts +6 -0
- package/dist/src/coreX/OverflowTooltip/index.d.ts +1 -0
- package/dist/src/coreX/SidebarSubtitle/index.d.ts +2 -1
- package/dist/src/coreX/SidebarSubtitle/sidebarSubtitle.type.d.ts +5 -0
- package/dist/src/coreX/SortableList/index.d.ts +2 -1
- package/dist/src/coreX/SortableList/sortableList.type.d.ts +7 -0
- package/dist/src/coreX/SummaryTable/index.d.ts +2 -1
- package/dist/src/coreX/SummaryTable/summaryTable.type.d.ts +31 -0
- package/dist/src/coreX/SwitchWithText/index.d.ts +2 -1
- package/dist/src/coreX/SwitchWithText/switchWithText.type.d.ts +9 -0
- package/dist/src/coreX/TruncatedTextWithTooltip/index.d.ts +2 -1
- package/dist/src/coreX/TruncatedTextWithTooltip/truncatedTextWithTooltip.type.d.ts +5 -0
- package/dist/src/coreX/UnitWithChart/index.d.ts +8 -8
- package/dist/src/coreX/common/index.d.ts +1 -0
- package/dist/src/coreX/index.d.ts +38 -4
- package/dist/src/index.d.ts +5 -40
- package/dist/src/{core/antd.d.ts → legacy-antd.d.ts} +1 -1
- package/dist/src/spec/base.d.ts +7 -456
- package/dist/src/spec/index.d.ts +0 -1
- package/dist/stories/docs/core/Alert.stories.d.ts +1 -1
- package/dist/stories/docs/core/Arch.stories.d.ts +1 -1
- package/dist/stories/docs/core/Bit.stories.d.ts +6 -6
- package/dist/stories/docs/core/BitPerSecond.stories.d.ts +6 -6
- package/dist/stories/docs/core/Bps.stories.d.ts +6 -6
- package/dist/stories/docs/core/Byte.stories.d.ts +6 -6
- package/dist/stories/docs/core/FieldsBoolean.stories.d.ts +2 -2
- package/dist/stories/docs/core/FieldsString.stories.d.ts +8 -8
- package/dist/stories/docs/core/FieldsTimePicker.stories.d.ts +2 -2
- package/dist/stories/docs/core/Frequency.stories.d.ts +6 -6
- package/dist/stories/docs/core/Icon.stories.d.ts +6 -6
- package/dist/stories/docs/core/Link.stories.d.ts +1 -1
- package/dist/stories/docs/core/Modal.stories.d.ts +1 -1
- package/dist/stories/docs/core/Percent.stories.d.ts +10 -10
- package/dist/stories/docs/core/Second.stories.d.ts +8 -8
- package/dist/stories/docs/core/Speed.stories.d.ts +6 -6
- package/dist/stories/docs/core/StatusCapsule.stories.d.ts +1 -1
- package/dist/stories/docs/core/Steps.stories.d.ts +1 -1
- package/dist/stories/docs/core/Table.stories.d.ts +4 -4
- package/dist/stories/docs/core/Tag.stories.d.ts +1 -1
- package/dist/stories/docs/core/Token.stories.d.ts +1 -1
- package/dist/stories/docs/core/Tooltip.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/CronCalendar.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/CronPlan.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/GoBackButton.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/NamesTooltip.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/SidebarSubtitle.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/SortableList.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/SummaryTable.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/SwitchWithText.stories.d.ts +1 -1
- package/dist/stories/docs/coreX/TruncatedTextWithTooltip.stories.d.ts +1 -1
- package/dist/stories/types.d.ts +1 -1
- package/dist/style.css +2921 -2921
- package/package.json +5 -5
- package/dist/cjs/core/antd.js +0 -212
- package/dist/esm/core/antd.js +0 -205
- package/dist/src/spec/type.d.ts +0 -157
- /package/dist/cjs/{spec/type.js → core/Arch/arch.type.js} +0 -0
- /package/dist/esm/{spec/type.js → core/Arch/arch.type.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudtower/eagle",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.71",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"sync:color": "node tools/fetch-figma-color.js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@cloudtower/icons-react": "0.27.
|
|
32
|
-
"@cloudtower/parrot": "0.27.
|
|
31
|
+
"@cloudtower/icons-react": "0.27.71",
|
|
32
|
+
"@cloudtower/parrot": "0.27.71",
|
|
33
33
|
"@cloudtower/rc-notification": "^4.6.1",
|
|
34
34
|
"@linaria/core": "^4.2.2",
|
|
35
35
|
"@linaria/react": "^4.3.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@babel/preset-env": "^7.22.15",
|
|
53
53
|
"@babel/preset-react": "^7.22.15",
|
|
54
54
|
"@babel/preset-typescript": "^7.22.15",
|
|
55
|
-
"@cloudtower/icons": "0.27.
|
|
55
|
+
"@cloudtower/icons": "0.27.71",
|
|
56
56
|
"@linaria/babel-preset": "4.4.3",
|
|
57
57
|
"@linaria/rollup": "^4.1.5",
|
|
58
58
|
"@linaria/vite": "^4.2.5",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"vite": "^3.1.7",
|
|
120
120
|
"vitest": "^0.24.1"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "71223dfe940f4234ebbdbbe67e217a43abd523b4"
|
|
123
123
|
}
|
package/dist/cjs/core/antd.js
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var antd = require('antd');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index$N = require('./AccordionCard/index.js');
|
|
6
|
-
var index$R = require('./Breadcrumb/index.js');
|
|
7
|
-
var index$O = require('./DetailCard/index.js');
|
|
8
|
-
var index$U = require('./DonutChart/index.js');
|
|
9
|
-
var index$10 = require('./DropdownMenu/index.js');
|
|
10
|
-
var index$13 = require('./SegmentControl/index.js');
|
|
11
|
-
var index$S = require('./StepProgress/index.js');
|
|
12
|
-
var index$11 = require('../coreX/BatchOperation/index.js');
|
|
13
|
-
var index$T = require('../coreX/ChartWithTooltip/index.js');
|
|
14
|
-
var index$Q = require('../coreX/Counting/index.js');
|
|
15
|
-
var index$J = require('../coreX/CronCalendar/index.js');
|
|
16
|
-
var index$H = require('../coreX/CronPlan/index.js');
|
|
17
|
-
var index$V = require('../coreX/DeprecatedDonutChart/index.js');
|
|
18
|
-
var index$M = require('../coreX/DropdownTransition/index.js');
|
|
19
|
-
var index$X = require('../coreX/GoBackButton/index.js');
|
|
20
|
-
var index$F = require('../coreX/I18nNameTag/index.js');
|
|
21
|
-
var index$I = require('../coreX/NamesTooltip/index.js');
|
|
22
|
-
var index$E = require('../coreX/OverflowTooltip/index.js');
|
|
23
|
-
var index$_ = require('../coreX/SidebarSubtitle/index.js');
|
|
24
|
-
var index$Z = require('../coreX/SortableList/index.js');
|
|
25
|
-
var index$Y = require('../coreX/SummaryTable/index.js');
|
|
26
|
-
var index$G = require('../coreX/SwitchWithText/index.js');
|
|
27
|
-
var index$P = require('../coreX/TruncatedTextWithTooltip/index.js');
|
|
28
|
-
var index$W = require('../coreX/UnitWithChart/index.js');
|
|
29
|
-
var index$m = require('./Alert/index.js');
|
|
30
|
-
var index$t = require('./Arch/index.js');
|
|
31
|
-
var index$o = require('./Badge/index.js');
|
|
32
|
-
var index$i = require('./Bit/index.js');
|
|
33
|
-
var index$h = require('./BitPerSecond/index.js');
|
|
34
|
-
var index$g = require('./Bps/index.js');
|
|
35
|
-
var index$4 = require('./Button/index.js');
|
|
36
|
-
var index$u = require('./ButtonGroup/index.js');
|
|
37
|
-
var index$d = require('./Byte/index.js');
|
|
38
|
-
var index$C = require('./Calendar/index.js');
|
|
39
|
-
var index$D = require('./Card/index.js');
|
|
40
|
-
var index$a = require('./Checkbox/index.js');
|
|
41
|
-
var index$q = require('./DeprecatedProgress/index.js');
|
|
42
|
-
var index$l = require('./Empty/index.js');
|
|
43
|
-
var ExpandableContainer = require('./ExpandableList/ExpandableContainer.js');
|
|
44
|
-
var ExpandableItem = require('./ExpandableList/ExpandableItem.js');
|
|
45
|
-
var index$b = require('./Fields/index.js');
|
|
46
|
-
var index$w = require('./Form/index.js');
|
|
47
|
-
var index$e = require('./Frequency/index.js');
|
|
48
|
-
var index$8 = require('./Input/index.js');
|
|
49
|
-
var index$k = require('./InputGroup/index.js');
|
|
50
|
-
var index$$ = require('./Link/index.js');
|
|
51
|
-
var index = require('./Loading/index.js');
|
|
52
|
-
var index$r = require('./message/index.js');
|
|
53
|
-
var index$5 = require('./Modal/index.js');
|
|
54
|
-
var index$1 = require('./Pagination/index.js');
|
|
55
|
-
var index$c = require('./Percent/index.js');
|
|
56
|
-
var index$p = require('./Radio/index.js');
|
|
57
|
-
var index$n = require('./SearchInput/index.js');
|
|
58
|
-
var index$j = require('./Second/index.js');
|
|
59
|
-
var index$2 = require('./Select/index.js');
|
|
60
|
-
var index$x = require('./SimplePagination/index.js');
|
|
61
|
-
var index$f = require('./Speed/index.js');
|
|
62
|
-
var index$B = require('./StatusCapsule/index.js');
|
|
63
|
-
var index$v = require('./Steps/index.js');
|
|
64
|
-
var index$6 = require('./Switch/index.js');
|
|
65
|
-
var index$3 = require('./Table/index.js');
|
|
66
|
-
var index$z = require('./TableForm/index.js');
|
|
67
|
-
var index$s = require('./Tag/index.js');
|
|
68
|
-
var index$9 = require('./TextArea/index.js');
|
|
69
|
-
var index$L = require('./Time/index.js');
|
|
70
|
-
var index$y = require('./TimeZoneSelect/index.js');
|
|
71
|
-
var index$A = require('./Token/index.js');
|
|
72
|
-
var index$7 = require('./Tooltip/index.js');
|
|
73
|
-
var index$K = require('./Truncate/index.js');
|
|
74
|
-
var index$12 = require('../coreX/DateRangePicker/index.js');
|
|
75
|
-
|
|
76
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
77
|
-
|
|
78
|
-
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
79
|
-
|
|
80
|
-
function getAntdKit() {
|
|
81
|
-
const kit = {
|
|
82
|
-
loading: index,
|
|
83
|
-
error: ({ error }) => /* @__PURE__ */ React__default.default.createElement("div", { className: "error" }, String(error)),
|
|
84
|
-
pagination: index$1.default,
|
|
85
|
-
select: index$2,
|
|
86
|
-
option: antd.Select.Option,
|
|
87
|
-
selectOptGroup: antd.Select.OptGroup,
|
|
88
|
-
table: index$3.default,
|
|
89
|
-
row: antd.Row,
|
|
90
|
-
col: antd.Col,
|
|
91
|
-
button: index$4,
|
|
92
|
-
modal: index$5,
|
|
93
|
-
dropdown: antd.Dropdown,
|
|
94
|
-
switch: index$6,
|
|
95
|
-
tooltip: index$7,
|
|
96
|
-
input: index$8,
|
|
97
|
-
textArea: index$9,
|
|
98
|
-
checkbox: index$a,
|
|
99
|
-
fields: index$b,
|
|
100
|
-
units: {
|
|
101
|
-
Percent: index$c,
|
|
102
|
-
Byte: index$d,
|
|
103
|
-
Frequency: index$e,
|
|
104
|
-
Speed: index$f,
|
|
105
|
-
Bps: index$g,
|
|
106
|
-
BitPerSecond: index$h,
|
|
107
|
-
Bit: index$i,
|
|
108
|
-
Second: index$j
|
|
109
|
-
},
|
|
110
|
-
inputGroup: index$k,
|
|
111
|
-
Empty: /* @__PURE__ */ React__default.default.createElement(index$l, null),
|
|
112
|
-
alert: index$m,
|
|
113
|
-
searchInput: index$n,
|
|
114
|
-
badge: index$o,
|
|
115
|
-
radio: index$p.default,
|
|
116
|
-
radioGroup: index$p.RadioGroup,
|
|
117
|
-
radioButton: index$p.RadioButton,
|
|
118
|
-
tree: antd.Tree,
|
|
119
|
-
DeprecatedProgress: index$q,
|
|
120
|
-
divider: antd.Divider,
|
|
121
|
-
skeleton: antd.Skeleton,
|
|
122
|
-
skeletonButton: antd.Skeleton.Button,
|
|
123
|
-
list: antd.List,
|
|
124
|
-
listItem: antd.List.Item,
|
|
125
|
-
menu: antd.Menu,
|
|
126
|
-
menuItem: antd.Menu.Item,
|
|
127
|
-
menuItemGroup: antd.Menu.ItemGroup,
|
|
128
|
-
layout: antd.Layout,
|
|
129
|
-
autoComplete: antd.AutoComplete,
|
|
130
|
-
message: index$r.default,
|
|
131
|
-
tag: index$s.default,
|
|
132
|
-
popover: antd.Popover,
|
|
133
|
-
arch: index$t,
|
|
134
|
-
buttonGroup: index$u.default,
|
|
135
|
-
steps: index$v,
|
|
136
|
-
form: index$w,
|
|
137
|
-
simplePagination: index$x,
|
|
138
|
-
space: antd.Space,
|
|
139
|
-
timeZoneSelect: index$y,
|
|
140
|
-
timeline: antd.Timeline,
|
|
141
|
-
timelineItem: antd.Timeline.Item,
|
|
142
|
-
checkboxGroup: antd.Checkbox.Group,
|
|
143
|
-
typographyText: antd.Typography.Text,
|
|
144
|
-
upload: antd.Upload,
|
|
145
|
-
datePickerRangePicker: antd.DatePicker.RangePicker,
|
|
146
|
-
tableForm: index$z,
|
|
147
|
-
token: index$A.default,
|
|
148
|
-
statusCapsule: index$B.default,
|
|
149
|
-
uploadDragger: antd.Upload.Dragger,
|
|
150
|
-
calendar: index$C,
|
|
151
|
-
timePicker: antd.TimePicker,
|
|
152
|
-
datePicker: antd.DatePicker,
|
|
153
|
-
tabs: antd.Tabs,
|
|
154
|
-
tabsTabPane: antd.Tabs.TabPane,
|
|
155
|
-
antdBadge: antd.Badge,
|
|
156
|
-
antdMessage: antd.message,
|
|
157
|
-
antdButton: antd.Button,
|
|
158
|
-
antdSelect: antd.Select,
|
|
159
|
-
antdTooltip: antd.Tooltip,
|
|
160
|
-
antdModal: antd.Modal,
|
|
161
|
-
antdInput: antd.Input,
|
|
162
|
-
antdTable: antd.Table,
|
|
163
|
-
antdEmpty: antd.Empty,
|
|
164
|
-
antdCheckbox: antd.Checkbox,
|
|
165
|
-
antdSwitch: antd.Switch,
|
|
166
|
-
antdCollapse: antd.Collapse,
|
|
167
|
-
antdTreeSelect: antd.TreeSelect,
|
|
168
|
-
antdDrawer: antd.Drawer,
|
|
169
|
-
antdSteps: antd.Steps,
|
|
170
|
-
card: index$D,
|
|
171
|
-
overflowTooltip: index$E,
|
|
172
|
-
I18nNameTag: index$F,
|
|
173
|
-
SwitchWithText: index$G,
|
|
174
|
-
CronPlan: index$H.default,
|
|
175
|
-
NamesTooltip: index$I,
|
|
176
|
-
CronCalendar: index$J,
|
|
177
|
-
truncate: index$K,
|
|
178
|
-
expandableList: {
|
|
179
|
-
ExpandableContainer,
|
|
180
|
-
ExpandableItem
|
|
181
|
-
},
|
|
182
|
-
time: index$L,
|
|
183
|
-
DropdownTransition: index$M,
|
|
184
|
-
AccordionCard: index$N,
|
|
185
|
-
DetailCard: index$O,
|
|
186
|
-
TruncatedTextWithTooltip: index$P,
|
|
187
|
-
Counting: index$Q,
|
|
188
|
-
Breadcrumb: index$R.default,
|
|
189
|
-
CircleProgress: index$S.CircleProgress,
|
|
190
|
-
ChartWithTooltip: index$T.default,
|
|
191
|
-
ChartWithUnit: index$T.ChartWithUnit,
|
|
192
|
-
DonutChart: index$U.default,
|
|
193
|
-
DeprecatedDonutChart: index$V,
|
|
194
|
-
UnitWithChart: index$W.default,
|
|
195
|
-
GoBackButton: index$X,
|
|
196
|
-
SummaryTable: index$Y.default,
|
|
197
|
-
SortableList: index$Z,
|
|
198
|
-
SidebarSubtitle: index$_,
|
|
199
|
-
Link: index$$,
|
|
200
|
-
DropdownMenu: index$10.default,
|
|
201
|
-
BatchOperation: index$11.default,
|
|
202
|
-
DateRangePicker: index$12.default,
|
|
203
|
-
SegmentedControl: index$13
|
|
204
|
-
};
|
|
205
|
-
kit.option.isSelectOption = true;
|
|
206
|
-
kit.button.__ANT_BUTTON = true;
|
|
207
|
-
return kit;
|
|
208
|
-
}
|
|
209
|
-
const antdKit = getAntdKit();
|
|
210
|
-
|
|
211
|
-
exports.antdKit = antdKit;
|
|
212
|
-
exports.getAntdKit = getAntdKit;
|
package/dist/esm/core/antd.js
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { Select as Select$1, Row, Col, Dropdown, Tree, Divider, Skeleton, List, Menu, Layout, AutoComplete, Popover, Space, Timeline, Checkbox as Checkbox$1, Typography, Upload, DatePicker, TimePicker, Tabs, Badge as Badge$1, message, Button as Button$1, Tooltip as Tooltip$1, Modal as Modal$1, Input as Input$1, Table as Table$1, Empty as Empty$1, Switch as Switch$1, Collapse, TreeSelect, Drawer, Steps as Steps$1 } from 'antd';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import AccordionCard from './AccordionCard/index.js';
|
|
4
|
-
import Breadcrumb from './Breadcrumb/index.js';
|
|
5
|
-
import DetailCard from './DetailCard/index.js';
|
|
6
|
-
import DonutChart from './DonutChart/index.js';
|
|
7
|
-
import DropdownMenu from './DropdownMenu/index.js';
|
|
8
|
-
import SegmentControl from './SegmentControl/index.js';
|
|
9
|
-
import { CircleProgress } from './StepProgress/index.js';
|
|
10
|
-
import BatchOperation from '../coreX/BatchOperation/index.js';
|
|
11
|
-
import ChartWithTooltip, { ChartWithUnit } from '../coreX/ChartWithTooltip/index.js';
|
|
12
|
-
import Counting from '../coreX/Counting/index.js';
|
|
13
|
-
import CronCalendar from '../coreX/CronCalendar/index.js';
|
|
14
|
-
import CronPlan from '../coreX/CronPlan/index.js';
|
|
15
|
-
import DeprecatedDonutChart from '../coreX/DeprecatedDonutChart/index.js';
|
|
16
|
-
import DropdownTransition from '../coreX/DropdownTransition/index.js';
|
|
17
|
-
import GoBackButton from '../coreX/GoBackButton/index.js';
|
|
18
|
-
import I18nNameTag from '../coreX/I18nNameTag/index.js';
|
|
19
|
-
import NamesTooltip from '../coreX/NamesTooltip/index.js';
|
|
20
|
-
import OverflowTooltip from '../coreX/OverflowTooltip/index.js';
|
|
21
|
-
import SidebarSubtitle from '../coreX/SidebarSubtitle/index.js';
|
|
22
|
-
import SortableList from '../coreX/SortableList/index.js';
|
|
23
|
-
import SummaryTable from '../coreX/SummaryTable/index.js';
|
|
24
|
-
import SwitchWithText from '../coreX/SwitchWithText/index.js';
|
|
25
|
-
import TruncatedTextWithTooltip from '../coreX/TruncatedTextWithTooltip/index.js';
|
|
26
|
-
import UnitWithChart from '../coreX/UnitWithChart/index.js';
|
|
27
|
-
import Alert from './Alert/index.js';
|
|
28
|
-
import Arch from './Arch/index.js';
|
|
29
|
-
import Badge from './Badge/index.js';
|
|
30
|
-
import Bit from './Bit/index.js';
|
|
31
|
-
import BitPerSecond from './BitPerSecond/index.js';
|
|
32
|
-
import Bps from './Bps/index.js';
|
|
33
|
-
import Button from './Button/index.js';
|
|
34
|
-
import ButtonGroup from './ButtonGroup/index.js';
|
|
35
|
-
import Byte from './Byte/index.js';
|
|
36
|
-
import Calendar from './Calendar/index.js';
|
|
37
|
-
import Card from './Card/index.js';
|
|
38
|
-
import Checkbox from './Checkbox/index.js';
|
|
39
|
-
import DeprecatedProgress from './DeprecatedProgress/index.js';
|
|
40
|
-
import Empty from './Empty/index.js';
|
|
41
|
-
import ExpandableContainer from './ExpandableList/ExpandableContainer.js';
|
|
42
|
-
import ExpandableItem from './ExpandableList/ExpandableItem.js';
|
|
43
|
-
import fields from './Fields/index.js';
|
|
44
|
-
import Form from './Form/index.js';
|
|
45
|
-
import Frequency from './Frequency/index.js';
|
|
46
|
-
import Input from './Input/index.js';
|
|
47
|
-
import InputGroup from './InputGroup/index.js';
|
|
48
|
-
import Link from './Link/index.js';
|
|
49
|
-
import Loading from './Loading/index.js';
|
|
50
|
-
import _message from './message/index.js';
|
|
51
|
-
import Modal from './Modal/index.js';
|
|
52
|
-
import Pagination from './Pagination/index.js';
|
|
53
|
-
import Percent from './Percent/index.js';
|
|
54
|
-
import Radio, { RadioGroup, RadioButton } from './Radio/index.js';
|
|
55
|
-
import SearchInput from './SearchInput/index.js';
|
|
56
|
-
import Second from './Second/index.js';
|
|
57
|
-
import Select from './Select/index.js';
|
|
58
|
-
import SimplePagination from './SimplePagination/index.js';
|
|
59
|
-
import Speed from './Speed/index.js';
|
|
60
|
-
import StatusCapsule from './StatusCapsule/index.js';
|
|
61
|
-
import Steps from './Steps/index.js';
|
|
62
|
-
import Switch from './Switch/index.js';
|
|
63
|
-
import Table from './Table/index.js';
|
|
64
|
-
import TableForm from './TableForm/index.js';
|
|
65
|
-
import Tag from './Tag/index.js';
|
|
66
|
-
import TextArea from './TextArea/index.js';
|
|
67
|
-
import Time from './Time/index.js';
|
|
68
|
-
import TimeZoneSelect from './TimeZoneSelect/index.js';
|
|
69
|
-
import Token from './Token/index.js';
|
|
70
|
-
import Tooltip from './Tooltip/index.js';
|
|
71
|
-
import Truncate from './Truncate/index.js';
|
|
72
|
-
import DateRangePicker from '../coreX/DateRangePicker/index.js';
|
|
73
|
-
|
|
74
|
-
function getAntdKit() {
|
|
75
|
-
const kit = {
|
|
76
|
-
loading: Loading,
|
|
77
|
-
error: ({ error }) => /* @__PURE__ */ React__default.createElement("div", { className: "error" }, String(error)),
|
|
78
|
-
pagination: Pagination,
|
|
79
|
-
select: Select,
|
|
80
|
-
option: Select$1.Option,
|
|
81
|
-
selectOptGroup: Select$1.OptGroup,
|
|
82
|
-
table: Table,
|
|
83
|
-
row: Row,
|
|
84
|
-
col: Col,
|
|
85
|
-
button: Button,
|
|
86
|
-
modal: Modal,
|
|
87
|
-
dropdown: Dropdown,
|
|
88
|
-
switch: Switch,
|
|
89
|
-
tooltip: Tooltip,
|
|
90
|
-
input: Input,
|
|
91
|
-
textArea: TextArea,
|
|
92
|
-
checkbox: Checkbox,
|
|
93
|
-
fields,
|
|
94
|
-
units: {
|
|
95
|
-
Percent,
|
|
96
|
-
Byte,
|
|
97
|
-
Frequency,
|
|
98
|
-
Speed,
|
|
99
|
-
Bps,
|
|
100
|
-
BitPerSecond,
|
|
101
|
-
Bit,
|
|
102
|
-
Second
|
|
103
|
-
},
|
|
104
|
-
inputGroup: InputGroup,
|
|
105
|
-
Empty: /* @__PURE__ */ React__default.createElement(Empty, null),
|
|
106
|
-
alert: Alert,
|
|
107
|
-
searchInput: SearchInput,
|
|
108
|
-
badge: Badge,
|
|
109
|
-
radio: Radio,
|
|
110
|
-
radioGroup: RadioGroup,
|
|
111
|
-
radioButton: RadioButton,
|
|
112
|
-
tree: Tree,
|
|
113
|
-
DeprecatedProgress,
|
|
114
|
-
divider: Divider,
|
|
115
|
-
skeleton: Skeleton,
|
|
116
|
-
skeletonButton: Skeleton.Button,
|
|
117
|
-
list: List,
|
|
118
|
-
listItem: List.Item,
|
|
119
|
-
menu: Menu,
|
|
120
|
-
menuItem: Menu.Item,
|
|
121
|
-
menuItemGroup: Menu.ItemGroup,
|
|
122
|
-
layout: Layout,
|
|
123
|
-
autoComplete: AutoComplete,
|
|
124
|
-
message: _message,
|
|
125
|
-
tag: Tag,
|
|
126
|
-
popover: Popover,
|
|
127
|
-
arch: Arch,
|
|
128
|
-
buttonGroup: ButtonGroup,
|
|
129
|
-
steps: Steps,
|
|
130
|
-
form: Form,
|
|
131
|
-
simplePagination: SimplePagination,
|
|
132
|
-
space: Space,
|
|
133
|
-
timeZoneSelect: TimeZoneSelect,
|
|
134
|
-
timeline: Timeline,
|
|
135
|
-
timelineItem: Timeline.Item,
|
|
136
|
-
checkboxGroup: Checkbox$1.Group,
|
|
137
|
-
typographyText: Typography.Text,
|
|
138
|
-
upload: Upload,
|
|
139
|
-
datePickerRangePicker: DatePicker.RangePicker,
|
|
140
|
-
tableForm: TableForm,
|
|
141
|
-
token: Token,
|
|
142
|
-
statusCapsule: StatusCapsule,
|
|
143
|
-
uploadDragger: Upload.Dragger,
|
|
144
|
-
calendar: Calendar,
|
|
145
|
-
timePicker: TimePicker,
|
|
146
|
-
datePicker: DatePicker,
|
|
147
|
-
tabs: Tabs,
|
|
148
|
-
tabsTabPane: Tabs.TabPane,
|
|
149
|
-
antdBadge: Badge$1,
|
|
150
|
-
antdMessage: message,
|
|
151
|
-
antdButton: Button$1,
|
|
152
|
-
antdSelect: Select$1,
|
|
153
|
-
antdTooltip: Tooltip$1,
|
|
154
|
-
antdModal: Modal$1,
|
|
155
|
-
antdInput: Input$1,
|
|
156
|
-
antdTable: Table$1,
|
|
157
|
-
antdEmpty: Empty$1,
|
|
158
|
-
antdCheckbox: Checkbox$1,
|
|
159
|
-
antdSwitch: Switch$1,
|
|
160
|
-
antdCollapse: Collapse,
|
|
161
|
-
antdTreeSelect: TreeSelect,
|
|
162
|
-
antdDrawer: Drawer,
|
|
163
|
-
antdSteps: Steps$1,
|
|
164
|
-
card: Card,
|
|
165
|
-
overflowTooltip: OverflowTooltip,
|
|
166
|
-
I18nNameTag,
|
|
167
|
-
SwitchWithText,
|
|
168
|
-
CronPlan,
|
|
169
|
-
NamesTooltip,
|
|
170
|
-
CronCalendar,
|
|
171
|
-
truncate: Truncate,
|
|
172
|
-
expandableList: {
|
|
173
|
-
ExpandableContainer,
|
|
174
|
-
ExpandableItem
|
|
175
|
-
},
|
|
176
|
-
time: Time,
|
|
177
|
-
DropdownTransition,
|
|
178
|
-
AccordionCard,
|
|
179
|
-
DetailCard,
|
|
180
|
-
TruncatedTextWithTooltip,
|
|
181
|
-
Counting,
|
|
182
|
-
Breadcrumb,
|
|
183
|
-
CircleProgress,
|
|
184
|
-
ChartWithTooltip,
|
|
185
|
-
ChartWithUnit,
|
|
186
|
-
DonutChart,
|
|
187
|
-
DeprecatedDonutChart,
|
|
188
|
-
UnitWithChart,
|
|
189
|
-
GoBackButton,
|
|
190
|
-
SummaryTable,
|
|
191
|
-
SortableList,
|
|
192
|
-
SidebarSubtitle,
|
|
193
|
-
Link,
|
|
194
|
-
DropdownMenu,
|
|
195
|
-
BatchOperation,
|
|
196
|
-
DateRangePicker,
|
|
197
|
-
SegmentedControl: SegmentControl
|
|
198
|
-
};
|
|
199
|
-
kit.option.isSelectOption = true;
|
|
200
|
-
kit.button.__ANT_BUTTON = true;
|
|
201
|
-
return kit;
|
|
202
|
-
}
|
|
203
|
-
const antdKit = getAntdKit();
|
|
204
|
-
|
|
205
|
-
export { antdKit, getAntdKit };
|
package/dist/src/spec/type.d.ts
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SegmentedProps as AntdSegmentedProps } from "antd5";
|
|
3
|
-
import type { History, Location as HistoryLocation } from "history";
|
|
4
|
-
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
5
|
-
export declare enum Architecture {
|
|
6
|
-
Aarch64 = "AARCH64",
|
|
7
|
-
X86_64 = "X86_64"
|
|
8
|
-
}
|
|
9
|
-
export interface AdditionOptions {
|
|
10
|
-
/**
|
|
11
|
-
* 使用变量控制是否显示 error 效果
|
|
12
|
-
*/
|
|
13
|
-
error?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* 是否显示箭头按钮,用于加减数值
|
|
16
|
-
*/
|
|
17
|
-
controls?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* 开启 control 后,不会显示 suffix
|
|
20
|
-
*/
|
|
21
|
-
suffix?: string;
|
|
22
|
-
}
|
|
23
|
-
export type SizeType = "small" | "middle" | "large";
|
|
24
|
-
export interface ISpaceProps {
|
|
25
|
-
prefixCls?: string;
|
|
26
|
-
className?: string;
|
|
27
|
-
style?: React.CSSProperties;
|
|
28
|
-
size?: SizeType | number;
|
|
29
|
-
direction?: "horizontal" | "vertical";
|
|
30
|
-
align?: "start" | "end" | "center" | "baseline";
|
|
31
|
-
}
|
|
32
|
-
export interface ITimeZoneSelectProps {
|
|
33
|
-
value: string | undefined;
|
|
34
|
-
onChange: (value: string) => void;
|
|
35
|
-
defaultUseBrowserTime?: boolean;
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
className?: string;
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
defaultOptionValue?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface ITimeProps {
|
|
42
|
-
className?: string;
|
|
43
|
-
date?: string | number | Date | null;
|
|
44
|
-
dateTemplate?: string | null;
|
|
45
|
-
timeTemplate?: string | null;
|
|
46
|
-
plainText?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export type DropdownTransitionProps = {
|
|
49
|
-
visible: boolean;
|
|
50
|
-
} & CSSTransitionProps;
|
|
51
|
-
export interface IAccordionCardProps {
|
|
52
|
-
header: React.ReactNode | ((active: boolean) => React.ReactNode);
|
|
53
|
-
expand: React.ReactNode;
|
|
54
|
-
className?: string;
|
|
55
|
-
defaultExpand?: boolean;
|
|
56
|
-
mountOnEnter?: boolean;
|
|
57
|
-
unmountOnExit?: boolean;
|
|
58
|
-
}
|
|
59
|
-
export interface IDetailCardProps {
|
|
60
|
-
title?: React.ReactNode;
|
|
61
|
-
}
|
|
62
|
-
export interface ICountingProps {
|
|
63
|
-
stop?: boolean;
|
|
64
|
-
interval?: number;
|
|
65
|
-
render: () => React.ReactNode;
|
|
66
|
-
}
|
|
67
|
-
export interface BreadcrumbLink {
|
|
68
|
-
name: string;
|
|
69
|
-
id?: string;
|
|
70
|
-
resource: string;
|
|
71
|
-
tab?: string;
|
|
72
|
-
onClick: React.MouseEventHandler<HTMLSpanElement>;
|
|
73
|
-
}
|
|
74
|
-
export interface IBreadcrumbProps {
|
|
75
|
-
items: BreadcrumbLink[];
|
|
76
|
-
}
|
|
77
|
-
export interface ICircleProgressProps {
|
|
78
|
-
percent: number;
|
|
79
|
-
color?: string;
|
|
80
|
-
className?: string;
|
|
81
|
-
}
|
|
82
|
-
export type PropsFrom<TComponent> = TComponent extends React.FC<infer Props> ? Props : TComponent extends React.Component<infer Props> ? Props : never;
|
|
83
|
-
export type HistoryType = Omit<History, "push" | "replace" | "location" | "length"> & {
|
|
84
|
-
push: {
|
|
85
|
-
(path: string, state?: HistoryLocation["state"]): void;
|
|
86
|
-
(location: any): void;
|
|
87
|
-
};
|
|
88
|
-
replace: {
|
|
89
|
-
(path: string, state?: HistoryLocation["state"]): void;
|
|
90
|
-
(location: any): void;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export interface IDropDownMenuItem {
|
|
94
|
-
type?: "single" | "group" | "divider";
|
|
95
|
-
key: string;
|
|
96
|
-
disabled?: boolean;
|
|
97
|
-
text?: string;
|
|
98
|
-
icon?: React.ReactElement;
|
|
99
|
-
hidden?: boolean;
|
|
100
|
-
onClick?: () => void;
|
|
101
|
-
danger?: boolean;
|
|
102
|
-
tooltip?: string;
|
|
103
|
-
}
|
|
104
|
-
export type Placement = "topLeft" | "topCenter" | "topRight" | "bottomLeft" | "bottomCenter" | "bottomRight";
|
|
105
|
-
export interface IDropdownMenuProps {
|
|
106
|
-
items: Array<IDropDownMenuItem & {
|
|
107
|
-
title?: string;
|
|
108
|
-
children?: Array<IDropDownMenuItem>;
|
|
109
|
-
}>;
|
|
110
|
-
disabled?: boolean;
|
|
111
|
-
placement?: Placement;
|
|
112
|
-
trigger?: ("click" | "hover" | "contextMenu")[];
|
|
113
|
-
customStyle?: {
|
|
114
|
-
content: string;
|
|
115
|
-
};
|
|
116
|
-
slotsElements: {
|
|
117
|
-
trigger?: (args: object) => string | React.ReactNode;
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
export type NormalAction = {
|
|
121
|
-
key: string;
|
|
122
|
-
icon?: React.ReactElement;
|
|
123
|
-
title: string;
|
|
124
|
-
onClick: () => void;
|
|
125
|
-
danger?: boolean;
|
|
126
|
-
count?: number;
|
|
127
|
-
disabled?: boolean;
|
|
128
|
-
tooltip?: string;
|
|
129
|
-
};
|
|
130
|
-
type SubAction = {
|
|
131
|
-
key: string;
|
|
132
|
-
icon?: React.ReactElement;
|
|
133
|
-
title: string;
|
|
134
|
-
children: Array<Action>;
|
|
135
|
-
danger?: boolean;
|
|
136
|
-
canMove?: {
|
|
137
|
-
id: string;
|
|
138
|
-
}[];
|
|
139
|
-
canDelete?: {
|
|
140
|
-
id: string;
|
|
141
|
-
}[];
|
|
142
|
-
};
|
|
143
|
-
export type Action = NormalAction | SubAction | "divider";
|
|
144
|
-
export interface IBatchOperation {
|
|
145
|
-
count: number;
|
|
146
|
-
onClearSelection: () => void;
|
|
147
|
-
actions: Action[];
|
|
148
|
-
}
|
|
149
|
-
export type PastTime = {
|
|
150
|
-
unit: "h" | "m" | "d";
|
|
151
|
-
value: number;
|
|
152
|
-
disabled?: boolean;
|
|
153
|
-
};
|
|
154
|
-
export interface ISegmentedControlProps extends Omit<AntdSegmentedProps, "ref"> {
|
|
155
|
-
size?: "small" | "middle";
|
|
156
|
-
}
|
|
157
|
-
export {};
|
|
File without changes
|
|
File without changes
|