@cloudtower/eagle 0.27.69-alpha.1 → 0.27.69-alpha.3
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/antd.js +212 -0
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/spec/type.js +9 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3648 -3649
- package/dist/esm/core/antd.js +205 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/spec/type.js +7 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/antd.d.ts +3 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +3753 -3753
- package/package.json +5 -5
- package/README.md +0 -68
|
@@ -0,0 +1,205 @@
|
|
|
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 Empty from './Empty/index.js';
|
|
40
|
+
import ExpandableContainer from './ExpandableList/ExpandableContainer.js';
|
|
41
|
+
import ExpandableItem from './ExpandableList/ExpandableItem.js';
|
|
42
|
+
import fields from './Fields/index.js';
|
|
43
|
+
import Form from './Form/index.js';
|
|
44
|
+
import Frequency from './Frequency/index.js';
|
|
45
|
+
import Input from './Input/index.js';
|
|
46
|
+
import InputGroup from './InputGroup/index.js';
|
|
47
|
+
import Link from './Link/index.js';
|
|
48
|
+
import Loading from './Loading/index.js';
|
|
49
|
+
import _message from './message/index.js';
|
|
50
|
+
import Modal from './Modal/index.js';
|
|
51
|
+
import Pagination from './Pagination/index.js';
|
|
52
|
+
import Percent from './Percent/index.js';
|
|
53
|
+
import Progress from './Progress/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
|
+
progress: Progress,
|
|
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/esm/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { units as Units, units } from './core/index.js';
|
|
2
2
|
export { UIKitStore, closeModal, popModal, pushModal } from './store/index.js';
|
|
3
3
|
export { default as UIKitProvider, kitContext, useUIKit } from './UIKitProvider/index.js';
|
|
4
|
+
export { antdKit, getAntdKit } from './antd.js';
|
|
4
5
|
export * from '@cloudtower/parrot';
|
|
5
6
|
export { DatePickerRangePicker, ListItem, MenuItemGroup, SkeletonButton, TabsTabPane, TimelineItem, TypographyText, UploadDragger } from './antdReexport.js';
|
|
6
7
|
export { default as useElementsSize } from './hooks/useElementsSize.js';
|