@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.
Files changed (269) hide show
  1. package/dist/cjs/UIKitProvider/index.js +5 -5
  2. package/dist/cjs/antd.js +151 -0
  3. package/dist/cjs/core/Arch/index.js +3 -1
  4. package/dist/cjs/core/ButtonGroup/index.js +2 -1
  5. package/dist/cjs/core/Cascader/index.js +16 -0
  6. package/dist/cjs/core/DonutChart/index.js +9 -0
  7. package/dist/cjs/core/Error/index.js +12 -0
  8. package/dist/cjs/core/ErrorBoundary/index.js +27 -0
  9. package/dist/cjs/core/Metric/MetricActions.js +18 -0
  10. package/dist/cjs/core/Metric/MetricLegend.js +73 -0
  11. package/dist/cjs/core/Metric/Pointer.js +45 -0
  12. package/dist/cjs/core/Metric/RenderChart.js +203 -0
  13. package/dist/cjs/core/Metric/TooltipFormatter.js +45 -0
  14. package/dist/cjs/core/Metric/index.js +63 -0
  15. package/dist/cjs/core/Metric/metric.js +146 -0
  16. package/dist/cjs/core/Metric/styled.js +33 -0
  17. package/dist/cjs/core/Metric/type.js +16 -0
  18. package/dist/cjs/core/Overflow/index.js +2 -1
  19. package/dist/cjs/core/Progress/index.js +2 -0
  20. package/dist/cjs/core/SidebarMenu/SidebarMenu.js +33 -0
  21. package/dist/cjs/core/StatusCapsule/index.js +7 -7
  22. package/dist/cjs/core/Styled/index.js +139 -0
  23. package/dist/cjs/core/Table/TableWidget.js +6 -1
  24. package/dist/cjs/core/Table/index.js +4 -1
  25. package/dist/cjs/core/TableForm/index.js +5 -3
  26. package/dist/cjs/core/Tag/SplitTag.js +2 -2
  27. package/dist/cjs/core/Tag/const.js +2 -2
  28. package/dist/cjs/core/Tag/index.js +4 -4
  29. package/dist/cjs/core/Token/index.js +3 -3
  30. package/dist/cjs/core/index.js +32 -0
  31. package/dist/cjs/core/message/index.js +4 -0
  32. package/dist/cjs/coreX/CronPlan/index.js +2 -1
  33. package/dist/cjs/coreX/DateRangePicker/AbsoluteDate.js +2 -2
  34. package/dist/cjs/coreX/DateRangePicker/Calendar.js +5 -3
  35. package/dist/cjs/coreX/DateRangePicker/InputTime.js +1 -1
  36. package/dist/cjs/coreX/DateRangePicker/RelativeTime.js +2 -2
  37. package/dist/cjs/coreX/DateRangePicker/index.js +1 -1
  38. package/dist/cjs/coreX/I18nNameTag/index.js +1 -1
  39. package/dist/cjs/index.js +456 -82
  40. package/dist/cjs/legacy-antd.js +213 -0
  41. package/dist/cjs/stats1.html +1 -1
  42. package/dist/cjs/store/chart.js +7 -0
  43. package/dist/cjs/store/index.js +1 -0
  44. package/dist/components.css +2916 -2916
  45. package/dist/esm/UIKitProvider/index.js +1 -1
  46. package/dist/esm/antd.js +16 -0
  47. package/dist/esm/core/ButtonGroup/index.js +2 -1
  48. package/dist/esm/core/Cascader/index.js +3 -1
  49. package/dist/esm/core/DonutChart/index.js +9 -1
  50. package/dist/esm/core/Error/index.js +6 -0
  51. package/dist/esm/core/ErrorBoundary/index.js +21 -0
  52. package/dist/esm/core/Metric/MetricActions.js +12 -0
  53. package/dist/esm/core/Metric/MetricLegend.js +62 -0
  54. package/dist/esm/core/Metric/Pointer.js +38 -0
  55. package/dist/esm/core/Metric/RenderChart.js +195 -0
  56. package/dist/esm/core/Metric/TooltipFormatter.js +39 -0
  57. package/dist/esm/core/Metric/index.js +52 -0
  58. package/dist/esm/core/Metric/metric.js +138 -2
  59. package/dist/esm/core/Metric/styled.js +24 -0
  60. package/dist/esm/core/Metric/type.js +13 -0
  61. package/dist/esm/core/Overflow/index.js +2 -1
  62. package/dist/esm/core/Progress/index.js +2 -1
  63. package/dist/esm/core/SidebarMenu/SidebarMenu.js +27 -0
  64. package/dist/esm/core/StatusCapsule/index.js +3 -3
  65. package/dist/esm/core/Styled/index.js +112 -1
  66. package/dist/esm/core/Table/TableWidget.js +5 -2
  67. package/dist/esm/core/Table/index.js +5 -3
  68. package/dist/esm/core/TableForm/index.js +2 -2
  69. package/dist/esm/core/Tag/SplitTag.js +3 -3
  70. package/dist/esm/core/Tag/const.js +2 -2
  71. package/dist/esm/core/Tag/index.js +5 -5
  72. package/dist/esm/core/Token/index.js +3 -3
  73. package/dist/esm/core/index.js +21 -0
  74. package/dist/esm/core/message/index.js +4 -1
  75. package/dist/esm/coreX/CronPlan/index.js +2 -1
  76. package/dist/esm/coreX/DateRangePicker/AbsoluteDate.js +2 -2
  77. package/dist/esm/coreX/DateRangePicker/Calendar.js +5 -3
  78. package/dist/esm/coreX/DateRangePicker/InputTime.js +1 -1
  79. package/dist/esm/coreX/DateRangePicker/RelativeTime.js +2 -2
  80. package/dist/esm/coreX/DateRangePicker/index.js +1 -1
  81. package/dist/esm/coreX/I18nNameTag/index.js +1 -1
  82. package/dist/esm/index.js +104 -18
  83. package/dist/esm/legacy-antd.js +206 -0
  84. package/dist/esm/stats1.html +1 -1
  85. package/dist/esm/store/chart.js +7 -1
  86. package/dist/esm/store/index.js +1 -0
  87. package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -1
  88. package/dist/src/antd.d.ts +45 -0
  89. package/dist/src/core/AccordionCard/accordionCard.type.d.ts +9 -0
  90. package/dist/src/core/AccordionCard/index.d.ts +3 -8
  91. package/dist/src/core/Alert/alert.type.d.ts +6 -0
  92. package/dist/src/core/Alert/index.d.ts +2 -1
  93. package/dist/src/core/Arch/arch.type.d.ts +8 -0
  94. package/dist/src/core/Arch/index.d.ts +2 -1
  95. package/dist/src/core/Badge/badge.type.d.ts +7 -0
  96. package/dist/src/core/Badge/index.d.ts +2 -1
  97. package/dist/src/core/Bit/index.d.ts +1 -1
  98. package/dist/src/core/BitPerSecond/index.d.ts +1 -1
  99. package/dist/src/core/Bps/index.d.ts +1 -1
  100. package/dist/src/core/Breadcrumb/breadcrumb.type.d.ts +11 -0
  101. package/dist/src/core/Breadcrumb/index.d.ts +2 -1
  102. package/dist/src/core/Button/button.type.d.ts +20 -0
  103. package/dist/src/core/Button/index.d.ts +1 -0
  104. package/dist/src/core/ButtonGroup/index.d.ts +1 -1
  105. package/dist/src/core/Byte/index.d.ts +1 -1
  106. package/dist/src/core/Calendar/calendar.type.d.ts +4 -0
  107. package/dist/src/core/Calendar/index.d.ts +2 -1
  108. package/dist/src/core/Cascader/cascader.type.d.ts +1 -1
  109. package/dist/src/core/Cascader/index.d.ts +3 -0
  110. package/dist/src/core/DetailCard/detailCard.type.d.ts +4 -0
  111. package/dist/src/core/DetailCard/index.d.ts +2 -1
  112. package/dist/src/core/DropdownMenu/dropdownMenu.type.d.ts +28 -0
  113. package/dist/src/core/DropdownMenu/index.d.ts +3 -17
  114. package/dist/src/core/Error/index.d.ts +5 -0
  115. package/dist/src/core/ExpandableList/index.d.ts +8 -0
  116. package/dist/src/core/Fields/FieldsBoolean/index.d.ts +1 -1
  117. package/dist/src/core/Fields/FieldsDateTime/index.d.ts +1 -1
  118. package/dist/src/core/Fields/FieldsDateTimeRange/index.d.ts +1 -1
  119. package/dist/src/core/Fields/FieldsEnum/fieldsEnum.type.d.ts +19 -0
  120. package/dist/src/core/Fields/FieldsEnum/index.d.ts +2 -1
  121. package/dist/src/core/Fields/FieldsInt/fieldsInt.type.d.ts +15 -0
  122. package/dist/src/core/Fields/FieldsInt/index.d.ts +2 -1
  123. package/dist/src/core/Fields/FieldsString/fieldsString.type.d.ts +17 -0
  124. package/dist/src/core/Fields/FieldsString/index.d.ts +3 -1
  125. package/dist/src/core/Fields/FieldsTextArea/index.d.ts +1 -1
  126. package/dist/src/core/Fields/FieldsTimePicker/index.d.ts +1 -1
  127. package/dist/src/{spec/react-final-form.d.ts → core/Fields/fields.type.d.ts} +15 -10
  128. package/dist/src/core/Fields/index.d.ts +21 -10
  129. package/dist/src/core/Frequency/index.d.ts +1 -1
  130. package/dist/src/core/Input/index.d.ts +1 -0
  131. package/dist/src/core/Input/input.type.d.ts +14 -0
  132. package/dist/src/core/InputGroup/index.d.ts +1 -0
  133. package/dist/src/core/InputGroup/inputGroup.type.d.ts +4 -0
  134. package/dist/src/core/InputInteger/index.d.ts +1 -1
  135. package/dist/src/core/InputNumber/index.d.ts +1 -1
  136. package/dist/src/core/Link/index.d.ts +2 -1
  137. package/dist/src/core/Link/link.type.d.ts +6 -0
  138. package/dist/src/core/Loading/index.d.ts +2 -1
  139. package/dist/src/core/Loading/loading.type.d.ts +4 -0
  140. package/dist/src/core/Modal/index.d.ts +2 -1
  141. package/dist/src/core/Modal/modal.type.d.ts +28 -0
  142. package/dist/src/core/Pagination/index.d.ts +2 -1
  143. package/dist/src/core/Pagination/pagination.type.d.ts +11 -0
  144. package/dist/src/core/Percent/index.d.ts +1 -1
  145. package/dist/src/core/Progress/index.d.ts +2 -0
  146. package/dist/src/core/Progress/progress.type.d.ts +2 -1
  147. package/dist/src/core/Radio/index.d.ts +2 -1
  148. package/dist/src/core/Radio/radio.type.d.ts +16 -0
  149. package/dist/src/core/SearchInput/index.d.ts +2 -1
  150. package/dist/src/core/SearchInput/searchInput.type.d.ts +7 -0
  151. package/dist/src/core/Second/index.d.ts +1 -1
  152. package/dist/src/core/SegmentControl/index.d.ts +2 -1
  153. package/dist/src/core/SegmentControl/segmentControl.type.d.ts +4 -0
  154. package/dist/src/core/Select/index.d.ts +2 -1
  155. package/dist/src/core/Select/select.type.d.ts +32 -0
  156. package/dist/src/core/SimplePagination/index.d.ts +2 -1
  157. package/dist/src/core/SimplePagination/simplePagination.type.d.ts +7 -0
  158. package/dist/src/core/Space/index.d.ts +1 -0
  159. package/dist/src/core/Space/space.type.d.ts +10 -0
  160. package/dist/src/core/Speed/index.d.ts +1 -1
  161. package/dist/src/core/StatusCapsule/index.d.ts +3 -2
  162. package/dist/src/core/StatusCapsule/statusCapsule.type.d.ts +10 -0
  163. package/dist/src/core/StepProgress/index.d.ts +2 -1
  164. package/dist/src/core/StepProgress/stepProgress.type.d.ts +5 -0
  165. package/dist/src/core/Steps/index.d.ts +2 -1
  166. package/dist/src/core/Steps/steps.type.d.ts +19 -0
  167. package/dist/src/core/Switch/index.d.ts +2 -1
  168. package/dist/src/core/Switch/switch.type.d.ts +4 -0
  169. package/dist/src/core/Table/index.d.ts +2 -1
  170. package/dist/src/core/Table/table.type.d.ts +73 -0
  171. package/dist/src/core/TableForm/Columns/index.d.ts +10 -10
  172. package/dist/src/core/TableForm/index.d.ts +1 -0
  173. package/dist/src/core/TableForm/types.d.ts +1 -1
  174. package/dist/src/core/Tag/SplitTag.d.ts +1 -1
  175. package/dist/src/core/Tag/const.d.ts +1 -1
  176. package/dist/src/core/Tag/index.d.ts +3 -2
  177. package/dist/src/core/Tag/tag.type.d.ts +22 -0
  178. package/dist/src/core/TextArea/index.d.ts +2 -1
  179. package/dist/src/core/TextArea/textArea.type.d.ts +10 -0
  180. package/dist/src/core/Time/index.d.ts +2 -1
  181. package/dist/src/core/Time/time.type.d.ts +7 -0
  182. package/dist/src/core/TimeZoneSelect/index.d.ts +2 -1
  183. package/dist/src/core/TimeZoneSelect/timeZoneSelect.type.d.ts +9 -0
  184. package/dist/src/core/Token/index.d.ts +4 -3
  185. package/dist/src/core/Token/token.type.d.ts +12 -0
  186. package/dist/src/core/Tooltip/index.d.ts +1 -0
  187. package/dist/src/core/Units/index.d.ts +1 -0
  188. package/dist/src/core/Units/units.type.d.ts +17 -0
  189. package/dist/src/core/index.d.ts +140 -22
  190. package/dist/src/coreX/BatchOperation/batchOperation.type.d.ts +31 -0
  191. package/dist/src/coreX/BatchOperation/index.d.ts +2 -1
  192. package/dist/src/coreX/Counting/counting.type.d.ts +6 -0
  193. package/dist/src/coreX/Counting/index.d.ts +2 -1
  194. package/dist/src/coreX/CronCalendar/cronCalendar.type.d.ts +8 -0
  195. package/dist/src/coreX/CronCalendar/index.d.ts +2 -1
  196. package/dist/src/coreX/CronPlan/cronPlan.type.d.ts +13 -0
  197. package/dist/src/coreX/CronPlan/index.d.ts +2 -1
  198. package/dist/src/coreX/DateRangePicker/AbsoluteDate.d.ts +1 -1
  199. package/dist/src/coreX/DateRangePicker/Calendar.d.ts +1 -1
  200. package/dist/src/coreX/DateRangePicker/InputTime.d.ts +1 -1
  201. package/dist/src/coreX/DateRangePicker/RelativeTime.d.ts +1 -1
  202. package/dist/src/coreX/DateRangePicker/common.d.ts +2 -60
  203. package/dist/src/coreX/DateRangePicker/dateRangePicker.type.d.ts +64 -0
  204. package/dist/src/coreX/DateRangePicker/index.d.ts +4 -3
  205. package/dist/src/coreX/DropdownTransition/dropdownTransition.type.d.ts +4 -0
  206. package/dist/src/coreX/DropdownTransition/index.d.ts +1 -0
  207. package/dist/src/coreX/GoBackButton/goBackButton.type.d.ts +18 -0
  208. package/dist/src/coreX/GoBackButton/index.d.ts +2 -1
  209. package/dist/src/coreX/I18nNameTag/i18nNameTag.type.d.ts +14 -0
  210. package/dist/src/coreX/I18nNameTag/index.d.ts +2 -1
  211. package/dist/src/coreX/NamesTooltip/index.d.ts +2 -1
  212. package/dist/src/coreX/NamesTooltip/namesTooltip.type.d.ts +6 -0
  213. package/dist/src/coreX/OverflowTooltip/index.d.ts +1 -0
  214. package/dist/src/coreX/SidebarSubtitle/index.d.ts +2 -1
  215. package/dist/src/coreX/SidebarSubtitle/sidebarSubtitle.type.d.ts +5 -0
  216. package/dist/src/coreX/SortableList/index.d.ts +2 -1
  217. package/dist/src/coreX/SortableList/sortableList.type.d.ts +7 -0
  218. package/dist/src/coreX/SummaryTable/index.d.ts +2 -1
  219. package/dist/src/coreX/SummaryTable/summaryTable.type.d.ts +31 -0
  220. package/dist/src/coreX/SwitchWithText/index.d.ts +2 -1
  221. package/dist/src/coreX/SwitchWithText/switchWithText.type.d.ts +9 -0
  222. package/dist/src/coreX/TruncatedTextWithTooltip/index.d.ts +2 -1
  223. package/dist/src/coreX/TruncatedTextWithTooltip/truncatedTextWithTooltip.type.d.ts +5 -0
  224. package/dist/src/coreX/UnitWithChart/index.d.ts +8 -8
  225. package/dist/src/coreX/common/index.d.ts +1 -0
  226. package/dist/src/coreX/index.d.ts +38 -4
  227. package/dist/src/index.d.ts +5 -40
  228. package/dist/src/{core/antd.d.ts → legacy-antd.d.ts} +1 -1
  229. package/dist/src/spec/base.d.ts +7 -456
  230. package/dist/src/spec/index.d.ts +0 -1
  231. package/dist/stories/docs/core/Alert.stories.d.ts +1 -1
  232. package/dist/stories/docs/core/Arch.stories.d.ts +1 -1
  233. package/dist/stories/docs/core/Bit.stories.d.ts +6 -6
  234. package/dist/stories/docs/core/BitPerSecond.stories.d.ts +6 -6
  235. package/dist/stories/docs/core/Bps.stories.d.ts +6 -6
  236. package/dist/stories/docs/core/Byte.stories.d.ts +6 -6
  237. package/dist/stories/docs/core/FieldsBoolean.stories.d.ts +2 -2
  238. package/dist/stories/docs/core/FieldsString.stories.d.ts +8 -8
  239. package/dist/stories/docs/core/FieldsTimePicker.stories.d.ts +2 -2
  240. package/dist/stories/docs/core/Frequency.stories.d.ts +6 -6
  241. package/dist/stories/docs/core/Icon.stories.d.ts +6 -6
  242. package/dist/stories/docs/core/Link.stories.d.ts +1 -1
  243. package/dist/stories/docs/core/Modal.stories.d.ts +1 -1
  244. package/dist/stories/docs/core/Percent.stories.d.ts +10 -10
  245. package/dist/stories/docs/core/Second.stories.d.ts +8 -8
  246. package/dist/stories/docs/core/Speed.stories.d.ts +6 -6
  247. package/dist/stories/docs/core/StatusCapsule.stories.d.ts +1 -1
  248. package/dist/stories/docs/core/Steps.stories.d.ts +1 -1
  249. package/dist/stories/docs/core/Table.stories.d.ts +4 -4
  250. package/dist/stories/docs/core/Tag.stories.d.ts +1 -1
  251. package/dist/stories/docs/core/Token.stories.d.ts +1 -1
  252. package/dist/stories/docs/core/Tooltip.stories.d.ts +1 -1
  253. package/dist/stories/docs/coreX/CronCalendar.stories.d.ts +1 -1
  254. package/dist/stories/docs/coreX/CronPlan.stories.d.ts +1 -1
  255. package/dist/stories/docs/coreX/GoBackButton.stories.d.ts +1 -1
  256. package/dist/stories/docs/coreX/NamesTooltip.stories.d.ts +1 -1
  257. package/dist/stories/docs/coreX/SidebarSubtitle.stories.d.ts +1 -1
  258. package/dist/stories/docs/coreX/SortableList.stories.d.ts +1 -1
  259. package/dist/stories/docs/coreX/SummaryTable.stories.d.ts +1 -1
  260. package/dist/stories/docs/coreX/SwitchWithText.stories.d.ts +1 -1
  261. package/dist/stories/docs/coreX/TruncatedTextWithTooltip.stories.d.ts +1 -1
  262. package/dist/stories/types.d.ts +1 -1
  263. package/dist/style.css +2921 -2921
  264. package/package.json +5 -5
  265. package/dist/cjs/core/antd.js +0 -212
  266. package/dist/esm/core/antd.js +0 -205
  267. package/dist/src/spec/type.d.ts +0 -157
  268. /package/dist/cjs/{spec/type.js → core/Arch/arch.type.js} +0 -0
  269. /package/dist/esm/{spec/type.js → core/Arch/arch.type.js} +0 -0
