@pnkx-lib/ui 1.9.207 → 1.9.209

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 (188) hide show
  1. package/es/ui/index.js +247 -61
  2. package/package.json +1 -1
  3. package/types/components/fields/CascaderField.d.ts +14 -0
  4. package/types/components/fields/Checkbox.d.ts +12 -0
  5. package/types/components/fields/DatePicker.d.ts +21 -0
  6. package/types/{DateRangePicker.d.ts → components/fields/DateRangePicker.d.ts} +13 -19
  7. package/types/components/fields/Input.d.ts +33 -0
  8. package/types/components/fields/PnkxField.d.ts +11 -0
  9. package/types/components/fields/Radio.d.ts +19 -0
  10. package/types/components/fields/Select.d.ts +13 -0
  11. package/types/{SliderRanger.d.ts → components/fields/SliderRanger.d.ts} +12 -18
  12. package/types/components/fields/SliderSingle.d.ts +12 -0
  13. package/types/components/fields/Switch.d.ts +12 -0
  14. package/types/components/fields/Textarea.d.ts +12 -0
  15. package/types/components/fields/TimePicker.d.ts +12 -0
  16. package/types/components/fields/TimeRangePicker.d.ts +12 -0
  17. package/types/{TinyMCE.d.ts → components/fields/TinyMCE.d.ts} +16 -22
  18. package/types/components/fields/Upload.d.ts +15 -0
  19. package/types/components/fields/index.d.ts +15 -0
  20. package/types/components/hooks/index.d.ts +2 -0
  21. package/types/components/hooks/useBreadcrumb.d.ts +6 -0
  22. package/types/components/hooks/useDebounce.d.ts +1 -0
  23. package/types/{useMessage.d.ts → components/hooks/useMessage.d.ts} +5 -9
  24. package/types/{useToast.d.ts → components/hooks/useToast.d.ts} +12 -16
  25. package/types/components/icons/ActivateIcon.d.ts +6 -0
  26. package/types/components/icons/AllowClearIcon.d.ts +2 -0
  27. package/types/components/icons/ApprovalIcon.d.ts +6 -0
  28. package/types/components/icons/CancelApprovalIcon.d.ts +6 -0
  29. package/types/components/icons/CancelSendApprovalIcon.d.ts +6 -0
  30. package/types/components/icons/DeleteIcon.d.ts +6 -0
  31. package/types/components/icons/Dollar.d.ts +3 -0
  32. package/types/components/icons/DragIcon.d.ts +6 -0
  33. package/types/components/icons/EditIcon.d.ts +6 -0
  34. package/types/components/icons/ErrorConfirmIcon.d.ts +3 -0
  35. package/types/components/icons/InActivateIcon.d.ts +6 -0
  36. package/types/components/icons/InfoConfirmIcon.d.ts +3 -0
  37. package/types/components/icons/MoreIcon.d.ts +6 -0
  38. package/types/components/icons/PlusIcon.d.ts +6 -0
  39. package/types/components/icons/RefuseApprovalIcon.d.ts +6 -0
  40. package/types/components/icons/RestoreIcon.d.ts +6 -0
  41. package/types/components/icons/SearchAdvanceIcon.d.ts +6 -0
  42. package/types/components/icons/SearchIcon.d.ts +2 -0
  43. package/types/components/icons/SendApprovalIcon.d.ts +6 -0
  44. package/types/components/icons/SettingIcon.d.ts +1 -0
  45. package/types/components/icons/SuccessIcon.d.ts +3 -0
  46. package/types/components/icons/TrashCanIcon.d.ts +2 -0
  47. package/types/components/icons/WaitingApprovalIcon.d.ts +6 -0
  48. package/types/components/icons/WarningConfirmIcon.d.ts +3 -0
  49. package/types/components/icons/index.d.ts +18 -0
  50. package/types/components/index.d.ts +3 -0
  51. package/types/components/ui/Alert.d.ts +3 -0
  52. package/types/components/ui/Anchor.d.ts +9 -0
  53. package/types/components/ui/Appfix.d.ts +6 -0
  54. package/types/components/ui/AutoComplete.d.ts +3 -0
  55. package/types/{Badge.d.ts → components/ui/Badge.d.ts} +8 -14
  56. package/types/{BottomPagination.d.ts → components/ui/BottomPagination.d.ts} +8 -12
  57. package/types/components/ui/Breadcrumb.d.ts +16 -0
  58. package/types/components/ui/BreadcrumbHeading.d.ts +8 -0
  59. package/types/components/ui/BulkActions/BulkAction.d.ts +10 -0
  60. package/types/components/ui/BulkActions/DropListActions.d.ts +9 -0
  61. package/types/components/ui/BulkActions/index.d.ts +22 -0
  62. package/types/components/ui/Button.d.ts +4 -0
  63. package/types/components/ui/Card.d.ts +3 -0
  64. package/types/components/ui/Cascader.d.ts +14 -0
  65. package/types/{CategoryStatus.d.ts → components/ui/CategoryStatus.d.ts} +20 -27
  66. package/types/components/ui/Col.d.ts +11 -0
  67. package/types/components/ui/Collapse.d.ts +3 -0
  68. package/types/components/ui/ColorPicker.d.ts +3 -0
  69. package/types/components/ui/ConfigProvider.d.ts +4 -0
  70. package/types/components/ui/ConfirmModal.d.ts +12 -0
  71. package/types/components/ui/Container.d.ts +8 -0
  72. package/types/components/ui/Divider.d.ts +6 -0
  73. package/types/components/ui/Drawer.d.ts +7 -0
  74. package/types/components/ui/Dropdown.d.ts +12 -0
  75. package/types/components/ui/Empty.d.ts +3 -0
  76. package/types/{ErrorBoundary.d.ts → components/ui/ErrorBoundary.d.ts} +18 -26
  77. package/types/components/ui/ErrorMessage.d.ts +7 -0
  78. package/types/components/ui/Flex.d.ts +9 -0
  79. package/types/components/ui/Footer.d.ts +2 -0
  80. package/types/components/ui/Heading.d.ts +10 -0
  81. package/types/components/ui/Image.d.ts +2 -0
  82. package/types/components/ui/Label.d.ts +5 -0
  83. package/types/components/ui/Layout.d.ts +14 -0
  84. package/types/components/ui/Menu.d.ts +22 -0
  85. package/types/components/ui/Modal.d.ts +6 -0
  86. package/types/components/ui/PageNotFound.d.ts +4 -0
  87. package/types/components/ui/Pagination.d.ts +12 -0
  88. package/types/components/ui/Popconfirm.d.ts +6 -0
  89. package/types/components/ui/Popover.d.ts +9 -0
  90. package/types/components/ui/QRCode.d.ts +3 -0
  91. package/types/components/ui/Rate.d.ts +2 -0
  92. package/types/components/ui/Result.d.ts +6 -0
  93. package/types/components/ui/Row.d.ts +7 -0
  94. package/types/{SearchFilterForm.d.ts → components/ui/SearchFilterForm.d.ts} +18 -29
  95. package/types/components/ui/Segmented.d.ts +3 -0
  96. package/types/components/ui/Sidebar.d.ts +22 -0
  97. package/types/components/ui/Skeleton.d.ts +6 -0
  98. package/types/components/ui/Space.d.ts +8 -0
  99. package/types/components/ui/Spin.d.ts +6 -0
  100. package/types/components/ui/Splitter.d.ts +8 -0
  101. package/types/components/ui/Statistic.d.ts +3 -0
  102. package/types/components/ui/Steps.d.ts +12 -0
  103. package/types/components/ui/Table/ActionRowTable/index.d.ts +10 -0
  104. package/types/components/ui/Table/HeadingTable/components/GroupHeadingButton.d.ts +13 -0
  105. package/types/components/ui/Table/HeadingTable/index.d.ts +16 -0
  106. package/types/components/ui/Table/SettingTable/IconSettingTable.d.ts +6 -0
  107. package/types/components/ui/Table/SettingTable/SettingColumnItem.d.ts +7 -0
  108. package/types/components/ui/Table/SettingTable/SortableItem.d.ts +6 -0
  109. package/types/components/ui/Table/SettingTable/index.d.ts +11 -0
  110. package/types/components/ui/Table/index.d.ts +46 -0
  111. package/types/components/ui/Tabs.d.ts +14 -0
  112. package/types/{Tag.d.ts → components/ui/Tag.d.ts} +5 -9
  113. package/types/components/ui/Timeline.d.ts +3 -0
  114. package/types/components/ui/Tooltip.d.ts +4 -0
  115. package/types/components/ui/Tour.d.ts +3 -0
  116. package/types/components/ui/Tree.d.ts +3 -0
  117. package/types/components/ui/Typography.d.ts +8 -0
  118. package/types/components/ui/UploadImage.d.ts +6 -0
  119. package/types/{Watermark.d.ts → components/ui/Watermark.d.ts} +2 -6
  120. package/types/components/ui/index.d.ts +60 -0
  121. package/types/constants/common.d.ts +1 -0
  122. package/types/constants/table.d.ts +31 -0
  123. package/types/helpers/common.d.ts +1 -0
  124. package/types/index.d.ts +2 -42
  125. package/types/Alert.d.ts +0 -7
  126. package/types/Anchor.d.ts +0 -13
  127. package/types/Appfix.d.ts +0 -11
  128. package/types/AutoComplete.d.ts +0 -7
  129. package/types/Breadcrumb.d.ts +0 -27
  130. package/types/BreadcrumbHeading.d.ts +0 -26
  131. package/types/Button.d.ts +0 -8
  132. package/types/Card.d.ts +0 -7
  133. package/types/Cascader.d.ts +0 -22
  134. package/types/CascaderField.d.ts +0 -20
  135. package/types/Checkbox.d.ts +0 -18
  136. package/types/Col.d.ts +0 -19
  137. package/types/Collapse.d.ts +0 -7
  138. package/types/ColorPicker.d.ts +0 -7
  139. package/types/ConfigProvider.d.ts +0 -8
  140. package/types/ConfirmModal.d.ts +0 -23
  141. package/types/Container.d.ts +0 -13
  142. package/types/DatePicker.d.ts +0 -29
  143. package/types/Divider.d.ts +0 -11
  144. package/types/Drawer.d.ts +0 -12
  145. package/types/Dropdown.d.ts +0 -21
  146. package/types/Empty.d.ts +0 -7
  147. package/types/ErrorMessage.d.ts +0 -12
  148. package/types/Flex.d.ts +0 -15
  149. package/types/Footer.d.ts +0 -6
  150. package/types/Heading.d.ts +0 -27
  151. package/types/Image.d.ts +0 -6
  152. package/types/Input.d.ts +0 -42
  153. package/types/Label.d.ts +0 -10
  154. package/types/Layout.d.ts +0 -20
  155. package/types/Menu.d.ts +0 -40
  156. package/types/Modal.d.ts +0 -11
  157. package/types/PageNotFound.d.ts +0 -9
  158. package/types/Pagination.d.ts +0 -22
  159. package/types/PnkxField.d.ts +0 -17
  160. package/types/Popconfirm.d.ts +0 -11
  161. package/types/Popover.d.ts +0 -15
  162. package/types/QRCode.d.ts +0 -7
  163. package/types/Radio.d.ts +0 -26
  164. package/types/Rate.d.ts +0 -5
  165. package/types/Result.d.ts +0 -11
  166. package/types/Row.d.ts +0 -12
  167. package/types/Segmented.d.ts +0 -7
  168. package/types/Select.d.ts +0 -20
  169. package/types/Sidebar.d.ts +0 -29
  170. package/types/Skeleton.d.ts +0 -11
  171. package/types/SliderSingle.d.ts +0 -18
  172. package/types/Space.d.ts +0 -13
  173. package/types/Spin.d.ts +0 -11
  174. package/types/Splitter.d.ts +0 -13
  175. package/types/Statistic.d.ts +0 -7
  176. package/types/Steps.d.ts +0 -20
  177. package/types/Switch.d.ts +0 -18
  178. package/types/Tabs.d.ts +0 -18
  179. package/types/Textarea.d.ts +0 -17
  180. package/types/TimePicker.d.ts +0 -16
  181. package/types/TimeRangePicker.d.ts +0 -16
  182. package/types/Timeline.d.ts +0 -7
  183. package/types/Tooltip.d.ts +0 -8
  184. package/types/Tour.d.ts +0 -7
  185. package/types/Tree.d.ts +0 -7
  186. package/types/Typography.d.ts +0 -12
  187. package/types/Upload.d.ts +0 -23
  188. package/types/UploadImage.d.ts +0 -9
