@unicom-cloud/ui 0.8.92 → 0.8.94

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 (228) hide show
  1. package/Checkbox.js +5 -4
  2. package/Layout.js +8 -7
  3. package/cascader/panel/Option.js +7 -6
  4. package/cascader/panel/Search.js +17 -16
  5. package/checkbox/index.js +7 -6
  6. package/color-picker/Mode.js +7 -6
  7. package/index.js +171 -171
  8. package/layout/index.js +11 -9
  9. package/package.json +1 -1
  10. package/pagination/PageItem.js +52 -53
  11. package/pagination/Pagination.js +2 -1
  12. package/pagination/interface.js +4 -1
  13. package/select/Option.js +12 -11
  14. package/select/Select.js +1 -0
  15. package/table/tbody/Tr.js +3 -2
  16. package/table/thead/Column.js +3 -2
  17. package/table/thead/index.js +3 -2
  18. package/transfer/Item.js +17 -16
  19. package/transfer/List.js +12 -11
  20. package/tree/Node.js +94 -92
  21. package/tree/Tree.js +182 -182
  22. package/types/pc/affix/index.d.ts +1 -1
  23. package/types/pc/alert/index.d.ts +1 -1
  24. package/types/pc/anchor/Anchor.d.ts +1 -1
  25. package/types/pc/anchor/Link.d.ts +1 -1
  26. package/types/pc/anchor/context.d.ts +1 -1
  27. package/types/pc/auto-complete/index.d.ts +1 -1
  28. package/types/pc/avatar/Avatar.d.ts +1 -1
  29. package/types/pc/avatar/Group.d.ts +1 -1
  30. package/types/pc/avatar/context.d.ts +1 -1
  31. package/types/pc/back-top/index.d.ts +1 -1
  32. package/types/pc/badge/index.d.ts +2 -2
  33. package/types/pc/breadcrumb/Item.d.ts +1 -1
  34. package/types/pc/breadcrumb/index.d.ts +1 -1
  35. package/types/pc/button/Group.d.ts +1 -1
  36. package/types/pc/button/index.d.ts +1 -1
  37. package/types/pc/calendar/Month.d.ts +1 -1
  38. package/types/pc/calendar/Year.d.ts +1 -1
  39. package/types/pc/calendar/index.d.ts +1 -1
  40. package/types/pc/card/Grid.d.ts +1 -1
  41. package/types/pc/card/Meta.d.ts +1 -1
  42. package/types/pc/card/index.d.ts +1 -1
  43. package/types/pc/carousel/Arrow.d.ts +1 -1
  44. package/types/pc/carousel/Indicator.d.ts +1 -1
  45. package/types/pc/carousel/index.d.ts +2 -2
  46. package/types/pc/cascader/Cascader.d.ts +1 -1
  47. package/types/pc/cascader/util.d.ts +1 -1
  48. package/types/pc/checkbox/Checkbox.d.ts +1 -1
  49. package/types/pc/checkbox/Group.d.ts +1 -1
  50. package/types/pc/checkbox/GroupBlock.d.ts +1 -1
  51. package/types/pc/checkbox/index.d.ts +1 -1
  52. package/types/pc/collapse/Collapse.d.ts +1 -1
  53. package/types/pc/collapse/Item.d.ts +1 -1
  54. package/types/pc/color-picker/InputHex.d.ts +1 -1
  55. package/types/pc/color-picker/InputRgb.d.ts +1 -1
  56. package/types/pc/color-picker/Mode.d.ts +1 -1
  57. package/types/pc/color-picker/Palette.d.ts +1 -1
  58. package/types/pc/color-picker/index.d.ts +1 -1
  59. package/types/pc/color-picker/utils.d.ts +1 -1
  60. package/types/pc/comment/index.d.ts +1 -1
  61. package/types/pc/config-provider/ConfigProvider.d.ts +3 -2
  62. package/types/pc/config-provider/context.d.ts +1 -1
  63. package/types/pc/config-provider/interface.d.ts +1 -1
  64. package/types/pc/copy/index.d.ts +1 -1
  65. package/types/pc/date-picker/Picker.d.ts +1 -2
  66. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  67. package/types/pc/date-picker/index.d.ts +1 -1
  68. package/types/pc/descriptions/index.d.ts +1 -1
  69. package/types/pc/details/index.d.ts +1 -1
  70. package/types/pc/divider/index.d.ts +1 -1
  71. package/types/pc/draggable/Item.d.ts +1 -1
  72. package/types/pc/draggable/index.d.ts +1 -1
  73. package/types/pc/drawer/Drawer.d.ts +2 -2
  74. package/types/pc/dropdown/Button.d.ts +1 -1
  75. package/types/pc/dropdown/index.d.ts +1 -1
  76. package/types/pc/empty/index.d.ts +1 -1
  77. package/types/pc/form/Control.d.ts +1 -1
  78. package/types/pc/form/Form.d.ts +1 -1
  79. package/types/pc/form/FormLabel.d.ts +1 -1
  80. package/types/pc/form/FormList.d.ts +1 -1
  81. package/types/pc/form/FormProvider.d.ts +1 -1
  82. package/types/pc/form/context.d.ts +1 -1
  83. package/types/pc/form/hook/useForm.d.ts +1 -1
  84. package/types/pc/form/index.d.ts +1 -1
  85. package/types/pc/form/interface.d.ts +2 -2
  86. package/types/pc/form/store.d.ts +3 -4
  87. package/types/pc/form/util.d.ts +3 -3
  88. package/types/pc/grid/Col.d.ts +1 -1
  89. package/types/pc/grid/Grid.d.ts +1 -1
  90. package/types/pc/grid/GridItem.d.ts +1 -1
  91. package/types/pc/grid/Row.d.ts +1 -1
  92. package/types/pc/grid/context.d.ts +1 -1
  93. package/types/pc/grid/util.d.ts +1 -1
  94. package/types/pc/hooks/use-watermark/index.d.ts +1 -1
  95. package/types/pc/icons/file/index.d.ts +1 -1
  96. package/types/pc/image/Image.d.ts +1 -1
  97. package/types/pc/image/ImageFooter.d.ts +1 -1
  98. package/types/pc/image/ImagePreview.d.ts +1 -1
  99. package/types/pc/image/ImagePreviewGroup.d.ts +1 -1
  100. package/types/pc/image/ImagePreviewToolbar.d.ts +1 -1
  101. package/types/pc/image/index.d.ts +1 -1
  102. package/types/pc/image/previewGroupContext.d.ts +1 -1
  103. package/types/pc/input/Button.d.ts +1 -1
  104. package/types/pc/input/Group.d.ts +1 -1
  105. package/types/pc/input/Input.d.ts +1 -1
  106. package/types/pc/input/InputElement.d.ts +1 -1
  107. package/types/pc/input/Password.d.ts +1 -1
  108. package/types/pc/input/Search.d.ts +1 -1
  109. package/types/pc/input/Textarea.d.ts +1 -1
  110. package/types/pc/input/index.d.ts +1 -1
  111. package/types/pc/input/useComposition.d.ts +1 -1
  112. package/types/pc/input-number/index.d.ts +1 -1
  113. package/types/pc/input-tag/InputTag.d.ts +2 -2
  114. package/types/pc/input-tag/interface.d.ts +2 -2
  115. package/types/pc/layout/Content.d.ts +1 -1
  116. package/types/pc/layout/Footer.d.ts +1 -1
  117. package/types/pc/layout/Header.d.ts +1 -1
  118. package/types/pc/layout/Sider.d.ts +1 -1
  119. package/types/pc/layout/index.d.ts +2 -2
  120. package/types/pc/link/index.d.ts +1 -1
  121. package/types/pc/list/Item.d.ts +1 -1
  122. package/types/pc/list/Meta.d.ts +1 -1
  123. package/types/pc/list/index.d.ts +2 -2
  124. package/types/pc/mentions/index.d.ts +1 -1
  125. package/types/pc/mentions/util.d.ts +1 -1
  126. package/types/pc/menu/Item.d.ts +1 -1
  127. package/types/pc/menu/ItemGroup.d.ts +1 -1
  128. package/types/pc/menu/Menu.d.ts +1 -1
  129. package/types/pc/menu/OverflowWrap.d.ts +1 -1
  130. package/types/pc/menu/context.d.ts +1 -1
  131. package/types/pc/menu/index.d.ts +1 -1
  132. package/types/pc/menu/interface.d.ts +1 -1
  133. package/types/pc/message/index.d.ts +2 -2
  134. package/types/pc/message/useMessage.d.ts +1 -1
  135. package/types/pc/modal/Modal.d.ts +2 -2
  136. package/types/pc/modal/config.d.ts +1 -1
  137. package/types/pc/notification/index.d.ts +2 -2
  138. package/types/pc/notification/useNotification.d.ts +1 -1
  139. package/types/pc/page-header/index.d.ts +2 -2
  140. package/types/pc/pagination/PageItem.d.ts +2 -47
  141. package/types/pc/pagination/Pagination.d.ts +1 -1
  142. package/types/pc/pagination/interface.d.ts +47 -0
  143. package/types/pc/popconfirm/index.d.ts +1 -1
  144. package/types/pc/popover/index.d.ts +1 -1
  145. package/types/pc/popover/interface.d.ts +1 -1
  146. package/types/pc/progress/CircleProgress.d.ts +1 -1
  147. package/types/pc/progress/index.d.ts +1 -1
  148. package/types/pc/radio/Group.d.ts +1 -1
  149. package/types/pc/radio/GroupBlock.d.ts +1 -1
  150. package/types/pc/radio/Radio.d.ts +1 -1
  151. package/types/pc/radio/index.d.ts +1 -1
  152. package/types/pc/rate/index.d.ts +1 -1
  153. package/types/pc/resize-box/Split.d.ts +1 -1
  154. package/types/pc/resize-box/SplitGroup.d.ts +1 -1
  155. package/types/pc/resize-box/index.d.ts +1 -1
  156. package/types/pc/result/index.d.ts +1 -1
  157. package/types/pc/select/OptGroup.d.ts +1 -1
  158. package/types/pc/select/Option.d.ts +1 -1
  159. package/types/pc/select/Select.d.ts +3 -2
  160. package/types/pc/select/index.d.ts +1 -1
  161. package/types/pc/select/util.d.ts +1 -1
  162. package/types/pc/select-view/Core.d.ts +1 -1
  163. package/types/pc/select-view/index.d.ts +1 -1
  164. package/types/pc/skeleton/Image.d.ts +1 -1
  165. package/types/pc/skeleton/Text.d.ts +1 -1
  166. package/types/pc/skeleton/index.d.ts +1 -1
  167. package/types/pc/slider/Button.d.ts +1 -1
  168. package/types/pc/slider/hook/useInterval.d.ts +1 -1
  169. package/types/pc/slider/index.d.ts +1 -1
  170. package/types/pc/space/index.d.ts +1 -1
  171. package/types/pc/space-/index.d.ts +1 -1
  172. package/types/pc/spin/index.d.ts +1 -1
  173. package/types/pc/statistic/Countdown.d.ts +1 -1
  174. package/types/pc/statistic/index.d.ts +2 -2
  175. package/types/pc/steps/Step.d.ts +1 -1
  176. package/types/pc/steps/index.d.ts +1 -1
  177. package/types/pc/switch/index.d.ts +2 -2
  178. package/types/pc/table/ColGroup.d.ts +1 -1
  179. package/types/pc/table/Table.d.ts +1 -1
  180. package/types/pc/table/constant.d.ts +1 -1
  181. package/types/pc/table/interface.d.ts +1 -1
  182. package/types/pc/table/util.d.ts +1 -1
  183. package/types/pc/tabs/Tab.d.ts +1 -1
  184. package/types/pc/tabs/TabPane.d.ts +1 -1
  185. package/types/pc/tabs/index.d.ts +1 -1
  186. package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
  187. package/types/pc/tabs/tab-header/index.d.ts +1 -1
  188. package/types/pc/tag/index.d.ts +1 -1
  189. package/types/pc/time-picker/Picker.d.ts +1 -1
  190. package/types/pc/time-picker/RangePicker.d.ts +1 -1
  191. package/types/pc/time-picker/TimePicker.d.ts +1 -1
  192. package/types/pc/time-picker/index.d.ts +1 -1
  193. package/types/pc/timeline/Item.d.ts +1 -1
  194. package/types/pc/timeline/Timeline.d.ts +1 -1
  195. package/types/pc/timeline/index.d.ts +1 -1
  196. package/types/pc/tooltip/index.d.ts +2 -2
  197. package/types/pc/transfer/Item.d.ts +1 -1
  198. package/types/pc/transfer/List.d.ts +1 -1
  199. package/types/pc/transfer/index.d.ts +1 -1
  200. package/types/pc/tree/Animation.d.ts +1 -1
  201. package/types/pc/tree/Context.d.ts +1 -2
  202. package/types/pc/tree/Node.d.ts +1 -1
  203. package/types/pc/tree/Tree.d.ts +1 -1
  204. package/types/pc/tree/index.d.ts +2 -2
  205. package/types/pc/tree/interface.d.ts +19 -3
  206. package/types/pc/tree/util.d.ts +1 -1
  207. package/types/pc/tree-select/List.d.ts +1 -1
  208. package/types/pc/trigger/getPopupStyle.d.ts +1 -1
  209. package/types/pc/trigger/index.d.ts +2 -2
  210. package/types/pc/typography/EditContent.d.ts +1 -1
  211. package/types/pc/typography/Ellipsis.d.ts +1 -1
  212. package/types/pc/typography/Operations.d.ts +1 -1
  213. package/types/pc/typography/Paragraph.d.ts +1 -1
  214. package/types/pc/typography/Title.d.ts +1 -1
  215. package/types/pc/typography/Typography.d.ts +1 -1
  216. package/types/pc/typography/useCssEllipsis.d.ts +1 -1
  217. package/types/pc/typography/useEllipsis.d.ts +1 -1
  218. package/types/pc/upload/TriggerNode.d.ts +1 -1
  219. package/types/pc/upload/Upload.d.ts +2 -2
  220. package/types/pc/upload/Uploader.d.ts +1 -1
  221. package/types/pc/upload/request.d.ts +1 -1
  222. package/types/pc/upload/util.d.ts +1 -1
  223. package/types/pc/verification-code/VerificationCode.d.ts +1 -1
  224. package/types/pc/verification-code/index.d.ts +1 -1
  225. package/types/pc/watermark/Watermark.d.ts +1 -1
  226. package/types/pc/watermark/index.d.ts +2 -2
  227. package/typography/Ellipsis.js +3 -2
  228. package/version/index.js +1 -1