@@ -1,17 +1,8 @@
1
- import { StyledMeta } from "@linaria/react";
2
- import { CardProps } from "../core/Card";
3
- import { IEmptyProps } from "../core/Empty";
4
- import { MessageApi } from "../core/message";
5
- import { TableFormHandle, TableFormProps } from "../core/TableForm/types";
6
- import { TooltipProps } from "../core/Tooltip/tooltip.type";
7
- import { TruncatePropTypes } from "../core/Truncate";
8
- import type { OverflowTooltipProps } from "../coreX/OverflowTooltip/overflowTooltip.type";
9
- import { SizeType } from "antd/es/config-provider/SizeContext";
10
- import { AlertProps } from "antd/lib/alert";
1
+ import type { AlertComponentType, ArchComponentType, BadgeComponentType, BaseEnumProps, ButtonGroupType, ButtonProps, CalendarComponentType, CardProps, CloseButtonProps, FieldBaseProps, FieldRenderProps, IAccordionCardProps, IBreadcrumbProps, ICircleProgressProps, IDetailCardProps, IDonutChartProps, IDropdownMenuProps, InputGroupComponentType, InputSize, IntFieldProps, ISegmentedControlProps, ISimplePaginationProps, ISpaceProps, IStepsProps, ITimeProps, ITimeZoneSelectProps, LinkComponentType, LoadingComponentType, MessageApi, ModalProps, PaginationProps, PercentFn, RadioButtonProps, RadioProps, SearchInputProps, SelectComponentType, StatusCapsuleComponentType, StringProps, SwitchProps, TableComponent, TableFormHandle, TableFormProps, TagComponentType, TextAreaProps, TokenComponentType, TooltipProps, TruncatePropTypes, UnitFn } from "../core";
2
+ import type { CronCalendarProps, CronPlanProps, DateRangePickerProps, DeprecatedIDonutChartProps, DropdownTransitionProps, GoBackButtonType, I18nNameTagType, IBatchOperation, IChartWithUnitProps, ICountingProps, ICWTProps, IUnitWithChartProps, NamesTooltipType, OverflowTooltipProps, SidebarSubtitleComponentType, SortableListComponentType, SummaryTableComponentType, SwitchWithTextProps, TruncateTextWithTooltipType } from "../coreX";
11
3
  import { AutoCompleteProps } from "antd/lib/auto-complete";
