@cloudtower/eagle 0.27.65 → 0.27.69-alpha.1
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 +1 -1
- package/dist/cjs/{core/antd.js → antd.js} +72 -72
- package/dist/cjs/antdReexport.js +149 -0
- package/dist/cjs/core/ButtonGroup/index.js +2 -1
- package/dist/cjs/core/Cascader/index.js +16 -0
- package/dist/cjs/core/DeprecatedProgress/index.js +29 -0
- package/dist/cjs/core/DonutChart/index.js +9 -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/components.js +111 -0
- package/dist/cjs/core/Progress/index.js +127 -13
- package/dist/cjs/core/Progress/progress.const.js +12 -0
- package/dist/cjs/core/Progress/progress.style.js +11 -0
- package/dist/cjs/core/Progress/progress.widgets.js +135 -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 +3 -1
- 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/index.js +453 -80
- 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/cjs/styles/token/animation.js +7 -0
- package/dist/cjs/styles/token/color.js +3 -0
- package/dist/cjs/utils/isStringArr.js +7 -0
- package/dist/components.css +3518 -3420
- package/dist/esm/UIKitProvider/index.js +1 -1
- package/dist/esm/antd.js +205 -0
- package/dist/esm/antdReexport.js +13 -0
- package/dist/esm/core/ButtonGroup/index.js +2 -1
- package/dist/esm/core/Cascader/index.js +3 -1
- package/dist/esm/core/DeprecatedProgress/index.js +23 -0
- package/dist/esm/core/DonutChart/index.js +9 -1
- 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/components.js +102 -0
- package/dist/esm/core/Progress/index.js +126 -13
- package/dist/esm/core/Progress/progress.const.js +10 -0
- package/dist/esm/core/Progress/progress.style.js +6 -0
- package/dist/esm/core/Progress/progress.widgets.js +128 -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/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/index.js +101 -16
- 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/esm/styles/token/animation.js +5 -0
- package/dist/esm/styles/token/color.js +3 -0
- package/dist/esm/utils/isStringArr.js +5 -0
- package/dist/src/{core/antd.d.ts → antd.d.ts} +1 -1
- package/dist/src/antdReexport.d.ts +39 -0
- package/dist/src/core/Cascader/index.d.ts +3 -0
- package/dist/src/core/DeprecatedProgress/index.d.ts +4 -0
- package/dist/src/core/ExpandableList/index.d.ts +8 -0
- package/dist/src/core/Fields/index.d.ts +3 -3
- package/dist/src/core/Progress/components.d.ts +10 -0
- package/dist/src/core/Progress/index.d.ts +5 -3
- package/dist/src/core/Progress/progress.const.d.ts +6 -0
- package/dist/src/core/Progress/progress.style.d.ts +4 -0
- package/dist/src/core/Progress/progress.type.d.ts +84 -0
- package/dist/src/core/Progress/progress.widgets.d.ts +4 -0
- package/dist/src/core/StatusCapsule/index.d.ts +1 -1
- 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/Tag/const.d.ts +1 -1
- package/dist/src/core/Tag/index.d.ts +1 -1
- package/dist/src/core/Token/index.d.ts +1 -1
- package/dist/src/core/Tooltip/index.d.ts +1 -0
- package/dist/src/core/index.d.ts +138 -22
- package/dist/src/coreX/DateRangePicker/index.d.ts +1 -1
- 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 +4 -37
- package/dist/src/spec/base.d.ts +9 -9
- package/dist/src/spec/type.d.ts +9 -0
- package/dist/src/styles/token/animation.d.ts +3 -0
- package/dist/src/styles/token/color.d.ts +3 -0
- package/dist/src/styles/token/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/isStringArr.d.ts +1 -0
- 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/Frequency.stories.d.ts +6 -6
- package/dist/stories/docs/core/Icon.stories.d.ts +6 -6
- package/dist/stories/docs/core/InputInteger.stories.d.ts +28 -0
- package/dist/stories/docs/core/Percent.stories.d.ts +10 -10
- package/dist/stories/docs/core/Progress/Progress.stories.d.ts +24 -0
- package/dist/stories/docs/core/Progress/Progress.widgets.stories.d.ts +24 -0
- package/dist/stories/docs/core/Progress/RichProgress.stories.d.ts +37 -0
- package/dist/stories/docs/core/Progress/SimpleProgress.stories.d.ts +15 -0
- 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/Tooltip.stories.d.ts +1 -1
- package/dist/style.css +3661 -3570
- package/package.json +5 -5
- package/dist/cjs/spec/type.js +0 -9
- package/dist/esm/core/antd.js +0 -205
- package/dist/esm/spec/type.js +0 -7
package/dist/esm/store/chart.js
CHANGED
|
@@ -17,6 +17,12 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
var ChartActions = /* @__PURE__ */ ((ChartActions2) => {
|
|
21
|
+
ChartActions2["SET_POINTER"] = "SET_POINTER";
|
|
22
|
+
ChartActions2["SET_RESOURCE_DATA"] = "SET_RESOURCE_DATA";
|
|
23
|
+
ChartActions2["SET_AVERAGE_DATA"] = "SET_AVERAGE_DATA";
|
|
24
|
+
return ChartActions2;
|
|
25
|
+
})(ChartActions || {});
|
|
20
26
|
const initialChartState = {
|
|
21
27
|
pointers: {},
|
|
22
28
|
resourceData: {},
|
|
@@ -59,4 +65,4 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
59
65
|
}
|
|
60
66
|
};
|
|
61
67
|
|
|
62
|
-
export { chartReducer, initialChartState };
|
|
68
|
+
export { ChartActions, chartReducer, initialChartState };
|
package/dist/esm/store/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { combineReducers, createStore } from 'redux';
|
|
2
2
|
import { chartReducer, initialChartState } from './chart.js';
|
|
3
|
+
export { ChartActions } from './chart.js';
|
|
3
4
|
import { modalReducer, ModalActions, initialModalState } from './modal.js';
|
|
4
5
|
|
|
5
6
|
const appReducer = combineReducers({
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MenuItemGroupProps } from "antd/lib/menu";
|
|
3
|
+
export { Badge as AntdBadge, Button as AntdButton, Checkbox as AntdCheckbox, Collapse as AntdCollapse, Divider as AntdDivider, Drawer as AntdDrawer, Empty as AntdEmpty, Input as AntdInput, message as AntdMessage, Modal as AntdModal, Select as AntdSelect, Steps as AntdSteps, Switch as AntdSwitch, Table as AntdTable, TimePicker as AntdTimePicker, Tooltip as AntdTooltip, TreeSelect as AntdTreeSelect, AutoComplete, Col, DatePicker, Dropdown, Layout, List, Menu, Popover, Row, Skeleton, Tabs, Timeline, Tree, Typography, Upload, } from "antd";
|
|
4
|
+
export declare const DatePickerRangePicker: import("react").ComponentClass<import("antd/lib/date-picker/generatePicker").RangePickerProps<import("moment").Moment>, any>;
|
|
5
|
+
export declare const ListItem: import("antd/lib/list/Item").ListItemTypeProps;
|
|
6
|
+
export declare const MenuItemGroup: import("react").ComponentType<MenuItemGroupProps>;
|
|
7
|
+
export declare const SkeletonButton: {
|
|
8
|
+
(props: import("antd/lib/skeleton/Button").SkeletonButtonProps): JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
size: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const TabsTabPane: typeof import("rc-tabs").TabPane;
|
|
14
|
+
export declare const TimelineItem: import("react").FC<import("antd/lib/timeline").TimeLineItemProps>;
|
|
15
|
+
export declare const TypographyText: import("react").FC<import("antd/lib/typography/Text").TextProps>;
|
|
16
|
+
export declare const UploadDragger: typeof import("antd/lib/upload/Dragger").default;
|
|
17
|
+
export type { ButtonProps as AntdButtonProps } from "antd/lib/button";
|
|
18
|
+
export type { CheckboxChangeEvent as AntdCheckboxChangeEvent } from "antd/lib/checkbox";
|
|
19
|
+
export type { ColProps as AntdColProps } from "antd/lib/col";
|
|
20
|
+
export type { DatePickerProps as AntdDatePickerProps } from "antd/lib/date-picker";
|
|
21
|
+
export type { DrawerProps as AntdDrawerProps } from "antd/lib/drawer";
|
|
22
|
+
export type { DropDownProps as AntdDropDownProps } from "antd/lib/dropdown";
|
|
23
|
+
export type { TextAreaProps as AntdTextAreaProps } from "antd/lib/input";
|
|
24
|
+
export type { InputProps as AntdInputProps } from "antd/lib/input";
|
|
25
|
+
export type { InputNumberProps as AntdInputNumberProps } from "antd/lib/input-number";
|
|
26
|
+
export type { MenuProps as AntdMenuProps } from "antd/lib/menu";
|
|
27
|
+
export type { ModalProps as AntdModalProps } from "antd/lib/modal";
|
|
28
|
+
export type { ProgressProps as AntdProgressProps } from "antd/lib/progress";
|
|
29
|
+
export type { RadioChangeEvent } from "antd/lib/radio";
|
|
30
|
+
export type { RowProps as AntdRowProps } from "antd/lib/row";
|
|
31
|
+
export type { SelectProps as AntdSelectProps } from "antd/lib/select";
|
|
32
|
+
export type { TableProps as AntdTableProps } from "antd/lib/table";
|
|
33
|
+
export type { ColumnsType as AntdColumnsType, ColumnType as AntdColumnType, TableRowSelection as AntdTableRowSelection, } from "antd/lib/table/interface";
|
|
34
|
+
export type { TabsProps as AntdTabsProps } from "antd/lib/tabs";
|
|
35
|
+
export type { TooltipPropsWithTitle as AntdTooltipPropsWithTitle } from "antd/lib/tooltip";
|
|
36
|
+
export type { DataNode as AntdDataNode, TreeProps as AntdTreeProps, } from "antd/lib/tree";
|
|
37
|
+
export type { TreeSelectProps as AntdTreeSelectProps } from "antd/lib/tree-select";
|
|
38
|
+
export type { RcFile as AntdRcFile, UploadProps as AntdUploadProps, } from "antd/lib/upload";
|
|
39
|
+
export type { CustomTagProps as AntdCustomTagProps } from "rc-select/lib/interface/generator";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./ExpandableContainer";
|
|
2
|
+
export { default as ExpandableContainer } from "./ExpandableContainer";
|
|
3
|
+
export * from "./ExpandableItem";
|
|
4
|
+
export { default as ExpandableItem } from "./ExpandableItem";
|
|
5
|
+
export * from "./ExpandIcon";
|
|
6
|
+
export { default as ExpandIcon } from "./ExpandIcon";
|
|
7
|
+
export * from "./RoundOrder";
|
|
8
|
+
export { default as RoundOrder } from "./RoundOrder";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
declare const fields: {
|
|
3
3
|
Int: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: import("../..").IntFieldProps) => JSX.Element;
|
|
4
4
|
Integer: ({ meta, input, onBlur, ...props }: import("../..").IntegerFieldProps) => JSX.Element;
|
|
5
|
-
Float: ({ input, meta, onBlur, autoComplete, ...props }: import("
|
|
6
|
-
DateTime: ({ input }: import("
|
|
5
|
+
Float: ({ input, meta, onBlur, autoComplete, ...props }: import("../..").FloatFieldProps) => JSX.Element;
|
|
6
|
+
DateTime: ({ input }: import("../..").FieldBaseProps) => JSX.Element;
|
|
7
7
|
TimePicker: ({ input, meta, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
className?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const fields: {
|
|
|
13
13
|
disabled?: boolean | undefined;
|
|
14
14
|
className?: string | undefined;
|
|
15
15
|
} & import("../..").StringProps) => JSX.Element;
|
|
16
|
-
Boolean: ({ input, children, ...props }: import("
|
|
16
|
+
Boolean: ({ input, children, ...props }: import("../..").FieldBaseProps) => JSX.Element;
|
|
17
17
|
TextArea: ({ input, meta, onFocusChangeHeight, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
18
18
|
disabled?: boolean | undefined;
|
|
19
19
|
className?: string | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconFieldProps, InfoProps } from "../../core/Progress/progress.type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const StatusIconMap: {
|
|
4
|
+
success: JSX.Element;
|
|
5
|
+
failed: JSX.Element;
|
|
6
|
+
paused: JSX.Element;
|
|
7
|
+
active: JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export declare const IconField: React.FC<IconFieldProps>;
|
|
10
|
+
export declare const Info: React.FC<InfoProps>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import { ProgressProps } from "../../core/Progress/progress.type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const Progress: React.FC<ProgressProps>;
|
|
4
|
+
export * from "./progress.type";
|
|
5
|
+
export * from "./progress.widgets";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const DescriptionStyle: import("@linaria/core").LinariaClassName;
|
|
2
|
+
export declare const FlexFullContentStyle: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const BaseProgressStyle: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const ProgressStyle: import("@linaria/core").LinariaClassName;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SrcType } from "../../core/BaseIcon";
|
|
3
|
+
import type { LinkProps, TagProps } from "../../spec";
|
|
4
|
+
export type ComponentType = "tag" | "title" | "description" | "link" | "iconField";
|
|
5
|
+
export type TitleAreaProps = {
|
|
6
|
+
title: string;
|
|
7
|
+
tag?: TagProps;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
};
|
|
10
|
+
export type AreaProps = {
|
|
11
|
+
/**
|
|
12
|
+
* 组件间的间距
|
|
13
|
+
*/
|
|
14
|
+
gap?: number;
|
|
15
|
+
/**
|
|
16
|
+
* 组件分割符
|
|
17
|
+
*/
|
|
18
|
+
split?: React.ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 需要连接在一起的组件,支持配置 ComponentType 类型的组件
|
|
22
|
+
*/
|
|
23
|
+
items: Items;
|
|
24
|
+
};
|
|
25
|
+
export type InfoProps = {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
type: "title" | "description";
|
|
28
|
+
multiLines: number;
|
|
29
|
+
};
|
|
30
|
+
export type IconFieldProps = {
|
|
31
|
+
className?: string;
|
|
32
|
+
status?: "success" | "failed" | "paused" | "active";
|
|
33
|
+
src: SrcType;
|
|
34
|
+
children: React.ReactNode;
|
|
35
|
+
};
|
|
36
|
+
export type Items = ({
|
|
37
|
+
type: ComponentType;
|
|
38
|
+
} & ComponentPropsMap[ComponentType])[];
|
|
39
|
+
export type ComponentPropsMap = {
|
|
40
|
+
tag: TagProps;
|
|
41
|
+
title: InfoProps;
|
|
42
|
+
description: InfoProps;
|
|
43
|
+
iconField: IconFieldProps;
|
|
44
|
+
link: Omit<LinkProps, "type"> & {
|
|
45
|
+
linkType: LinkProps["type"];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type ProgressProps = {
|
|
49
|
+
/**
|
|
50
|
+
* progress 的类型,分为基础进度条、简单进度条和富格式进度条
|
|
51
|
+
*/
|
|
52
|
+
type?: "base" | "simple" | "rich";
|
|
53
|
+
/**
|
|
54
|
+
* 进度条的状态
|
|
55
|
+
*/
|
|
56
|
+
status?: "success" | "failed" | "paused" | "active";
|
|
57
|
+
/**
|
|
58
|
+
* indeterminate 指定为 true 时,进度条仅表示加载状态,无具体进度。用于不确定任务花费多长时间,一般配合加载完成时,进度条消失的场景使用
|
|
59
|
+
*/
|
|
60
|
+
indeterminate?: boolean;
|
|
61
|
+
className?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 进度
|
|
64
|
+
*/
|
|
65
|
+
percent?: number;
|
|
66
|
+
/**
|
|
67
|
+
* 进度条左上方区域
|
|
68
|
+
*/
|
|
69
|
+
leftTop?: React.ReactNode;
|
|
70
|
+
/**
|
|
71
|
+
* 进度条左下方区域
|
|
72
|
+
*/
|
|
73
|
+
leftBottom?: React.ReactNode;
|
|
74
|
+
/**
|
|
75
|
+
* 进度条右上方区域
|
|
76
|
+
*/
|
|
77
|
+
rightTop?: React.ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* 进度条右下方区域
|
|
80
|
+
*/
|
|
81
|
+
rightBottom?: React.ReactNode;
|
|
82
|
+
size?: "small" | "large";
|
|
83
|
+
style?: React.CSSProperties;
|
|
84
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StatusCapsuleColor, StatusCapsuleComponentType } from "../../spec";
|
|
2
2
|
import React from "react";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const StatusPresetColors: StatusCapsuleColor[];
|
|
4
4
|
export declare const StatusIcon: React.FC<{
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
}>;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ColumnHeaderImpls: {
|
|
3
|
-
text: import("react").FC<import("
|
|
4
|
-
input: import("react").FC<Omit<import("
|
|
3
|
+
text: import("react").FC<import("..").ColumnHeaderCellProps>;
|
|
4
|
+
input: import("react").FC<Omit<import("..").ColumnHeaderCellProps, "onBlur" | "onChange"> & {
|
|
5
5
|
onChange: (value: any) => void;
|
|
6
6
|
onBlur: () => void;
|
|
7
7
|
}>;
|
|
8
|
-
password: import("react").FC<Omit<import("
|
|
8
|
+
password: import("react").FC<Omit<import("..").ColumnHeaderCellProps, "onBlur" | "onChange"> & {
|
|
9
9
|
onChange: (value: any) => void;
|
|
10
10
|
onBlur: () => void;
|
|
11
11
|
}>;
|
|
12
|
-
affix: import("react").FC<Omit<import("
|
|
12
|
+
affix: import("react").FC<Omit<import("..").ColumnHeaderCellProps, "onBlur" | "onChange"> & {
|
|
13
13
|
onChange: (value: any) => void;
|
|
14
14
|
onBlur: () => void;
|
|
15
15
|
}>;
|
|
16
|
-
checkbox: import("react").FC<Omit<import("
|
|
16
|
+
checkbox: import("react").FC<Omit<import("..").ColumnHeaderCellProps, "onBlur" | "onChange"> & {
|
|
17
17
|
onChange: (value: any, shouldUpdateData?: boolean | undefined) => void;
|
|
18
18
|
}>;
|
|
19
19
|
};
|
|
20
20
|
export declare const ColumnBodyImpls: {
|
|
21
|
-
text: import("react").FC<Pick<import("
|
|
22
|
-
input: import("react").FC<Pick<import("
|
|
21
|
+
text: import("react").FC<Pick<import("..").ColumnBodyCellProps, "data" | "column" | "index">>;
|
|
22
|
+
input: import("react").FC<Pick<import("..").ColumnBodyCellProps, "data" | "visible" | "column" | "disabled" | "latestData" | "index"> & {
|
|
23
23
|
onChange: (value: any) => void;
|
|
24
24
|
onBlur: () => void;
|
|
25
25
|
error: boolean;
|
|
26
26
|
}>;
|
|
27
|
-
password: import("react").FC<Pick<import("
|
|
27
|
+
password: import("react").FC<Pick<import("..").ColumnBodyCellProps, "data" | "visible" | "column" | "disabled" | "latestData" | "index"> & {
|
|
28
28
|
onChange: (value: any) => void;
|
|
29
29
|
onBlur: () => void;
|
|
30
30
|
error: boolean;
|
|
31
31
|
}>;
|
|
32
|
-
affix: import("react").FC<Pick<import("
|
|
32
|
+
affix: import("react").FC<Pick<import("..").ColumnBodyCellProps, "data" | "visible" | "column" | "disabled" | "latestData" | "index"> & {
|
|
33
33
|
onChange: (value: any) => void;
|
|
34
34
|
onBlur: () => void;
|
|
35
35
|
error: boolean;
|
|
36
36
|
}>;
|
|
37
|
-
checkbox: import("react").FC<Pick<import("
|
|
37
|
+
checkbox: import("react").FC<Pick<import("..").ColumnBodyCellProps, "data" | "column" | "index"> & {
|
|
38
38
|
onChange: (value: any) => void;
|
|
39
39
|
}>;
|
|
40
40
|
};
|
|
@@ -2,3 +2,4 @@ import { TableFormHandle, TableFormProps } from "../../core/TableForm/types";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const TableForm: React.ForwardRefExoticComponent<TableFormProps & React.RefAttributes<TableFormHandle>>;
|
|
4
4
|
export default TableForm;
|
|
5
|
+
export * from "./types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const TagBasePresetColors: readonly ["blue", "red", "yellow", "green", "gray", "purple"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TokenColor } from "../../spec";
|
|
2
2
|
import React from "react";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const TokenPresetColors: TokenColor[];
|
|
4
4
|
declare const Token: React.ForwardRefExoticComponent<Omit<import("antd/lib/tag").TagProps, "closeIcon"> & {
|
|
5
5
|
color?: TokenColor | undefined;
|
|
6
6
|
size?: "small" | "medium" | "large" | undefined;
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1,41 +1,157 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export
|
|
1
|
+
export * from "./AccordionCard";
|
|
2
|
+
export * from "./Alert";
|
|
3
|
+
export * from "./Arch";
|
|
4
|
+
export * from "./Badge";
|
|
5
|
+
export * from "./BaseIcon";
|
|
3
6
|
export * from "./BaseIcon";
|
|
7
|
+
export * from "./Bit";
|
|
8
|
+
export * from "./BitPerSecond";
|
|
9
|
+
export * from "./Bps";
|
|
10
|
+
export * from "./Breadcrumb";
|
|
11
|
+
export * from "./Button";
|
|
4
12
|
export * from "./Button";
|
|
5
|
-
export { default as Button } from "./Button";
|
|
6
13
|
export * from "./ButtonGroup";
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
14
|
+
export * from "./ButtonGroup";
|
|
15
|
+
export * from "./Byte";
|
|
16
|
+
export * from "./Calendar";
|
|
17
|
+
export * from "./Card";
|
|
18
|
+
export * from "./Cascader";
|
|
19
|
+
export * from "./Checkbox";
|
|
20
|
+
export * from "./DeprecatedProgress";
|
|
21
|
+
export * from "./DetailCard";
|
|
22
|
+
export * from "./DonutChart";
|
|
23
|
+
export * from "./DropdownMenu";
|
|
24
|
+
export * from "./Empty";
|
|
25
|
+
export * from "./ErrorBoundary";
|
|
26
|
+
export * from "./ExpandableList";
|
|
27
|
+
export * from "./FailedLoad";
|
|
28
|
+
export * from "./Fields";
|
|
29
|
+
export * from "./Form";
|
|
30
|
+
export * from "./FormItem";
|
|
31
|
+
export * from "./Frequency";
|
|
32
|
+
export * from "./Icon";
|
|
33
|
+
export * from "./Input";
|
|
34
|
+
export * from "./InputGroup";
|
|
35
|
+
export * from "./InputInteger";
|
|
36
|
+
export * from "./InputNumber";
|
|
37
|
+
export * from "./InputTagItem";
|
|
13
38
|
export * from "./KitStoreProvider";
|
|
14
|
-
export
|
|
15
|
-
export
|
|
39
|
+
export * from "./Link";
|
|
40
|
+
export * from "./Loading";
|
|
41
|
+
export * from "./message";
|
|
42
|
+
export * from "./message-group";
|
|
16
43
|
export * from "./message-group";
|
|
17
44
|
export * from "./Metric";
|
|
18
|
-
export
|
|
45
|
+
export * from "./Metric";
|
|
19
46
|
export * from "./Modal";
|
|
20
|
-
export
|
|
47
|
+
export * from "./Modal";
|
|
48
|
+
export * from "./ModalStack";
|
|
49
|
+
export * from "./Overflow";
|
|
21
50
|
export * from "./Overflow";
|
|
22
51
|
export * from "./Pagination";
|
|
52
|
+
export * from "./Pagination";
|
|
53
|
+
export * from "./ParrotTrans";
|
|
54
|
+
export * from "./Percent";
|
|
55
|
+
export * from "./Progress";
|
|
56
|
+
export * from "./Radio";
|
|
23
57
|
export * from "./Radio";
|
|
58
|
+
export * from "./SearchInput";
|
|
59
|
+
export * from "./Second";
|
|
60
|
+
export * from "./SegmentControl";
|
|
61
|
+
export * from "./Select";
|
|
62
|
+
export * from "./SimplePagination";
|
|
63
|
+
export * from "./Space";
|
|
64
|
+
export * from "./Speed";
|
|
65
|
+
export * from "./StatusCapsule";
|
|
66
|
+
export * from "./StepProgress";
|
|
67
|
+
export * from "./Steps";
|
|
24
68
|
export * from "./Steps";
|
|
25
69
|
export * from "./Styled";
|
|
70
|
+
export * from "./Styled";
|
|
71
|
+
export * from "./Switch";
|
|
26
72
|
export * from "./Switch";
|
|
27
73
|
export * from "./Table";
|
|
74
|
+
export * from "./TableForm";
|
|
75
|
+
export * from "./Tag";
|
|
76
|
+
export * from "./TextArea";
|
|
77
|
+
export * from "./Time";
|
|
78
|
+
export * from "./TimePicker";
|
|
28
79
|
export * from "./TimeZoneSelect";
|
|
80
|
+
export * from "./Token";
|
|
29
81
|
export * from "./Tooltip";
|
|
30
|
-
export
|
|
82
|
+
export * from "./Truncate";
|
|
31
83
|
export * from "./Typo";
|
|
32
84
|
export declare const units: {
|
|
33
|
-
Percent: import("
|
|
34
|
-
Byte: import("
|
|
35
|
-
Frequency: import("
|
|
36
|
-
Speed: import("
|
|
37
|
-
Bps: import("
|
|
38
|
-
BitPerSecond: import("
|
|
39
|
-
Bit: import("
|
|
40
|
-
Second: import("
|
|
85
|
+
Percent: import("..").PercentFn;
|
|
86
|
+
Byte: import("..").UnitFn;
|
|
87
|
+
Frequency: import("..").UnitFn;
|
|
88
|
+
Speed: import("..").UnitFn;
|
|
89
|
+
Bps: import("..").UnitFn;
|
|
90
|
+
BitPerSecond: import("..").UnitFn;
|
|
91
|
+
Bit: import("..").UnitFn;
|
|
92
|
+
Second: import("..").UnitFn;
|
|
41
93
|
};
|
|
94
|
+
export { units as Units };
|
|
95
|
+
export { default as AccordionCard } from "./AccordionCard";
|
|
96
|
+
export { default as Alert } from "./Alert";
|
|
97
|
+
export { default as Arch } from "./Arch";
|
|
98
|
+
export { default as Badge } from "./Badge";
|
|
99
|
+
export { default as BaseIcon } from "./BaseIcon";
|
|
100
|
+
export { default as Bit } from "./Bit";
|
|
101
|
+
export { default as BitPerSecond } from "./BitPerSecond";
|
|
102
|
+
export { default as Bps } from "./Bps";
|
|
103
|
+
export { default as Breadcrumb } from "./Breadcrumb";
|
|
104
|
+
export { default as Button } from "./Button";
|
|
105
|
+
export { default as ButtonGroup } from "./ButtonGroup";
|
|
106
|
+
export { default as Byte } from "./Byte";
|
|
107
|
+
export { default as Calendar } from "./Calendar";
|
|
108
|
+
export { default as Card } from "./Card";
|
|
109
|
+
export { default as Checkbox } from "./Checkbox";
|
|
110
|
+
export { default as DeprecatedProgress } from "./DeprecatedProgress";
|
|
111
|
+
export { default as DetailCard } from "./DetailCard";
|
|
112
|
+
export { default as DonutChart } from "./DonutChart";
|
|
113
|
+
export { default as DropdownMenu } from "./DropdownMenu";
|
|
114
|
+
export { default as Empty } from "./Empty";
|
|
115
|
+
export { default as ErrorBoundary } from "./ErrorBoundary";
|
|
116
|
+
export { default as FailedLoad } from "./FailedLoad";
|
|
117
|
+
export { default as Fields } from "./Fields";
|
|
118
|
+
export { default as Form } from "./Form";
|
|
119
|
+
export { default as FormItem } from "./FormItem";
|
|
120
|
+
export { default as Frequency } from "./Frequency";
|
|
121
|
+
export { default as Icon } from "./Icon";
|
|
122
|
+
export { default as Input } from "./Input";
|
|
123
|
+
export { default as InputGroup } from "./InputGroup";
|
|
124
|
+
export { default as InputInteger } from "./InputInteger";
|
|
125
|
+
export { default as InputNumber } from "./InputNumber";
|
|
126
|
+
export { default as InputTagItem } from "./InputTagItem";
|
|
127
|
+
export { default as KitStoreProvider } from "./KitStoreProvider";
|
|
128
|
+
export { default as Link } from "./Link";
|
|
129
|
+
export { default as Loading } from "./Loading";
|
|
130
|
+
export { default as message } from "./message";
|
|
131
|
+
export { default as Metric } from "./Metric";
|
|
132
|
+
export { default as Modal } from "./Modal";
|
|
133
|
+
export { default as ModalStack } from "./ModalStack";
|
|
134
|
+
export { default as Overflow } from "./Overflow";
|
|
135
|
+
export { default as Pagination } from "./Pagination";
|
|
136
|
+
export { default as Percent } from "./Percent";
|
|
137
|
+
export { default as Radio } from "./Radio";
|
|
138
|
+
export { default as SearchInput } from "./SearchInput";
|
|
139
|
+
export { default as Second } from "./Second";
|
|
140
|
+
export { default as SegmentControl } from "./SegmentControl";
|
|
141
|
+
export { default as Select } from "./Select";
|
|
142
|
+
export { default as SimplePagination } from "./SimplePagination";
|
|
143
|
+
export { default as Space } from "./Space";
|
|
144
|
+
export { default as Speed } from "./Speed";
|
|
145
|
+
export { default as StatusCapsule } from "./StatusCapsule";
|
|
146
|
+
export { default as Steps } from "./Steps";
|
|
147
|
+
export { default as Switch } from "./Switch";
|
|
148
|
+
export { default as Table } from "./Table";
|
|
149
|
+
export { default as TableForm } from "./TableForm";
|
|
150
|
+
export { default as Tag } from "./Tag";
|
|
151
|
+
export { default as TextArea } from "./TextArea";
|
|
152
|
+
export { default as Time } from "./Time";
|
|
153
|
+
export { default as TimePicker } from "./TimePicker";
|
|
154
|
+
export { default as TimeZoneSelect } from "./TimeZoneSelect";
|
|
155
|
+
export { default as Token } from "./Token";
|
|
156
|
+
export { default as Tooltip } from "./Tooltip";
|
|
157
|
+
export { default as Truncate } from "./Truncate";
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
4
4
|
export default DateRangePicker;
|
|
5
5
|
export { default as AbsoluteDate } from "./AbsoluteDate";
|
|
6
|
-
export { default as
|
|
6
|
+
export { default as DateRangePickerCalendar } from "./Calendar";
|
|
7
7
|
export type { DateRange as PickerDateRange } from "./common";
|
|
8
8
|
export { default as InputTime } from "./InputTime";
|
|
9
9
|
export { default as RelativeTime } from "./RelativeTime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const units: {
|
|
3
|
-
Percent: import("
|
|
4
|
-
Byte: import("
|
|
5
|
-
Frequency: import("
|
|
6
|
-
Speed: import("
|
|
7
|
-
Bps: import("
|
|
8
|
-
BitPerSecond: import("
|
|
9
|
-
Bit: import("
|
|
10
|
-
Second: import("
|
|
3
|
+
Percent: import("../..").PercentFn;
|
|
4
|
+
Byte: import("../..").UnitFn;
|
|
5
|
+
Frequency: import("../..").UnitFn;
|
|
6
|
+
Speed: import("../..").UnitFn;
|
|
7
|
+
Bps: import("../..").UnitFn;
|
|
8
|
+
BitPerSecond: import("../..").UnitFn;
|
|
9
|
+
Bit: import("../..").UnitFn;
|
|
10
|
+
Second: import("../..").UnitFn;
|
|
11
11
|
};
|
|
12
12
|
type Size = "small" | "medium" | "large";
|
|
13
13
|
export type ChartType = "donutChart" | "barChart";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./getCalendarTitle";
|
|
@@ -1,7 +1,41 @@
|
|
|
1
|
-
export { default as BarChart } from "./BarChart";
|
|
2
1
|
export * from "./BarChart";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export * from "./BatchOperation";
|
|
3
|
+
export * from "./ChartWithTooltip";
|
|
4
|
+
export * from "./common";
|
|
5
|
+
export * from "./Counting";
|
|
6
|
+
export * from "./CronCalendar";
|
|
7
|
+
export * from "./CronPlan";
|
|
5
8
|
export * from "./DateRangePicker";
|
|
6
|
-
export { default as DateRangePicker } from "./DateRangePicker";
|
|
7
9
|
export * from "./DeprecatedDonutChart";
|
|
10
|
+
export * from "./DropdownTransition";
|
|
11
|
+
export * from "./GoBackButton";
|
|
12
|
+
export * from "./I18nNameTag";
|
|
13
|
+
export * from "./NamesTooltip";
|
|
14
|
+
export * from "./OverflowTooltip";
|
|
15
|
+
export * from "./SidebarSubtitle";
|
|
16
|
+
export * from "./SortableList";
|
|
17
|
+
export * from "./SummaryTable";
|
|
18
|
+
export * from "./SwitchWithText";
|
|
19
|
+
export * from "./TabMenu";
|
|
20
|
+
export * from "./TruncatedTextWithTooltip";
|
|
21
|
+
export * from "./UnitWithChart";
|
|
22
|
+
export { default as BarChart } from "./BarChart";
|
|
23
|
+
export { default as BatchOperation } from "./BatchOperation";
|
|
24
|
+
export { default as ChartWithTooltip } from "./ChartWithTooltip";
|
|
25
|
+
export { default as Counting } from "./Counting";
|
|
26
|
+
export { default as CronCalendar } from "./CronCalendar";
|
|
27
|
+
export { default as CronPlan } from "./CronPlan";
|
|
28
|
+
export { default as DateRangePicker } from "./DateRangePicker";
|
|
29
|
+
export { default as DeprecatedDonutChart } from "./DeprecatedDonutChart";
|
|
30
|
+
export { default as DropdownTransition } from "./DropdownTransition";
|
|
31
|
+
export { default as GoBackButton } from "./GoBackButton";
|
|
32
|
+
export { default as I18nNameTag } from "./I18nNameTag";
|
|
33
|
+
export { default as NamesTooltip } from "./NamesTooltip";
|
|
34
|
+
export { default as OverflowTooltip } from "./OverflowTooltip";
|
|
35
|
+
export { default as SidebarSubtitle } from "./SidebarSubtitle";
|
|
36
|
+
export { default as SortableList } from "./SortableList";
|
|
37
|
+
export { default as SummaryTable } from "./SummaryTable";
|
|
38
|
+
export { default as SwitchWithText } from "./SwitchWithText";
|
|
39
|
+
export { default as TabMenu } from "./TabMenu";
|
|
40
|
+
export { default as TruncatedTextWithTooltip } from "./TruncatedTextWithTooltip";
|
|
41
|
+
export { default as UnitWithChart } from "./UnitWithChart";
|