@cloudtower/eagle 0.27.69-alpha.6 → 0.27.70-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/dist/cjs/core/Arch/index.js +3 -1
- package/dist/cjs/core/SidebarMenu/SidebarMenu.js +33 -0
- package/dist/cjs/core/TableForm/index.js +2 -2
- 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 +5 -1
- package/dist/cjs/legacy-antd.js +1 -1
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +2188 -2188
- package/dist/esm/core/SidebarMenu/SidebarMenu.js +27 -0
- package/dist/esm/core/TableForm/index.js +2 -2
- 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 +2 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -1
- 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/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/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 +20 -9
- 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/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/SidebarMenu/SidebarMenu.d.ts +3 -0
- package/dist/src/core/SidebarMenu/SidebarMenu.type.d.ts +4 -0
- package/dist/src/core/SidebarMenu/index.d.ts +2 -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 +2 -1
- 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/types.d.ts +1 -1
- package/dist/src/core/Tag/SplitTag.d.ts +1 -1
- package/dist/src/core/Tag/index.d.ts +2 -1
- 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 +2 -1
- package/dist/src/core/Token/token.type.d.ts +12 -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 +10 -9
- 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 +3 -2
- 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/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/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/Link.stories.d.ts +1 -1
- package/dist/stories/docs/core/Modal.stories.d.ts +1 -1
- package/dist/stories/docs/core/SidebarMenu.stories.d.ts +12 -0
- 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/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 +2094 -2094
- package/package.json +5 -5
- package/dist/cjs/antdReexport.js +0 -149
- package/dist/cjs/core/antd.js +0 -212
- package/dist/esm/antdReexport.js +0 -13
- package/dist/esm/core/antd.js +0 -205
- package/dist/src/antdReexport.d.ts +0 -39
- package/dist/src/core/antd.d.ts +0 -3
- 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/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
|