12
4
  import { BadgeProps } from "antd/lib/badge";
13
- import { ButtonProps as AntdButtonProps, ButtonType } from "antd/lib/button";
14
- import { CalendarProps } from "antd/lib/calendar/generateCalendar";
5
+ import { ButtonProps as AntdButtonProps } from "antd/lib/button";
15
6
  import { CheckboxGroupProps, CheckboxProps } from "antd/lib/checkbox";
16
7
  import { ColProps } from "antd/lib/col";
17
8
  import { CollapsePanelProps, CollapseProps } from "antd/lib/collapse";
@@ -22,8 +13,7 @@ import { DropDownProps } from "antd/lib/dropdown";
22
13
  import { EmptyProps } from "antd/lib/empty";
23
14
  import type Form from "antd/lib/form";
24
15
  import type Input from "antd/lib/input";
25
- import { GroupProps, InputProps } from "antd/lib/input";
26
- import { TextAreaProps as AntdTextAreaProps } from "antd/lib/input/TextArea";
16
+ import { InputProps } from "antd/lib/input";
27
17
  import { InputNumberProps } from "antd/lib/input-number";
28
18
  import { SiderProps } from "antd/lib/layout";
29
19
  import { BasicProps } from "antd/lib/layout/layout";
@@ -35,38 +25,23 @@ import { SubMenuProps } from "antd/lib/menu/SubMenu";
35
25
  import { ModalProps as AntdModalProps } from "antd/lib/modal";