@@ -1,11 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { PopconfirmProps as PopconfirmProps_2 } from 'antd';
3
- import { ReactNode } from 'react';
4
-
5
- export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
6
-
7
- export declare interface PopconfirmProps extends PopconfirmProps_2 {
8
- children?: ReactNode;
9
- }
10
-
11
- export { }
@@ -1,15 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { PopoverProps as PopoverProps_2 } from 'antd';
3
-
4
- declare type BaseProps = {
5
- containerClassName?: string;
6
- popoverClassName?: string;
7
- };
8
-
9
- export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
10
-
11
- export declare type PopoverProps = PopoverProps_2;
12
-
13
- export declare type PopoverPropsUnion = BaseProps & PopoverProps;
14
-
15
- export { }
package/types/QRCode.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { QRCodeProps as QRCodeProps_2 } from 'antd';
2
-
3
- export declare const QRCode: React.FC<QRCodeProps>;
4
-
5
- export declare type QRCodeProps = QRCodeProps_2;
6
-
7
- export { }
package/types/Radio.d.ts DELETED
@@ -1,26 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { RadioGroupProps } from 'antd';
4
- import { UseFormStateReturn } from 'react-hook-form';
5
-
6
- export declare const RadioGroup: (props: RadioProps) => JSX.Element;
7
-
8
- export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
9
- field?: ControllerRenderProps<any, any>;
10
- formState?: UseFormStateReturn<any>;
11
- customStyleRadioGroup?: string;
12
- customStyleRadio?: string;
13
- customStyleWrap?: string;
14
- afterOnChange?: (value: any) => void;
15
- options: TOptionGRadio[];
16
- position?: TPositionRadio;
17
- }
18
-
19
- declare type TOptionGRadio = {
20
- label: string;
21
- value: string | number;
22
- };
23
-
24
- declare type TPositionRadio = "before" | "after";
25
-
26
- export { }
package/types/Rate.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { RateProps } from 'antd';
2
-
3
- export declare const Rate: React.FC<RateProps>;
4
-
5
- export { }
package/types/Result.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- import { ResultProps as ResultProps_2 } from 'antd';
4
-
5
- export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
6
-
7
- export declare interface ResultProps extends ResultProps_2 {
8
- children?: ReactNode | string;
9
- }
10
-
11
- export { }
package/types/Row.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { RowProps } from 'antd';
3
-
4
- declare type BaseProps = {
5
- rowClassName?: string;
6
- };
7
-
8
- export declare const Row: (props: RowPropsUnion) => JSX.Element;
9
-
10
- export declare type RowPropsUnion = BaseProps & RowProps;
11
-
12
- export { }
@@ -1,7 +0,0 @@
1
- import { SegmentedProps as SegmentedProps_2 } from 'antd';
2
-
3
- export declare const Segmented: React.FC<SegmentedProps>;
4
-
5
- export declare type SegmentedProps = SegmentedProps_2;
6
-
7
- export { }
package/types/Select.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { SelectProps } from 'antd';
4
- import { UseFormSetValue } from 'react-hook-form';
5
- import { UseFormStateReturn } from 'react-hook-form';
6
-
7
- export declare const Select: (props: SelectFieldProps) => JSX.Element;
8
-
9
- export declare interface SelectFieldProps extends SelectProps {
10
- field?: ControllerRenderProps<any, any>;
11
- formState?: UseFormStateReturn<any>;
12
- setValue?: UseFormSetValue<any>;
13
- label?: string;
14
- required?: boolean;
15
- afterOnChange?: (value: any) => void;
16
- classNameContainer?: string;
17
- classNameSelect?: string;
18
- }
19
-
20
- export { }
@@ -1,29 +0,0 @@
1
- import { default as default_2 } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { ReactNode } from 'react';
4
-
5
- export declare type MenuType = {
6
- name: string;
7
- path: string;
8
- isShow?: boolean;
9
- isPrivateRoute?: boolean;
10
- icon?: ReactNode;
11
- isShowLabel?: boolean;
12
- component?: default_2.LazyExoticComponent<default_2.MemoExoticComponent<any>> | default_2.ExoticComponent<any> | ReactNode | default_2.FC;
13
- componentProps?: Record<string, any>;
14
- children?: MenuType[];
15
- };
16
-
17
- export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX.Element;
18
-
19
- export declare interface SidebarProps {
20
- children?: default_2.ReactNode;
21
- menu: Array<MenuType>;
22
- userInfo?: {
23
- avatar: string;
24
- name: string;
25
- email: string;
26
- };
27
- }
28
-
29
- export { }
@@ -1,11 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { SkeletonProps as SkeletonProps_2 } from 'antd';
3
-
4
- export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
5
-
6
- export declare interface SkeletonProps extends SkeletonProps_2 {
7
- type?: "table" | "form";
8
- skeletonButtonCount?: number;
9
- }
10
-
11
- export { }
@@ -1,18 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { SliderSingleProps } from 'antd';
4
- import { UseFormStateReturn } from 'react-hook-form';
5
-
6
- export declare interface SliderProps extends Omit<SliderSingleProps, "onChange"> {
7
- field?: ControllerRenderProps<any, any>;
8
- formState?: UseFormStateReturn<any>;
9
- label?: string;
10
- required?: boolean;
11
- afterOnChange?: (data: number) => void;
12
- customStyleContainer?: string;
13
- customStyleSlider?: string;
14
- }
15
-
16
- export declare const SliderSingle: (props: SliderProps) => JSX.Element;
17
-
18
- export { }
package/types/Space.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { Space as Space_2 } from 'antd';
2
- import { SpaceProps } from 'antd';
3
-
4
- declare type BaseProps = {
5
- containerClassName?: string;
6
- spaceClassName?: string;
7
- };
8
-
9
- export declare const Space: typeof Space_2;
10
-
11
- export declare type SpacePropsUnion = BaseProps & SpaceProps;
12
-
13
- export { }
package/types/Spin.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- import { SpinProps } from 'antd';
4
-
5
- export declare interface PnkxSpinProps extends SpinProps {
6
- children?: ReactNode;
7
- }
8
-
9
- export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
10
-
11
- export { }
@@ -1,13 +0,0 @@
1
- import { Splitter as Splitter_2 } from 'antd';
2
- import { SplitterProps } from 'antd';
3
-
4
- declare type BaseProps = {
5
- containerClassName?: string;
6
- spaceClassName?: string;
7
- };
8
-
9
- export declare const Splitter: typeof Splitter_2;
10
-
11
- export declare type SplitterPropsUnion = BaseProps & SplitterProps;
12
-
13
- export { }
@@ -1,7 +0,0 @@
1
- import { StatisticProps as StatisticProps_2 } from 'antd';
2
-
3
- export declare const Statistic: React.FC<StatisticProps>;
4
-
5
- export declare type StatisticProps = StatisticProps_2;
6
-
7
- export { }
package/types/Steps.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import { StepProps as StepProps_2 } from 'antd';
2
- import { Steps as Steps_2 } from 'antd';
3
- import { StepsProps as StepsProps_2 } from 'antd';
4
-
5
- declare type BaseProps = {
6
- containerClassName?: string;
7
- stepsClassName?: string;
8
- };
9
-
10
- export declare type StepProps = StepProps_2;
11
-
12
- export declare const Steps: typeof Steps_2;
13
-
14
- export declare interface StepsProps extends StepsProps_2 {
15
- items?: StepProps[];
16
- }
17
-
18
- export declare type StepsPropsUnion = BaseProps & StepsProps;
19
-
20
- export { }
package/types/Switch.d.ts DELETED
@@ -1,18 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { SwitchProps as SwitchProps_2 } from 'antd';
4
- import { UseFormStateReturn } from 'react-hook-form';
5
-
6
- export declare const Switch: (props: SwitchProps) => JSX.Element;
7
-
8
- export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
9
- field?: ControllerRenderProps<any, any>;
10
- formState?: UseFormStateReturn<any>;
11
- label?: string;
12
- required?: boolean;
13
- afterOnChange?: (checked: boolean) => void;
14
- customStyleContainer?: string;
15
- customStyleSwitch?: string;
16
- }
17
-
18
- export { }
package/types/Tabs.d.ts DELETED
@@ -1,18 +0,0 @@
1
- import { default as default_2 } from 'react';
2
- import { TabsProps as TabsProps_2 } from 'antd';
3
-
4
- declare type TabItem = {
5
- key: string;
6
- label: default_2.ReactNode;
7
- children: default_2.ReactNode;
8
- disabled?: boolean;
9
- };
10
-
11
- export declare const Tabs: default_2.FC<TabsProps>;
12
-
13
- export declare type TabsProps = TabsProps_2 & {
14
- items: TabItem[];
15
- lazyRender?: boolean;
16
- };
17
-
18
- export { }
@@ -1,17 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { default as default_2 } from 'react';
3
- import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
4
- import { UseFormStateReturn } from 'react-hook-form';
5
-
6
- export declare const Textarea: default_2.ForwardRefExoticComponent<TextAreaProps & default_2.RefAttributes<HTMLTextAreaElement>>;
7
-
8
- export declare interface TextAreaProps extends TextAreaProps_2 {
9
- field?: ControllerRenderProps<any, any>;
10
- formState?: UseFormStateReturn<any>;
11
- label?: string;
12
- customStyleTextarea?: string;
13
- afterOnChange?: (value: string) => void;
14
- required?: boolean;
15
- }
16
-
17
- export { }
@@ -1,16 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { Dayjs } from 'dayjs';
3
- import { default as default_2 } from 'react';
4
- import { TimePickerProps } from 'antd/es/time-picker';
5
- import { UseFormStateReturn } from 'react-hook-form';
6
-
7
- export declare const TimePicker: default_2.FC<TimeRangePickerProps>;
8
-
9
- declare interface TimeRangePickerProps extends Omit<TimePickerProps, "value" | "onChange"> {
10
- afterOnChange?: (dates: [Dayjs | null, Dayjs | null] | null) => void;
11
- field?: ControllerRenderProps<any, any>;
12
- formState?: UseFormStateReturn<any>;
13
- label?: string;
14
- }
15
-
16
- export { }
@@ -1,16 +0,0 @@
1
- import { ControllerRenderProps } from 'react-hook-form';
2
- import { Dayjs } from 'dayjs';
3
- import { default as default_2 } from 'react';
4
- import { TimeRangePickerProps as TimeRangePickerProps_2 } from 'antd/es/time-picker';
5
- import { UseFormStateReturn } from 'react-hook-form';
6
-
7
- export declare const TimeRangePicker: default_2.FC<TimeRangePickerProps>;
8
-
9
- declare interface TimeRangePickerProps extends TimeRangePickerProps_2 {
10
- afterOnChange?: (dates: [Dayjs | null, Dayjs | null] | null, dateStrings: [string, string]) => void;
11
- field?: ControllerRenderProps<any, any>;
12
- formState?: UseFormStateReturn<any>;
13
- label?: string;
14
- }
15
-
16
- export { }
@@ -1,7 +0,0 @@
1
- import { TimelineProps as TimelineProps_2 } from 'antd';
2
-
3
- export declare const Timeline: React.FC<TimelineProps>;
4
-
5
- export declare type TimelineProps = TimelineProps_2;
6
-
7
- export { }
@@ -1,8 +0,0 @@
1
- import { default as default_2 } from 'react';
2
- import { TooltipProps as TooltipProps_2 } from 'antd';
3
-
4
- export declare const Tooltip: default_2.FC<TooltipProps>;
5
-
6
- export declare type TooltipProps = TooltipProps_2;
7
-
8
- export { }
package/types/Tour.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { TourProps as TourProps_2 } from 'antd';
2
-
3
- export declare const Tour: React.FC<TourProps>;
4
-
5
- export declare type TourProps = TourProps_2;
6
-
7
- export { }
package/types/Tree.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { TreeProps as TreeProps_2 } from 'antd';
2
-
3
- export declare const Tree: React.FC<TreeProps>;
4
-
5
- export declare type TreeProps = TreeProps_2;
6
-
7
- export { }
@@ -1,12 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { ParagraphProps } from 'antd/es/typography/Paragraph';
3
- import { TextProps } from 'antd/es/typography/Text';
4
- import { TitleProps } from 'antd/es/typography/Title';
5
-
6
- export declare const Typography: {
7
- Title: (props: TitleProps) => JSX.Element;
8
- Paragraph: (props: ParagraphProps) => JSX.Element;
9
- Text: (props: TextProps) => JSX.Element;
10
- };
11
-
12
- export { }
package/types/Upload.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import { ControllerFieldState } from 'react-hook-form';
2
- import { ControllerRenderProps } from 'react-hook-form';
3
- import { JSX } from 'react/jsx-runtime';
4
- import { UploadFile } from 'antd';
5
- import { UploadProps } from 'antd';
6
- import { UseFormStateReturn } from 'react-hook-form';
7
-
8
- export declare const UploadField: (props: UploadFieldProps) => JSX.Element;
9
-
10
- export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
11
- field?: ControllerRenderProps<any, any>;
12
- formState?: UseFormStateReturn<any>;
13
- fieldState?: ControllerFieldState;
14
- label?: string;
15
- required?: boolean;
16
- maxFiles?: number;
17
- uploadButtonText?: string;
18
- customStyleContainer?: string;
19
- customStyleUpload?: string;
20
- afterOnChange?: (fileList: UploadFile[]) => void;
21
- }
22
-
23
- export { }
@@ -1,9 +0,0 @@
1
- import { default as default_2 } from 'react';
2
-
3
- export declare const UploadImage: default_2.FC<UploadImageProps>;
4
-
5
- declare interface UploadImageProps {
6
- onUploadSuccess?: (url: string) => void;
7
- }
8
-
9
- export { }