@@ -1,4 +1,4 @@
1
- import type { AffixProps } from './interface';
1
+ import { AffixProps } from './interface';
2
2
  type AffixHandle = {
3
3
  updatePosition: () => void;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { AlertProps } from './interface';
1
+ import { AlertProps } from './interface';
2
2
  declare const AlertComponent: import("react").ForwardRefExoticComponent<AlertProps & import("react").RefAttributes<unknown>>;
3
3
  export default AlertComponent;
4
4
  export type { AlertProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AnchorProps } from './interface';
2
+ import { AnchorProps } from './interface';
3
3
  import Link from './Link';
4
4
  declare const ForwardRefAnchor: React.ForwardRefExoticComponent<AnchorProps & {
5
5
  children?: React.ReactNode | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AnchorLinkProps } from './interface';
2
+ import { AnchorLinkProps } from './interface';
3
3
  declare const AnchorLinkComponent: React.ForwardRefExoticComponent<AnchorLinkProps & {
4
4
  children?: React.ReactNode | undefined;
5
5
  } & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AnchorProps } from './interface';
2
+ import { AnchorProps } from './interface';
3
3
  interface AnchorContext {
4
4
  currentLink: string;
5
5
  onLinkClick: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>, href: string) => void;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RefInputType } from '../input/interface';