36
26
  import { PopoverProps } from "antd/lib/popover";
37
27
  import { ProgressProps as AntdProgressProps } from "antd/lib/progress";
38
- import { RadioGroupProps as AntdRadioGroupProps, RadioProps as AntdRadioProps } from "antd/lib/radio";
39
- import { RadioButtonProps as AntdRadioButtonProps } from "antd/lib/radio/radioButton";
28
+ import { RadioGroupProps as AntdRadioGroupProps } from "antd/lib/radio";
40
29
  import { RowProps } from "antd/lib/row";
41
- import { SelectProps as AntdSelectProps, SelectProps } from "antd/lib/select";
30
+ import { SelectProps } from "antd/lib/select";
42
31
  import { SkeletonProps as AntdSkeletonProps } from "antd/lib/skeleton";
43
32
  import { SkeletonButtonProps } from "antd/lib/skeleton/Button";
44
33
  import Steps from "antd/lib/steps";
45
34
  import { SwitchProps as AntdSwitchProps } from "antd/lib/switch";
46
- import { ColumnsType, ColumnType, TableProps as AntdTableProps } from "antd/lib/table";
47
- import { TableRowSelection } from "antd/lib/table/interface";
35
+ import { TableProps as AntdTableProps } from "antd/lib/table";
48
36
  import { TabPaneProps, TabsProps } from "antd/lib/tabs";