3
3
  import Select from '../select/Select';
4
- import type { AutoCompleteProps } from './interface';
4
+ import { AutoCompleteProps } from './interface';
5
5
  declare const ForwardRefAutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<RefInputType>>;
6
6
  declare const AutoCompleteComponent: typeof ForwardRefAutoComplete & {
7
7
  Option: typeof Select.Option;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AvatarProps } from './interface';
2
+ import { AvatarProps } from './interface';
3
3
  declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & {
4
4
  children?: React.ReactNode | undefined;
5
5
  } & React.RefAttributes<HTMLElement>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AvatarGroupProps } from './interface';
2
+ import { AvatarGroupProps } from './interface';
3
3
  declare const AvatarGroupComponent: React.ForwardRefExoticComponent<AvatarGroupProps & {
4
4
  children?: React.ReactNode | undefined;
5
5
  } & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,3 @@
1
- import type { AvatarProps } from './interface';
1
+ import { AvatarProps } from './interface';
2
2
  declare const _default: import("react").Context<AvatarProps>;
3
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { BackTopProps } from './interface';
2
+ import { BackTopProps } from './interface';
3
3
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<BackTopProps & {
4
4
  children?: React.ReactNode | undefined;
5
5
  } & React.RefAttributes<unknown>>>;
@@ -1,8 +1,8 @@
1
1
  import Count from './Count';
2
- import type { BadgeProps } from './interface';
2
+ import { BadgeProps } from './interface';
3
3
  declare const BadgeComponent: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<unknown>>;
4
4
  declare const BADGE_COLORS: string[];
5
5
  declare const BADGE_STATUS: string[];
6
- export default BadgeComponent;
7
6
  export { BADGE_COLORS, BADGE_STATUS, Count as BadgeCount };
7
+ export default BadgeComponent;
8
8
  export type { BadgeProps };
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import type { BreadCrumbItemProps } from './interface';
2
+ import { BreadCrumbItemProps } from './interface';
3
3
  declare function Item(props: PropsWithChildren<BreadCrumbItemProps>): import("react/jsx-dev-runtime").JSX.Element;
4
4
  declare namespace Item {
5
5
  var displayName: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { BreadcrumbProps } from './interface';
2
+ import { BreadcrumbProps } from './interface';
3
3
  import Item from './Item';
4
4
  declare const ForwardRefBreadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<unknown>>;
5
5
  declare const BreadcrumbComponent: typeof ForwardRefBreadcrumb & {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ButtonGroupProps } from './interface';
2
+ import { ButtonGroupProps } from './interface';
3
3
  declare const GroupComponent: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<unknown>>;
4
4
  export default GroupComponent;
5
5
  export type { ButtonGroupProps };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import Group from './Group';
3
- import type { ButtonProps } from './interface';
3
+ import { ButtonProps } from './interface';
4
4
  declare const ForwardRefButton: React.ForwardRefExoticComponent<Partial<{
5
5
  htmlType?: "button" | "submit" | "reset";
6
6
  } & import("./interface").BaseButtonProps & Omit<React.ButtonHTMLAttributes<any>, "className" | "type" | "onClick"> & {
@@ -1,5 +1,5 @@
1
1
  import { Dayjs } from 'dayjs';
2
- import type { CalendarProps } from './interface';
2
+ import { CalendarProps } from './interface';
3
3
  export interface MonthProps extends CalendarProps {
4
4
  prefixCls?: string;
5
5
  cell?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { Dayjs } from 'dayjs';
2
- import type { CalendarProps } from './interface';
2
+ import { CalendarProps } from './interface';
3
3
  interface YearProps extends CalendarProps {
4
4
  prefixCls?: string;
5
5
  pageData?: any;
@@ -1,6 +1,6 @@
1
1
  import Month from './Month';
2
2
  import Year from './Year';
3
- import type { CalendarProps } from './interface';
3
+ import { CalendarProps } from './interface';
4
4
  declare function Calendar(baseProps: CalendarProps): import("react/jsx-dev-runtime").JSX.Element;
5
5
  declare namespace Calendar {
6
6
  var displayName: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CardGridProps } from './interface';
2
+ import { CardGridProps } from './interface';
3
3
  declare const CardComponent: React.ForwardRefExoticComponent<CardGridProps & React.RefAttributes<unknown>>;
4
4
  export default CardComponent;
5
5
  export type { CardGridProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CardMetaProps } from './interface';
2
+ import { CardMetaProps } from './interface';
3
3
  declare const MetaComponent: React.ForwardRefExoticComponent<CardMetaProps & React.RefAttributes<unknown>>;
4
4
  export default MetaComponent;
5
5
  export type { CardMetaProps };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import Grid from './Grid';
3
3
  import Meta from './Meta';
4
- import type { CardProps } from './interface';
4
+ import { CardProps } from './interface';
5
5
  declare const ForwardRefCard: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<unknown>>;
6
6
  declare const CardComponent: typeof ForwardRefCard & {
7
7
  Meta: typeof Meta;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { CarouselArrowProps } from './interface';
2
+ import { CarouselArrowProps } from './interface';
3
3
  declare const CarouselArrowComponent: React.ForwardRefExoticComponent<CarouselArrowProps & React.RefAttributes<unknown>>;
4
4
  export default CarouselArrowComponent;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { CarouselIndicatorProps } from './interface';
2
+ import { CarouselIndicatorProps } from './interface';
3
3
  declare const CarouselIndicatorComponent: React.ForwardRefExoticComponent<CarouselIndicatorProps & React.RefAttributes<unknown>>;
4
4
  export default CarouselIndicatorComponent;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CarouselProps } from './interface';
2
+ import { CarouselProps } from './interface';
3
3
  declare const CarouselComponent: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<unknown>>;
4
4
  export default CarouselComponent;
5
- export { CarouselProps };
5
+ export type { CarouselProps };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SelectViewHandle } from '../select-view';
3
- import type { CascaderProps } from './interface';
3
+ import { CascaderProps } from './interface';
4
4
  export declare const DefaultFieldNames: {
5
5
  label: string;
6
6
  value: string;
@@ -1,5 +1,5 @@
1
1
  import Store from './base/store';
2
- import type { CascaderProps } from './interface';
2
+ import { CascaderProps } from './interface';
3
3
  export declare const ValueSeparator = "__pqb_cascader__";
4
4
  export declare const SHOW_PARENT = "parent";
5
5
  export declare const SHOW_CHILD = "child";
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import CheckboxGroup from './Group';
3
3
  import CheckboxGroupBlock from './GroupBlock';
4
- import type { CheckboxProps } from './interface';
4
+ import { CheckboxProps } from './interface';
5
5
  import useCheckbox from './useCheckbox';
6
6
  interface ForwardRefCheckboxType extends React.ForwardRefExoticComponent<React.PropsWithoutRef<CheckboxProps> & React.RefAttributes<unknown>> {
7
7
  <T extends React.ReactText = any>(props: React.PropsWithChildren<CheckboxProps<T>> & {
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren, ReactText } from 'react';
2
- import type { CheckboxGroupProps } from './interface';
2
+ import { CheckboxGroupProps } from './interface';
3
3
  export declare const CheckboxGroupContext: React.Context<{
4
4
  disabled?: boolean;
5
5
  isCheckboxGroup: boolean;
@@ -1,4 +1,4 @@
1
- import type { CheckboxGroupProps } from './interface';
1
+ import { CheckboxGroupProps } from './interface';
2
2
  declare function CheckboxGroupBlock(props: any): import("react/jsx-dev-runtime").JSX.Element;
3
3
  declare namespace CheckboxGroupBlock {
4
4
  var displayName: string;
@@ -1,5 +1,5 @@
1
1
  import Checkbox from './Checkbox';
2
2
  export * from './Checkbox';
3
- export type { ClearCheckboxGroupContext } from './Group';
3
+ export { ClearCheckboxGroupContext } from './Group';
4
4
  export type { CheckboxProps } from './interface';
5
5
  export default Checkbox;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CollapseProps } from './interface';
2
+ import { CollapseProps } from './interface';
3
3
  import CollapseItem from './Item';
4
4
  export declare const CollapseContext: React.Context<Pick<CollapseProps, "lazyload" | "destroyOnHide" | "expandIcon" | "triggerRegion" | "expandIconPosition"> & {
5
5
  activeKeys: string[];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CollapseItemProps } from './interface';
2
+ import { CollapseItemProps } from './interface';
3
3
  declare const ItemRef: React.ForwardRefExoticComponent<CollapseItemProps & {
4
4
  children?: React.ReactNode | undefined;
5
5
  } & React.RefAttributes<unknown>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { Color, HSV } from './interface';
2
+ import { Color, HSV } from './interface';
3
3
  interface InputHexProps {
4
4
  color: Color;
5
5
  alpha: number;
@@ -1,4 +1,4 @@
1
- import type { Color, HSV } from './interface';
1
+ import { Color, HSV } from './interface';
2
2
  interface InputRgbProps {
3
3
  color: Color;
4
4
  alpha: number;
@@ -1,4 +1,4 @@
1
- import type { ColorPickerMode, GradientColor } from './interface';
1
+ import { ColorPickerMode, GradientColor } from './interface';
2
2
  export declare const getMode: (mode: ColorPickerMode | ColorPickerMode[]) => ColorPickerMode | ColorPickerMode[];
3
3
  export declare const isSingleMode: (mode: ColorPickerMode | ColorPickerMode[]) => mode is ColorPickerMode.Single;
4
4
  export declare const isGradientMode: (mode: ColorPickerMode | ColorPickerMode[]) => mode is ColorPickerMode.Gradient;
@@ -1,4 +1,4 @@
1
- import type { Color } from './interface';
1
+ import { Color } from './interface';
2
2
  interface PaletteProps {
3
3
  color: Color;
4
4
  onChange: (s: number, v: number) => void;
@@ -3,7 +3,7 @@ import { ControlBar } from './ControlBar';
3
3
  import { InputAlpha } from './InputAlpha';
4
4
  import { InputHex } from './InputHex';
5
5
  import { InputRgb } from './InputRgb';
6
- import type { ColorPickerProps } from './interface';
6
+ import { ColorPickerProps } from './interface';
7
7
  import { Palette } from './Palette';
8
8
  import { Panel } from './Panel';
9
9
  declare const ColorPickerComponent: React.ForwardRefExoticComponent<ColorPickerProps & React.RefAttributes<unknown>>;
@@ -1,4 +1,4 @@
1
- import type { GradientColor, HSV, InternalGradientColor, RGB } from './interface';
1
+ import { GradientColor, HSV, InternalGradientColor, RGB } from './interface';
2
2
  interface RGBA extends RGB {
3
3
  a: number | undefined;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { CommentProps } from './interface';
1
+ import { CommentProps } from './interface';
2
2
  declare const CommentRef: import("react").ForwardRefExoticComponent<CommentProps & {
3
3
  children?: import("react").ReactNode | undefined;
4
4
  } & import("react").RefAttributes<unknown>>;
@@ -1,5 +1,5 @@
1
1
  import ConfigContext, { ConfigProviderDefaultProps } from './context';
2
- import type { ConfigProviderProps } from './interface';
2
+ import { ConfigProviderProps } from './interface';
3
3
  declare function ConfigProvider(baseProps: ConfigProviderProps): import("react/jsx-dev-runtime").JSX.Element;
4
4
  declare namespace ConfigProvider {
5
5
  var ConfigContext: import("react").Context<ConfigProviderProps>;
@@ -7,4 +7,5 @@ declare namespace ConfigProvider {
7
7
  }
8
8
  export default ConfigProvider;
9
9
  export declare const ConfigConsumer: import("react").Consumer<ConfigProviderProps>;
10
- export { ConfigContext, ConfigProviderDefaultProps, type ConfigProviderProps };
10
+ export { ConfigContext, ConfigProviderDefaultProps };
11
+ export type { ConfigProviderProps };
@@ -1,4 +1,4 @@
1
- import type { ConfigProviderProps } from './interface';
1
+ import { ConfigProviderProps } from './interface';
2
2
  export declare const ConfigProviderDefaultProps: ConfigProviderProps;
3
3
  declare const ConfigContext: import("react").Context<ConfigProviderProps>;
4
4
  export default ConfigContext;
@@ -67,7 +67,7 @@ import { TypographyEllipsisProps } from '../typography';
67
67
  import { UploadProps } from '../upload/interface';
68
68
  import { VerificationCodeProps } from '../verification-code/interface';
69
69
  import { WatermarkProps } from '../watermark/interface';
70
- export type ThemeConfig = Record<string, any>;
70
+ export type ThemeConfig = Record<string, unknown>;
71
71
  export type ComponentConfig = {
72
72
  Affix?: AffixProps;
73
73
  Alert?: AlertProps;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import type { CopyProps } from './interface';
2
+ import { CopyProps } from './interface';
3
3
  declare function Copy(props: PropsWithChildren<CopyProps>): import("react/jsx-dev-runtime").JSX.Element;
4
4
  declare namespace Copy {
5
5
  var displayName: string;
@@ -1,8 +1,7 @@
1
1
  import { Dayjs } from 'dayjs';
2
2
  import React, { ReactElement } from 'react';
3
3
  import { TimePickerProps } from '../time-picker/interface';
4
- import type { CalendarValue, ModeType, PickerProps } from './interface';
5
- import type { DatePickerHandle } from './interface';
4
+ import { CalendarValue, DatePickerHandle, ModeType, PickerProps } from './interface';
6
5
  interface InnerPickerProps extends PickerProps {
7
6
  disabledDate?: (current: Dayjs) => boolean;
8
7
  picker?: ReactElement;
@@ -1,3 +1,3 @@
1
- import type { RangePickerHandle } from './interface';
1
+ import { RangePickerHandle } from './interface';
2
2
  declare const PickerComponent: import("react").ForwardRefExoticComponent<import("./interface").BaseRangePickerProps & import("components/common/utils").Omit<import("./interface").PickerProps, "onChange" | "onSelect" | "onOk" | "inputProps" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange"> & import("react").RefAttributes<RangePickerHandle>>;
3
3
  export default PickerComponent;
@@ -1,5 +1,5 @@
1
1
  import RangePicker from './RangePicker';
2
- import type { DatePickerDecorator, DatePickerHandle, DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps } from './interface';
2
+ import { DatePickerDecorator, DatePickerHandle, DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps } from './interface';
3
3
  declare const DatePicker: DatePickerDecorator;
4
4
  declare const MonthPicker: import("react").ForwardRefExoticComponent<import("./interface").BaseMonthPickerProps & import("./interface").PickerProps & import("react").RefAttributes<DatePickerHandle>>;
5
5
  declare const YearPicker: import("react").ForwardRefExoticComponent<import("./interface").BaseYearPickerProps & import("./interface").PickerProps & import("react").RefAttributes<DatePickerHandle>>;
@@ -1,4 +1,4 @@
1
- import type { DescriptionsProps } from './interface';
1
+ import { DescriptionsProps } from './interface';
2
2
  declare function Descriptions(baseProps: DescriptionsProps): import("react/jsx-dev-runtime").JSX.Element;
3
3
  declare namespace Descriptions {
4
4
  var displayName: string;
@@ -1,4 +1,4 @@
1
- import type { DetailsProps } from './interface';
1
+ import { DetailsProps } from './interface';
2
2
  declare const DetailsComponent: import("react").ForwardRefExoticComponent<DetailsProps & import("react").RefAttributes<unknown>>;
3
3
  export default DetailsComponent;
4
4
  export type { DetailsProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { DividerProps } from './interface';
2
+ import { DividerProps } from './interface';
3
3
  declare const DividerComponent: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<unknown>>;
4
4
  export default DividerComponent;
5
5
  export type { DividerProps };
@@ -1,3 +1,3 @@
1
- import type { DraggableItemProps } from './interface';
1
+ import { DraggableItemProps } from './interface';
2
2
  declare function Item(props: DraggableItemProps): import("react/jsx-dev-runtime").JSX.Element;
3
3
  export default Item;
@@ -1,3 +1,3 @@
1
- import type { DraggableProps } from './interface';
1
+ import { DraggableProps } from './interface';
2
2
  declare function Draggable(props: DraggableProps): import("react/jsx-dev-runtime").JSX.Element;
3
3
  export default Draggable;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { DrawerProps } from './interface';
2
+ import { DrawerProps } from './interface';
3
3
  declare const DrawerComponent: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<unknown>>;
4
4
  export default DrawerComponent;
5
- export { DrawerProps };
5
+ export type { DrawerProps };
@@ -1,4 +1,4 @@
1
- import type { DropdownButtonProps } from './interface';
1
+ import { DropdownButtonProps } from './interface';
2
2
  declare const ButtonComponent: import("react").ForwardRefExoticComponent<DropdownButtonProps & import("react").RefAttributes<unknown>>;
3
3
  export default ButtonComponent;
4
4
  export type { DropdownButtonProps };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import Button from './Button';
3
- import type { DropdownProps } from './interface';
3
+ import { DropdownProps } from './interface';
4
4
  declare const ForwardRefDropdown: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<unknown>>;
5
5
  declare const DropdownComponent: typeof ForwardRefDropdown & {
6
6
  Button: typeof Button;
@@ -1,4 +1,4 @@
1
- import type { EmptyProps } from './interface';
1
+ import { EmptyProps } from './interface';
2
2
  declare const Empty: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<EmptyProps & import("react").RefAttributes<unknown>>>;
3
3
  export default Empty;
4
4
  export type { EmptyProps };
@@ -1,5 +1,5 @@
1
1
  import React, { Component, ReactNode } from 'react';
2
- import type { FieldError, FormControlProps, FormItemContextProps, FormItemProps, KeyType } from './interface';
2
+ import { FieldError, FormControlProps, FormItemContextProps, FormItemProps, KeyType } from './interface';
3
3
  import { NotifyType, StoreChangeInfo } from './store';
4
4
  declare class Control<FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData> extends Component<FormControlProps<FormData, FieldValue, FieldKey>> {
5
5
  static defaultProps: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { FormInstance, FormProps, KeyType } from './interface';
2
+ import { FormInstance, FormProps, KeyType } from './interface';
3
3
  declare const _default: <FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData>(props: React.PropsWithChildren<FormProps<FormData, FieldValue, FieldKey>> & {
4
4
  ref?: React.Ref<FormInstance<FormData, FieldValue, FieldKey>>;
5
5
  }) => React.ReactElement;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import type { FormItemProps } from './interface';
2
+ import { FormItemProps } from './interface';
3
3
  interface FormItemLabelProps extends Pick<FormItemProps, 'tooltip' | 'label' | 'requiredSymbol' | 'required' | 'rules'> {
4
4
  showColon: boolean | ReactNode;
5
5
  prefix: string | undefined;
@@ -1,4 +1,4 @@
1
- import type { FormListProps, KeyType } from './interface';
1
+ import { FormListProps, KeyType } from './interface';
2
2
  declare function FormList<SubFieldValue = unknown, SubFieldKey extends KeyType = string, FieldKey extends KeyType = string>(props: FormListProps<SubFieldValue, SubFieldKey, FieldKey>): import("react/jsx-dev-runtime").JSX.Element;
3
3
  declare namespace FormList {
4
4
  var displayName: string;
@@ -1,4 +1,4 @@
1
1
  import { ForwardRefExoticComponent, PropsWithChildren } from 'react';
2
- import type { FormProviderProps } from './interface';
2
+ import { FormProviderProps } from './interface';
3
3
  declare const _default: ForwardRefExoticComponent<PropsWithChildren<FormProviderProps>>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Context } from 'react';
2
- import type { FormContextProps, FormInstance, FormItemContextProps, KeyType } from './interface';
2
+ import { FormContextProps, FormInstance, FormItemContextProps, KeyType } from './interface';
3
3
  export type FormContextType<FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData> = Context<FormContextProps<FormData, FieldValue, FieldKey>>;
4
4
  export declare const FormContext: Context<FormContextProps>;
5
5
  export type FormItemContextType<FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData> = Context<FormItemContextProps<FormData, FieldValue, FieldKey>>;
@@ -1,4 +1,4 @@
1
- import type { FormInstance, KeyType } from '../interface';
1
+ import { FormInstance, KeyType } from '../interface';
2
2
  export declare function getFormInstance<FormData = unknown, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData>(): FormInstance<FormData, FieldValue, FieldKey>;
3
3
  type SetForm = () => void;
4
4
  declare function useForm<FormData = unknown, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData>(form?: FormInstance<FormData, FieldValue, FieldKey>): [FormInstance<FormData, FieldValue, FieldKey> | null | undefined, SetForm];
@@ -1,5 +1,5 @@
1
1
  import Form from './Form';
2
- import type { FormInstance, FormItemProps, FormProps, FormProviderProps } from './interface';
2
+ import { FormInstance, FormItemProps, FormProps, FormProviderProps } from './interface';
3
3
  import FormControl from './Control';
4
4
  import FormItem from './FormItem';
5
5
  import FormList from './FormList';
@@ -1,9 +1,9 @@
1
1
  import { Options as ScrollIntoViewOptions } from '@unicom-cloud/scroll-into-view-if-needed';
2
- import type { ValidateMessagesTemplateType } from '@unicom-cloud/validate/types';
2
+ import { ValidateMessagesTemplateType } from '@unicom-cloud/validate/types';
3
3
  import React, { CSSProperties, FormHTMLAttributes, HTMLAttributes, ReactElement, ReactNode } from 'react';
4
4
  import { JSX } from 'react/jsx-runtime';
5
5
  import { ColProps } from '../grid/Col';
6
- import type { TooltipProps } from '../tooltip/interface';
6
+ import { TooltipProps } from '../tooltip/interface';
7
7
  import Store from './store';
8
8
  export type IndexedObject = {
9
9
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- import type { FieldError, FieldState, FormProps, FormValidateFn, KeyType } from './interface';
3
- import { SubmitStatus } from './interface';
2
+ import { FieldError, FieldState, FormProps, FormValidateFn, KeyType, SubmitStatus } from './interface';
4
3
  export type DeepPartial<T> = T extends object ? {
5
4
  [P in keyof T]?: DeepPartial<T[P]>;
6
5
  } : T;
@@ -12,7 +11,7 @@ export type DeepPartial<T> = T extends object ? {
12
11
  export type NotifyType = 'setFieldValue' | 'reset' | 'innerSetValue';
13
12
  export type innerCallbackType = 'onValuesChange' | 'onSubmit' | 'onReset' | 'onChange' | 'onSubmitFailed';
14
13
  export type StoreChangeInfo<T> = {
15
- prev: any;
14
+ prev: unknown;
16
15
  field?: T | T[];
17
16
  isFormList?: boolean;
18
17
  ignore?: boolean;
@@ -25,7 +24,7 @@ export type StoreChangeInfo<T> = {
25
24
  touched?: boolean;
26
25
  };
27
26
  };
28
- declare class Store<FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData> {
27
+ declare class Store<FormData = unknown, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData> {
29
28
  private submitStatus;
30
29
  private registerFields;
31
30
  private registerWatchers;
@@ -1,7 +1,7 @@
1
- import type { PropertyPath } from 'lodash';
1
+ import { PropertyPath } from 'lodash';
2
2
  import { ReactNode } from 'react';
3
- import type { RulesProps } from '../form/interface';
4
- import type { FormProps, IndexedObject } from './interface';
3
+ import { RulesProps } from '../form/interface';
4
+ import { FormProps, IndexedObject } from './interface';
5
5
  export declare function cloneDeep(value: any): any;
6
6
  export declare const formatValidateMsg: (validateMessages: FormProps["validateMessages"], info: {
7
7
  label: ReactNode;
@@ -1,4 +1,4 @@
1
- import type { ColProps } from './interface';
1
+ import { ColProps } from './interface';
2
2
  declare const ColComponent: import("react").ForwardRefExoticComponent<ColProps & import("react").RefAttributes<unknown>>;
3
3
  export default ColComponent;
4
4
  export type { ColProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { GridProps } from './interface';
2
+ import { GridProps } from './interface';
3
3
  declare const GridComponent: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<unknown>>;
4
4
  export default GridComponent;
5
5
  export type { GridProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { GridItemProps } from './interface';
2
+ import { GridItemProps } from './interface';
3
3
  declare const ForwardRefGridItem: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<unknown>>;
4
4
  declare const GridItemComponent: typeof ForwardRefGridItem & {
5
5
  __PQB_GRID_ITEM__: boolean;