49
- import { TagProps as AntdTagProps } from "antd/lib/tag";
50
37
  import { TimePickerProps } from "antd/lib/time-picker";
51
38
  import { TimeLineItemProps, TimelineProps } from "antd/lib/timeline";
52
39
  import { TreeProps as AntdTreeProps } from "antd/lib/tree";
53
40
  import type TreeSelect from "antd/lib/tree-select";
54
41
  import { TextProps } from "antd/lib/typography/Text";
55
42
  import { DraggerProps, UploadProps } from "antd/lib/upload";
56
- import type { Dayjs } from "dayjs";
57
- import type { History } from "history";
58
- import type { Moment } from "moment";
59
43
  import React, { ForwardRefExoticComponent, PropsWithChildren, PropsWithoutRef, ReactNode, RefAttributes } from "react";
60
- import { Draggable } from "react-beautiful-dnd";
61
- import type { CloseButtonProps } from "../core/AccordionCard";
62
- import { IDonutChartProps } from "../core/DonutChart";
63
- import { IChartWithUnitProps, ICWTProps } from "../coreX/ChartWithTooltip";
64
- import { DateRangePickerProps } from "../coreX/DateRangePicker/common";
65
- import { DeprecatedIDonutChartProps } from "../coreX/DeprecatedDonutChart";
66
- import { IUnitWithChartProps } from "../coreX/UnitWithChart";
67
44
  import { SerializableObject } from "../utils/tower";
68
- import { FieldRenderProps } from "./react-final-form";
69
- import { Architecture, DropdownTransitionProps, HistoryType, IAccordionCardProps, IBatchOperation, IBreadcrumbProps, ICircleProgressProps, ICountingProps, IDetailCardProps, IDropdownMenuProps, ISegmentedControlProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps, PropsFrom } from "./type";
70
45
  export type AntdTableComponentType = <RecordType extends object = any>(props: AntdTableProps<RecordType>) => JSX.Element;
71
46
  export type AntdTreeSelectComponentType<T> = TreeSelect<T>;
72
47
  interface EmptyType extends React.FC<EmptyProps> {
@@ -76,7 +51,6 @@ interface EmptyType extends React.FC<EmptyProps> {
76
51
  export interface CollapseInterface extends React.FC<CollapseProps> {
77
52
  Panel: React.FC<CollapsePanelProps>;
78
53
  }
79
- type BadgeTypeProps = "warning" | "error" | "info";
80
54
  type Primitive = "Int" | "Float" | "DateTime" | "Enum" | "String" | "Boolean";
81
55
  export type Child = {
82
56
  type: Exclude<Primitive, "Enum">;
@@ -84,48 +58,6 @@ export type Child = {
84
58
  type: "Enum";
85
59
  enumValues: readonly string[];
86
60
  };
87
- interface IdObject {
88
- id: string;
89
- }
90
- interface LooseFieldRenderProps<V, T extends HTMLElement> {
91
- input: {
92
- name?: FieldRenderProps<V, T>["input"]["name"];
93
- value?: FieldRenderProps<V, T>["input"]["value"];
94
- onBlur?: FieldRenderProps<V, T>["input"]["onBlur"];
95
- onChange?: (value: string | string[], option: {
96
- object: V;
97
- } | Array<{
98
- object: V;
99
- }>) => void;
100
- onFocus?: FieldRenderProps<V, T>["input"]["onFocus"];
101
- type?: FieldRenderProps<V, T>["input"]["type"];
102
- checked?: FieldRenderProps<V, T>["input"]["checked"];
103
- multiple?: FieldRenderProps<V, T>["input"]["multiple"];
104
- };
105
- meta?: FieldRenderProps<V, T>["meta"];
106
- focusIndicator?: boolean;
107
- }
108
- export interface PaginationProps {
109
- current: number;
110
- count: number;
111
- size: number;
112
- onChange: (page: number) => void;
113
- onSizeChange?: (size: number) => void;
114
- simple?: boolean;
115
- showTotal?: (total: number, range: [number, number]) => string;
116
- selectorVisible?: boolean;
117
- className?: string;
118
- }
119
- export type InputSize = "large" | "middle" | "small";
120
- export type KitSelectProps = {
121
- defaultValue?: string;
122
- error?: unknown | React.ReactNode;
123
- danger?: boolean;
124
- multiple?: boolean;
125
- scrollBottomBuffer?: number;
126
- onScrollBottom?: () => void;
127
- selectLimit?: number;
128
- } & AntdSelectProps<string>;
129
61
  interface OptionProps {
130
62
  value: React.ReactText;
131
63
  disabled?: boolean;
@@ -136,187 +68,14 @@ interface OptionProps {
136
68
  object?: SerializableObject;
137
69
  title?: string;
138
70
  }
139
- export interface RawValue {
140
- rawValue?: number | null;
141
- decimals?: number;
142
- noUnitOnZero?: boolean;
143
- abbreviate?: boolean;
144
- valueClassName?: string;
145
- unitClassName?: string;
146
- }
147
- export type UnitFn = React.FC<RawValue & {
148
- emptyProps?: IEmptyProps;
149
- }>;
150
- export type PercentFn = React.FC<RawValue & {
151
- saturated?: boolean;
152
- emptyProps?: IEmptyProps;
153
- }>;
154
- export type SorterOrder = "descend" | "ascend" | undefined;
155
- type Columns<T> = ColumnsType<T>[0];
156
- export interface RequiredColumnProps<T> extends Omit<Columns<T>, "onHeaderCell" | "onCell" | "title"> {
157
- key: Exclude<Columns<T>["key"], undefined | number>;
158
- dataIndex: Exclude<ColumnType<T>["dataIndex"], undefined>;
159
- sortable?: boolean;
160
- width?: number | string;
161
- onHeaderCell?: (column: ColumnType<T>) => any;
162
- onCell?: (column: T) => any;
163
- /**
164
- * removed params for title function
165
- * because we need to cast the function in customize column
166
- * which cannot access the header params
167
- */
168
- title: React.ReactNode | (() => React.ReactNode);
169
- customizable?: boolean;
170
- }
171
71
  export type TableScroll = string | number | boolean;
172
- export interface TableProps<T extends {
173
- id: string;
174
- }> {
175
- bordered?: boolean;
176
- loading?: boolean;
177
- error?: React.ReactNode | string;
178
- dataSource: T[] | undefined;
179
- columns: RequiredColumnProps<T>[];
180
- onSorterChange?: (order: SorterOrder | null, key?: string | number) => void;
181
- onRowClick?: (record: T, index: number, evt: React.MouseEvent<HTMLElement, MouseEvent>) => void;
182
- rowClassName?: (record: T, index: number) => string;
183
- scroll?: {
184
- x?: number | string | true;
185
- y?: number | string;
186
- };
187
- onResize?: (column: RequiredColumnProps<T>[]) => void;
188
- resizable?: boolean;
189
- components?: {
190
- table?: (props: any) => any;
191
- header?: {
192
- wrapper?: (props: any) => any;
193
- row?: (props: any) => any;
194
- cell?: (props: any) => any;
195
- };
196
- body?: {
197
- wrapper?: (props: any) => any;
198
- row?: (props: any) => any;
199
- cell?: (props: any) => any;
200
- };
201
- };
202
- RowMenu?: React.FC<{
203
- record: T;
204
- index: number;
205
- }>;
206
- rowSelection?: TableRowSelection<T>;
207
- empty?: string | React.ReactNode;
208
- tableLayout?: "fixed" | "auto";
209
- initLoading?: boolean;
210
- rowKey?: AntdTableProps<T>["rowKey"];
211
- wrapper?: React.MutableRefObject<HTMLDivElement | null>;
212
- pagination?: {
213
- current: number;
214
- pageSize: number;
215
- };
216
- onRow?: AntdTableProps<T>["onRow"];
217
- }
218
- interface TableComponent {
219
- <TData extends IdObject>(props: React.PropsWithChildren<TableProps<TData>>, context?: unknown): React.ReactElement | null;
220
- }
221
- export interface BaseEnumProps {
222
- enumValues: readonly (string | {
223
- value: string;
224
- text: string;
225
- })[];
226
- placeholder?: string;
227
- emptyLabel?: string;
228
- size?: InputSize;
229
- defaultValue?: string;
230
- multiple?: boolean;
231
- }
232
- export interface TextAreaProps extends AntdTextAreaProps {
233
- error?: boolean;
234
- size?: "large" | "middle" | "small";
235
- autoSize?: AntdTextAreaProps["autoSize"];
236
- onFocusChangeHeight?: {
237
- onFocus: number;
238
- onBlur: number;
239
- };
240
- }
241
- export interface StringProps {
242
- placeholder?: string;
243
- autoComplete?: "on" | "off" | "new-password";
244
- prefix?: React.ReactNode;
245
- suffix?: React.ReactNode;
246
- className?: string;
247
- size?: InputSize;
248
- allowClear?: boolean;
249
- tags?: string[];
250
- tagsOverflow?: React.ReactNode;
251
- onTagsAllowClearClick?: (e: React.MouseEvent) => void;
252
- onClick?: (e: React.MouseEvent) => void;
253
- maxLength?: number;
254
- disabled?: boolean;
255
- }
256
- export interface IntProps {
257
- placeholder?: string;
258
- suffix?: string;
259
- size?: InputSize;
260
- onBlur?: (input: FieldBaseProps<number, HTMLInputElement>["input"], event?: React.FocusEvent<HTMLInputElement>) => void;
261
- }
262
72
  export interface FloatProps {
263
73
  placeholder?: string;
264
74
  suffix?: string;
265
75
  size?: InputSize;
266
76
  onBlur?: (input: FieldBaseProps<number, HTMLInputElement>["input"], event?: React.FocusEvent<HTMLInputElement>) => void;
267
77
  }
268
- export type FieldBaseProps<V = any, T extends HTMLElement = HTMLElement> = FieldRenderProps<V, T> & {
269
- disabled?: boolean;
270
- className?: string;
271
- };
272
- export type WizardSteps = {
273
- title: string;
274
- render: React.ReactNode;
275
- prevText?: string | React.ReactNode;
276
- okText?: string | React.ReactNode;
277
- onOk?: (e: React.MouseEvent<HTMLElement>) => void;
278
- disabled?: boolean;
279
- }[];
280
- export type ModalProps = Omit<AntdModalProps, "okType"> & {
281
- confirmLoading?: boolean;
282
- fullscreen?: boolean;
283
- error?: string | React.ReactNode;
284
- normal?: boolean;
285
- children?: React.ReactNode;
286
- showCancel?: boolean;
287
- showOk?: boolean;
288
- wizard?: {
289
- step: number;
290
- onStepChange?: (step: number) => void;
291
- steps: WizardSteps;
292
- hideLeft?: boolean;
293
- right?: React.ReactNode;
294
- destroyOtherStep?: boolean;
295
- disablePrevStep?: boolean;
296
- } | boolean;
297
- };
298
- export type SearchInputProps = Omit<InputProps, "onChange"> & {
299
- onChange: (value: string) => void;
300
- debounceWait?: number;
301
- };
302
78
  export type DateTimeRangeProps = DatePickerProps;
303
- export type IntFieldProps<V = any, T extends HTMLElement = HTMLElement> = FieldBaseProps<V, T> & IntProps & {
304
- onChange?: FieldBaseProps<V, T>["input"]["onChange"];
305
- autoComplete?: "on" | "off";
306
- maximum?: number;
307
- minimum?: number;
308
- supportNegativeValue?: boolean;
309
- };
310
- export type ButtonGroupType = {
311
- className?: string;
312
- size?: SizeType;
313
- options: Array<Omit<ButtonProps, "shape" | "size" | "icon"> & {
314
- key: string;
315
- title?: string;
316
- hideTitle?: boolean;
317
- icon?: JSX.Element;
318
- }>;
319
- };
320
79
  export type IntegerFieldProps<V = any, T extends HTMLElement = HTMLElement> = FieldBaseProps<V, T> & InputNumberProps & {
321
80
  onChange?: FieldBaseProps<V, T>["input"]["onChange"];
322
81
  controls?: boolean;
@@ -329,54 +88,6 @@ export type FloatFieldProps<V = any, T extends HTMLElement = HTMLElement> = Fiel
329
88
  onChange?: FieldBaseProps<V, T>["input"]["onChange"];
330
89
  autoComplete?: "on" | "off";
331
90
  };
332
- export type ButtonProps = {
333
- prefixIcon?: JSX.Element;
334
- hoverPrefixIcon?: JSX.Element;
335
- suffixIcon?: JSX.Element;
336
- hoverSuffixIcon?: JSX.Element;
337
- type?: ButtonType | "secondary" | "tertiary" | "ordinary" | "ordinary-onTint" | "quiet";
338
- } & Omit<AntdButtonProps, "type" | "icon">;
339
- export type SwitchProps = Omit<AntdSwitchProps, "size"> & {
340
- size?: "small" | "default" | "large";
341
- };
342
- export type RadioProps = AntdRadioProps & {
343
- description?: React.ReactNode;
344
- compact?: boolean;
345
- };
346
- export type RadioButtonProps = AntdRadioButtonProps & {
347
- type?: "input" | "input-number";
348
- min?: number;
349
- max?: number;
350
- precision?: number;
351
- placeholder?: string;
352
- initialValue?: string | number;
353
- onInputChange?: (val: number | string | undefined) => void;
354
- };
355
- export type StepProps = {
356
- className?: string;
357
- onClick?: React.MouseEventHandler<HTMLElement>;
358
- title: string;
359
- style?: React.CSSProperties;
360
- disabled?: boolean;
361
- };
362
- export type IStepsProps = {
363
- className?: string;
364
- current?: number;
365
- direction?: "horizontal" | "vertical";
366
- style?: React.CSSProperties;
367
- onChange?: (current: number) => void;
368
- stepsConfig: Array<StepProps>;
369
- containerClassname?: string;
370
- disabled?: boolean;
371
- preview?: boolean;
372
- };
373
- export interface ISimplePaginationProps {
374
- className?: string;
375
- current: number;
376
- count: number;
377
- size: number;
378
- onPageChange?: (page: number) => void;
379
- }
380
91
  export type AntdInputComponentType = Input;
381
92
  export interface IExpandableItemProps {
382
93
  header?: React.ReactNode;
@@ -551,168 +262,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
551
262
  DateRangePicker: React.FC<DateRangePickerProps>;
552
263
  SegmentedControl: React.FC<ISegmentedControlProps>;
553
264
  }
554
- export type ArchComponentType = React.FC<{
555
- architecture?: Architecture;
556
- }>;
557
- export type SelectComponentType<V = any, T extends HTMLElement = HTMLElement> = React.FunctionComponent<LooseFieldRenderProps<V, T> & KitSelectProps>;
558
265
  export type OptionComponentType = React.FC<OptionProps> & {
559
266
  isSelectOption: boolean;
560
267
  };
561
- export type BadgeComponentType = React.FC<BadgeProps & {
562
- type?: BadgeTypeProps;
563
- }>;
564
- export type InputGroupComponentType = StyledMeta & React.FC<GroupProps>;
565
- export type AlertComponentType = React.FunctionComponent<Omit<AlertProps, "type"> & {
566
- type?: AlertProps["type"] | "normal";
567
- action?: React.ReactNode;
568
- }>;
569
- export type SearchInputComponentType = React.FC<SearchInputProps>;
570
- export type LoadingComponentType = React.FunctionComponent<{
571
- fullView?: boolean;
572
- }>;
573
- export type EnumProps<V = any, T extends HTMLElement = HTMLElement> = {
574
- input: Partial<FieldRenderProps<V, T>["input"]>;
575
- meta: FieldRenderProps<V, T>["meta"];
576
- disabled?: boolean;
577
- className?: string;
578
- dropdownClassName?: string;
579
- } & BaseEnumProps;
580
268
  export type TableFormPropsType = React.ForwardRefExoticComponent<TableFormProps & React.RefAttributes<TableFormHandle>>;
581
- export type TagColor = "red" | "yellow" | "green" | "blue" | "purple" | "gray" | "red-ontint" | "green-ontint" | "error" | "warning" | "processing" | "default" | "success";
582
- export type SplitTagComponentType = React.FC<Omit<AntdTagProps, "closable" | "closeIcon" | "onClose" | "visible"> & {
583
- color?: "red" | "yellow" | "green" | "blue" | "purple" | "gray";
584
- size?: "small" | "medium";
585
- primaryContent: React.ReactNode;
586
- secondaryContent: React.ReactNode;
587
- }>;
588
- export interface NameTagType extends Omit<React.HTMLAttributes<HTMLSpanElement>, "color"> {
589
- className?: string;
590
- style?: React.CSSProperties;
591
- }
592
- export type TagProps = Omit<AntdTagProps, "closable" | "closeIcon" | "onClose"> & {
593
- color?: TagColor;
594
- size?: "small" | "medium";
595
- hoverable?: boolean;
596
- };
597
- export type TagComponentType = React.FC<TagProps> & {
598
- SplitTag: SplitTagComponentType;
599
- NameTag: React.FC<NameTagType>;
600
- };
601
- export type StatusCapsuleColor = "red" | "yellow" | "green" | "blue" | "gray" | "success" | "danger" | "warning";
602
- export type StatusCapsuleComponentType = React.FC<Omit<AntdTagProps, "closable" | "closeIcon" | "onClose" | "icon" | "size"> & {
603
- color?: StatusCapsuleColor;
604
- loading?: boolean;
605
- hoverable?: boolean;
606
- offWhiteMode?: boolean;
607
- number?: number;
608
- }>;
609
- export type TokenColor = "red" | "yellow" | "green" | "blue" | "gray" | "purple";
610
- export type TokenType = Omit<AntdTagProps, "closeIcon"> & {
611
- color?: TokenColor;
612
- size?: "small" | "medium" | "large";
613
- checked?: boolean;
614
- tooltipConfig?: {
615
- title: string;
616
- };
617
- };
618
- export type TokenComponentType = React.ForwardRefExoticComponent<TokenType & React.RefAttributes<HTMLDivElement>>;
619
- export type TruncateTextWithTooltipType = {
620
- text: string;
621
- textWrapperCls?: string;
622
- } & Omit<TooltipProps, "title">;
623
- export type I18nNameTagType = {
624
- /**
625
- * 需要高亮的内容,对应 i18n 词条 <1>{name}<1> 部分
626
- */
627
- name: string;
628
- /**
629
- * i18n 词条 key
630
- */
631
- i18nKey: string;
632
- /**
633
- * 其它透传给 i18n Trans 组件的内容,具体参考 [trans-component](https://react.i18next.com/latest/trans-component)
634
- */
635
- [key: string]: unknown;
636
- };
637
- export type CronPlanState = {
638
- expression: string;
639
- retain: number;
640
- startAt: Dayjs;
641
- enabled: boolean;
642
- empty: boolean;
643
- };
644
- export type CronPlanProps = {
645
- value: CronPlanState;
646
- onChange: (value: CronPlanState) => unknown;
647
- onRemove?: () => void;
648
- };
649
- export type NamesTooltipType = {
650
- names: {
651
- id: string;
652
- name?: string;
653
- }[];
654
- };
655
- export type CronCalendarProps = {
656
- plans: {
657
- expression: string;
658
- startAt: Dayjs;
659
- empty: boolean;
660
- }[];
661
- };
662
- export type SwitchWithTextProps = PropsFrom<Kit["switch"]> & {
663
- text?: {
664
- checked: React.ReactNode;
665
- unchecked: React.ReactNode;
666
- };
667
- };
668
- export type GoBackButtonType = {
669
- history: History | HistoryType;
670
- title?: string;
671
- onClick?: () => void;
672
- path?: string;
673
- index?: number;
674
- };
675
- export type CalendarComponentType = React.FC<CalendarProps<Moment>>;
676
- type SummaryTableCommonProps = {
677
- showHeader?: boolean;
678
- border?: boolean;
679
- className?: string;
680
- title?: string;
681
- rightAlign?: boolean;
682
- showEdit?: boolean;
683
- onEdit?: () => void;
684
- layout?: "horizontal" | "inline";
685
- };
686
- export interface SummaryTableItem<T> {
687
- key: string;
688
- title: string | ReactNode;
689
- dataIndex: string | string[];
690
- render?: (cell: any, record: T) => React.ReactNode;
691
- hiddenTitle?: boolean;
692
- hiddenBorder?: boolean;
693
- }
694
- type SummaryTableCustomRenderProps = {
695
- children: React.ReactChild;
696
- } & SummaryTableCommonProps;
697
- type SummaryTableContentProps<T> = {
698
- items: SummaryTableItem<T>[];
699
- labelWidth?: string;
700
- dataSource: T;
701
- };
702
- type SummaryTableProps<T> = SummaryTableContentProps<T> & SummaryTableCommonProps;
703
- export type SummaryTableContentComponentType = <T>(props: SummaryTableContentProps<T>) => JSX.Element;
704
- export type SummaryTableComponentType = <T = unknown>(props: SummaryTableProps<T> | SummaryTableCustomRenderProps) => JSX.Element;
705
- export type SortableListComponentType = React.FC<{
706
- moveItem: (from: number, to: number) => void;
707
- }> & {
708
- Item: typeof Draggable;
709
- };
710
- export type SidebarSubtitleComponentType = React.FC<{
711
- title: string;
712
- className?: string;
713
- }>;
714
- export type LinkProps = Omit<ButtonProps, "type"> & {
715
- type?: "default" | "primary" | "secondary";
716
- };
717
- export type LinkComponentType = React.ForwardRefExoticComponent<PropsWithChildren<LinkProps> & React.RefAttributes<HTMLButtonElement>>;
718
269
  export {};
@@ -1,2 +1 @@
1
1
  export * from "./base";
2
- export * from "./type";
@@ -2,7 +2,7 @@ import Alert from "../../../src/core/Alert";
2
2
  import { ComponentStory } from "@storybook/react";
3
3
  import React from "react";
4
4
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/alert").AlertProps, "type"> & {
5
- type?: "normal" | "info" | "success" | "error" | "warning" | undefined;
5
+ type?: "normal" | "success" | "info" | "warning" | "error" | undefined;
6
6
  action?: React.ReactNode;
7
7
  } & {
8
8
  children?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { Architecture } from "../../../src/spec";
1
+ import { Architecture } from "../../../src/core/Arch";
2
2
  import React from "react";
3
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
4
  architecture?: Architecture | undefined;
@@ -1,17 +1,17 @@
1
1
  import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
3
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
3
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
4
4
  } & {
5
5
  children?: React.ReactNode;
6
6
  }>;
7
7
  export default _default;
8
- export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
9
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
8
+ export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
9
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
10
10
  } & {
11
11
  children?: React.ReactNode;
12
12
  }>;
13
- export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
14
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
13
+ export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
14
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
15
15
  } & {
16
16
  children?: React.ReactNode;
17
17
  }>;
@@ -1,17 +1,17 @@
1
1
  import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
3
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
3
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
4
4
  } & {
5
5
  children?: React.ReactNode;
6
6
  }>;
7
7
  export default _default;
8
- export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
9
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
8
+ export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
9
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
10
10
  } & {
11
11
  children?: React.ReactNode;
12
12
  }>;
13
- export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
14
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
13
+ export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
14
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
15
15
  } & {
16
16
  children?: React.ReactNode;
17
17
  }>;
@@ -1,17 +1,17 @@
1
1
  import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
3
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
3
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
4
4
  } & {
5
5
  children?: React.ReactNode;
6
6
  }>;
7
7
  export default _default;
8
- export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
9
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
8
+ export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
9
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
10
10
  } & {
11
11
  children?: React.ReactNode;
12
12
  }>;
13
- export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
14
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
13
+ export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
14
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
15
15
  } & {
16
16
  children?: React.ReactNode;
17
17
  }>;
@@ -1,17 +1,17 @@
1
1
  import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
3
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
3
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
4
4
  } & {
5
5
  children?: React.ReactNode;
6
6
  }>;
7
7
  export default _default;
8
- export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
9
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
8
+ export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
9
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
10
10
  } & {
11
11
  children?: React.ReactNode;
12
12
  }>;
13
- export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src/spec").RawValue & {
14
- emptyProps?: import("../../../src/core/Empty").IEmptyProps | undefined;
13
+ export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../src").RawValue & {
14
+ emptyProps?: import("../../../src").IEmptyProps | undefined;
15
15
  } & {
16
16
  children?: React.ReactNode;
17
17
  }>;