@para-ui/core 2.2.4 → 2.2.5-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoBox/index.d.ts +12 -6
- package/AutoBox/index.js +203 -15
- package/AutoTips/index.d.ts +12 -6
- package/AutoTips/index.js +84 -15
- package/Breadcrumbs/index.d.ts +13 -7
- package/Breadcrumbs/index.js +227 -15
- package/Button/index.d.ts +92 -11
- package/Button/index.js +348 -14
- package/ButtonGroup/index.d.ts +21 -9
- package/ButtonGroup/index.js +128 -14
- package/Carousel/index.d.ts +17 -11
- package/Carousel/index.js +74 -15
- package/Cascader/index.d.ts +12 -7
- package/Cascader/index.js +166 -15
- package/Checkbox/index.d.ts +13 -7
- package/Checkbox/index.js +105 -14
- package/CheckboxGroup/index.d.ts +15 -9
- package/CheckboxGroup/index.js +138 -14
- package/Collapse/index.d.ts +49 -14
- package/Collapse/index.js +171 -15
- package/CollapseBox/index.d.ts +11 -5
- package/CollapseBox/index.js +164 -15
- package/ColorPicker/index.d.ts +4 -4
- package/ColorPicker/index.js +4 -1
- package/ComboSelect/index.d.ts +306 -6
- package/ComboSelect/index.js +1803 -14
- package/Container/index.d.ts +13 -8
- package/Container/index.js +239 -15
- package/DatePicker/index.d.ts +30 -17
- package/DatePicker/index.js +733 -14
- package/Desktop/index.d.ts +14 -6
- package/Desktop/index.js +853 -14
- package/Drawer/index.d.ts +92 -6
- package/Drawer/index.js +186 -14
- package/Dropdown/index.d.ts +29 -0
- package/Dropdown/index.js +67 -0
- package/Empty/index.d.ts +16 -10
- package/Empty/index.js +644 -14
- package/Form/index.d.ts +11 -9
- package/Form/index.js +384 -14
- package/FormItem/index.d.ts +5 -152
- package/FormItem/index.js +81 -14
- package/FunctionModal/index.d.ts +14 -3
- package/FunctionModal/index.js +39 -14
- package/GlobalContext/index.d.ts +38 -8
- package/GlobalContext/index.js +41 -16
- package/Help/index.d.ts +16 -10
- package/Help/index.js +39 -15
- package/HelperText/index.d.ts +11 -5
- package/HelperText/index.js +29 -15
- package/InputLang/index.d.ts +13 -7
- package/InputLang/index.js +270 -14
- package/InputNumber/index.d.ts +16 -10
- package/InputNumber/index.js +308 -14
- package/Label/index.d.ts +12 -6
- package/Label/index.js +81 -14
- package/Loading/index.d.ts +12 -6
- package/Loading/index.js +47 -15
- package/Menu/index.d.ts +123 -5
- package/Menu/index.js +1232 -14
- package/Message/index.d.ts +11 -5
- package/Message/index.js +222 -15
- package/Modal/index.d.ts +142 -40
- package/Modal/index.js +443 -14
- package/MultiBox/index.d.ts +13 -7
- package/MultiBox/index.js +231 -14
- package/Notification/index.d.ts +22 -16
- package/Notification/index.js +266 -15
- package/OperateBtn/index.d.ts +16 -10
- package/OperateBtn/index.js +260 -14
- package/PageHeader/index.d.ts +178 -5
- package/PageHeader/index.js +1171 -14
- package/Pagination/index.d.ts +12 -6
- package/Pagination/index.js +469 -14
- package/ParauiProvider/index.d.ts +9 -8
- package/ParauiProvider/index.js +53 -15
- package/PopConfirm/index.d.ts +23 -10
- package/PopConfirm/index.js +189 -14
- package/Popover/index.d.ts +18 -11
- package/Popover/index.js +66 -15
- package/Progress/index.d.ts +18 -12
- package/Progress/index.js +358 -20
- package/Querying/index.d.ts +15 -9
- package/Querying/index.js +762 -14
- package/Radio/index.d.ts +13 -7
- package/Radio/index.js +94 -14
- package/RadioGroup/index.d.ts +15 -9
- package/RadioGroup/index.js +128 -14
- package/Search/index.d.ts +18 -12
- package/Search/index.js +220 -14
- package/Select/index.d.ts +13 -7
- package/Select/index.js +1288 -14
- package/SelectInput/index.d.ts +11 -5
- package/SelectInput/index.js +51 -14
- package/SingleBox/index.d.ts +13 -7
- package/SingleBox/index.js +194 -14
- package/Slider/index.d.ts +104 -7
- package/Slider/index.js +125 -15
- package/Split/index.d.ts +8 -3
- package/Split/index.js +134 -15
- package/Stepper/index.d.ts +41 -25
- package/Stepper/index.js +99 -15
- package/Switch/index.d.ts +16 -10
- package/Switch/index.js +73 -14
- package/Table/index.d.ts +12 -4
- package/Table/index.js +2725 -14
- package/Tabs/index.d.ts +64 -29
- package/Tabs/index.js +218 -14
- package/Tag/index.d.ts +78 -12
- package/Tag/index.js +286 -14
- package/Test/index.d.ts +3 -2
- package/Test/index.js +9 -16
- package/TextField/index.d.ts +22 -16
- package/TextField/index.js +686 -14
- package/TimePicker/index.d.ts +20 -10
- package/TimePicker/index.js +77 -14
- package/Timeline/index.d.ts +49 -13
- package/Timeline/index.js +150 -15
- package/ToggleButton/index.d.ts +61 -10
- package/ToggleButton/index.js +200 -14
- package/Tooltip/index.d.ts +12 -10
- package/Tooltip/index.js +335 -15
- package/Transfer/index.d.ts +8 -3
- package/Transfer/index.js +343 -14
- package/Tree/index.d.ts +8 -5
- package/Tree/index.js +35 -14
- package/Upload/index.d.ts +179 -8
- package/Upload/index.js +1542 -14
- package/_verture/defineProperty-0590dc61.js +16 -0
- package/_verture/index-0d8e1d07.js +4 -0
- package/_verture/index-14a47097.js +4 -0
- package/_verture/index-342379c6.js +391 -0
- package/_verture/index-458032d7.js +10 -0
- package/_verture/index-46bfb2f0.js +778 -0
- package/_verture/index-50401de7.js +4 -0
- package/_verture/index-5b08df83.js +4 -0
- package/_verture/index-6190b129.js +4 -0
- package/_verture/index-7ef1e3b6.js +1553 -0
- package/_verture/index-a369ca3f.js +4 -0
- package/_verture/index-c60911dc.js +39 -0
- package/_verture/index-e2881a53.js +16 -0
- package/_verture/index-ff4c2a27.js +200 -0
- package/{Tree/interface.d.ts → _verture/interface-128abdd3.js} +15 -25
- package/_verture/interface-a77a851e.js +25 -0
- package/{Table/interface.d.ts → _verture/interface-a9b7c716.js} +20 -28
- package/_verture/intl-336570e4.js +65 -0
- package/_verture/modalContext-25890584.js +228 -0
- package/_verture/modalContext-639f2787.js +58 -0
- package/_verture/slicedToArray-d7722f4b.js +62 -0
- package/_verture/style-inject.es-300983ab.js +28 -0
- package/_verture/toConsumableArray-f8047a75.js +19 -0
- package/_verture/tslib.es6-55ed4bd2.js +38 -0
- package/_verture/typeof-498dd2b1.js +11 -0
- package/_verture/useFormatMessage-ac9d6acf.js +20 -0
- package/_verture/useGlobalProps-af9a2af6.js +12 -0
- package/index.d.ts +88 -128
- package/index.js +160 -19
- package/package.json +59 -22
- package/Button/SplitButton.d.ts +0 -61
- package/Button/lang/en_US.d.ts +0 -4
- package/Button/lang/index.d.ts +0 -9
- package/Button/lang/zh_CN.d.ts +0 -4
- package/Cascader/lang/en_US.d.ts +0 -4
- package/Cascader/lang/index.d.ts +0 -9
- package/Cascader/lang/zh_CN.d.ts +0 -4
- package/Collapse/collapsePanel.d.ts +0 -30
- package/Collapse/motion.d.ts +0 -5
- package/Collapse/util.d.ts +0 -11
- package/CollapseBox/util.d.ts +0 -5
- package/ComboSelect/WithTabsCombo/index.d.ts +0 -11
- package/ComboSelect/WithTabsCombo/interface.d.ts +0 -141
- package/ComboSelect/interface.d.ts +0 -143
- package/ComboSelect/lang/en_US.d.ts +0 -8
- package/ComboSelect/lang/index.d.ts +0 -17
- package/ComboSelect/lang/zh_CN.d.ts +0 -8
- package/ComboSelect/utils.d.ts +0 -12
- package/DatePicker/PickerButton.d.ts +0 -3
- package/DatePicker/PickerTag.d.ts +0 -3
- package/DatePicker/generatePicker/generateRangePicker.d.ts +0 -4
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +0 -11
- package/DatePicker/generatePicker/index.d.ts +0 -77
- package/DatePicker/lang/en_US.d.ts +0 -3
- package/DatePicker/lang/index.d.ts +0 -7
- package/DatePicker/lang/zh_CN.d.ts +0 -3
- package/DatePicker/util.d.ts +0 -20
- package/Drawer/interface.d.ts +0 -83
- package/Drawer/lang/en_US.d.ts +0 -5
- package/Drawer/lang/index.d.ts +0 -11
- package/Drawer/lang/zh_CN.d.ts +0 -5
- package/Empty/images/index.d.ts +0 -2
- package/Empty/lang/en_US.d.ts +0 -6
- package/Empty/lang/index.d.ts +0 -13
- package/Empty/lang/zh_CN.d.ts +0 -6
- package/FormItem/compoments/defaultCompoments/index.d.ts +0 -19
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +0 -8
- package/FormItem/compoments/formFile/index.d.ts +0 -38
- package/FormItem/compoments/formRadioGroup/index.d.ts +0 -8
- package/FormItem/compoments/formSelect/index.d.ts +0 -18
- package/FormItem/errorTips.d.ts +0 -12
- package/FormItem/itemType.d.ts +0 -42
- package/FormItem/validateFunction.d.ts +0 -15
- package/FunctionModal/dialog.d.ts +0 -58
- package/FunctionModal/modalContext.d.ts +0 -14
- package/GlobalContext/componentsProps.d.ts +0 -19
- package/GlobalContext/confirmLocale.d.ts +0 -7
- package/GlobalContext/intl.d.ts +0 -34
- package/GlobalContext/useFormatMessage.d.ts +0 -3
- package/Hooks/useGlobalProps.d.ts +0 -1
- package/Menu/footerExpansion.d.ts +0 -9
- package/Menu/interface.d.ts +0 -139
- package/Menu/logo.d.ts +0 -9
- package/Menu/verticalMenuList.d.ts +0 -14
- package/Modal/Confirm/index.d.ts +0 -66
- package/Modal/lang/en_US.d.ts +0 -5
- package/Modal/lang/index.d.ts +0 -11
- package/Modal/lang/zh_CN.d.ts +0 -5
- package/OperateBtn/lang/en_US.d.ts +0 -4
- package/OperateBtn/lang/index.d.ts +0 -9
- package/OperateBtn/lang/zh_CN.d.ts +0 -4
- package/PageHeader/horizontalMeun.d.ts +0 -9
- package/PageHeader/horizontalMeunRight.d.ts +0 -9
- package/PageHeader/interface.d.ts +0 -167
- package/Pagination/lang/en_US.d.ts +0 -8
- package/Pagination/lang/index.d.ts +0 -17
- package/Pagination/lang/zh_CN.d.ts +0 -8
- package/PopConfirm/lang/en_US.d.ts +0 -5
- package/PopConfirm/lang/index.d.ts +0 -11
- package/PopConfirm/lang/zh_CN.d.ts +0 -5
- package/Popper/index.d.ts +0 -13
- package/Popper/index.js +0 -16
- package/Progress/Line.d.ts +0 -47
- package/Progress/Steps.d.ts +0 -17
- package/Progress/utils.d.ts +0 -6
- package/Querying/images/index.d.ts +0 -2
- package/Querying/lang/en_US.d.ts +0 -4
- package/Querying/lang/index.d.ts +0 -9
- package/Querying/lang/zh_CN.d.ts +0 -4
- package/README.md +0 -489
- package/Select/lang/en_US.d.ts +0 -5
- package/Select/lang/index.d.ts +0 -11
- package/Select/lang/zh_CN.d.ts +0 -5
- package/Slider/interface.d.ts +0 -102
- package/Stepper/icons.d.ts +0 -5
- package/Table/lang/en_US.d.ts +0 -6
- package/Table/lang/index.d.ts +0 -13
- package/Table/lang/zh_CN.d.ts +0 -6
- package/Table/tableBody.d.ts +0 -9
- package/Table/tableBodyElement/index.d.ts +0 -15
- package/Table/tableBodyInterface.d.ts +0 -67
- package/Table/tableContainer/index.d.ts +0 -16
- package/Table/tableElement/index.d.ts +0 -17
- package/Table/tableHead.d.ts +0 -9
- package/Table/tableHeadElement/index.d.ts +0 -15
- package/Table/tableHeadInterface.d.ts +0 -30
- package/Table/tablePagination.d.ts +0 -9
- package/Table/tablePaginationInterFace.d.ts +0 -24
- package/Table/tdElement/index.d.ts +0 -15
- package/Table/thElement/index.d.ts +0 -15
- package/Table/trElement/index.d.ts +0 -15
- package/Table/util.d.ts +0 -16
- package/Tag/TagGroup.d.ts +0 -66
- package/TimePicker/locale/en_US.d.ts +0 -3
- package/TimePicker/locale/zh_CN.d.ts +0 -3
- package/TimePicker/style/index.d.ts +0 -1
- package/ToggleButton/ToggleButtonGroup.d.ts +0 -49
- package/Transfer/lang/en_US.d.ts +0 -6
- package/Transfer/lang/index.d.ts +0 -13
- package/Transfer/lang/zh_CN.d.ts +0 -6
- package/Tree/OperateBar/index.d.ts +0 -13
- package/Tree/Tree.d.ts +0 -4
- package/Tree/lang/en_US.d.ts +0 -8
- package/Tree/lang/index.d.ts +0 -17
- package/Tree/lang/zh_CN.d.ts +0 -8
- package/Tree/utils/closestPolyfill.d.ts +0 -0
- package/Tree/utils/tools.d.ts +0 -26
- package/Tree/utils/treeUtil.d.ts +0 -15
- package/Upload/Dragger/index.d.ts +0 -10
- package/Upload/ErroTip/index.d.ts +0 -13
- package/Upload/ImageUpload/index.d.ts +0 -14
- package/Upload/ImgCrop/EasyCrop.d.ts +0 -17
- package/Upload/ImgCrop/constants.d.ts +0 -7
- package/Upload/ImgCrop/index.d.ts +0 -6
- package/Upload/ImgCrop/interface.d.ts +0 -24
- package/Upload/UploadList/index.d.ts +0 -5
- package/Upload/interface.d.ts +0 -134
- package/Upload/lang/en_US.d.ts +0 -12
- package/Upload/lang/index.d.ts +0 -25
- package/Upload/lang/zh_CN.d.ts +0 -12
- package/cdn/AutoBox/index.js +0 -29
- package/cdn/AutoTips/index.js +0 -40
- package/cdn/Breadcrumbs/index.js +0 -53
- package/cdn/Button/index.js +0 -79
- package/cdn/ButtonGroup/index.js +0 -79
- package/cdn/Carousel/index.js +0 -6
- package/cdn/Cascader/index.js +0 -42
- package/cdn/Checkbox/index.js +0 -53
- package/cdn/CheckboxGroup/index.js +0 -53
- package/cdn/Collapse/index.js +0 -27
- package/cdn/CollapseBox/index.js +0 -1
- package/cdn/ColorPicker/index.js +0 -1
- package/cdn/ComboSelect/index.js +0 -438
- package/cdn/Container/index.js +0 -1
- package/cdn/DatePicker/index.js +0 -185
- package/cdn/Desktop/index.js +0 -24
- package/cdn/Drawer/index.js +0 -84
- package/cdn/Empty/index.js +0 -1
- package/cdn/Form/index.js +0 -477
- package/cdn/FormItem/index.js +0 -477
- package/cdn/FunctionModal/index.js +0 -144
- package/cdn/GlobalContext/index.js +0 -1
- package/cdn/Help/index.js +0 -53
- package/cdn/HelperText/index.js +0 -1
- package/cdn/InputLang/index.js +0 -144
- package/cdn/InputNumber/index.js +0 -118
- package/cdn/Label/index.js +0 -53
- package/cdn/Loading/index.js +0 -14
- package/cdn/Menu/index.js +0 -40
- package/cdn/Message/index.js +0 -53
- package/cdn/Modal/index.js +0 -144
- package/cdn/MultiBox/index.js +0 -131
- package/cdn/Notification/index.js +0 -66
- package/cdn/OperateBtn/index.js +0 -92
- package/cdn/PageHeader/index.js +0 -92
- package/cdn/Pagination/index.js +0 -214
- package/cdn/ParauiProvider/index.js +0 -9
- package/cdn/PopConfirm/index.js +0 -131
- package/cdn/Popover/index.js +0 -16
- package/cdn/Popper/index.js +0 -26
- package/cdn/Progress/index.js +0 -58
- package/cdn/Querying/index.js +0 -1
- package/cdn/Radio/index.js +0 -53
- package/cdn/RadioGroup/index.js +0 -53
- package/cdn/Search/index.js +0 -144
- package/cdn/Select/index.js +0 -131
- package/cdn/SelectInput/index.js +0 -131
- package/cdn/SingleBox/index.js +0 -131
- package/cdn/Slider/index.js +0 -16
- package/cdn/Split/index.js +0 -1
- package/cdn/Stepper/index.js +0 -154
- package/cdn/Switch/index.js +0 -71
- package/cdn/Table/index.js +0 -292
- package/cdn/Tabs/index.js +0 -165
- package/cdn/Tag/index.js +0 -27
- package/cdn/Test/index.js +0 -1
- package/cdn/TextField/index.js +0 -105
- package/cdn/TimePicker/index.js +0 -185
- package/cdn/Timeline/index.js +0 -16
- package/cdn/ToggleButton/index.js +0 -79
- package/cdn/Tooltip/index.js +0 -40
- package/cdn/Transfer/index.js +0 -170
- package/cdn/Tree/index.js +0 -170
- package/cdn/Upload/index.js +0 -252
- package/style.css +0 -72
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:06
|
|
4
|
-
* @description 表格内容参数
|
|
5
|
-
*/
|
|
6
|
-
import React, { ReactNode } from "react";
|
|
7
|
-
import { TableHeadBodyPublicProps, Anyjson, ExpandableStatus } from './interface';
|
|
8
|
-
import { EmptyProps } from "../Empty";
|
|
9
|
-
/** 表格头部参数 */
|
|
10
|
-
export interface TableBodyProps extends TableHeadBodyPublicProps {
|
|
11
|
-
/** 请求地址 */
|
|
12
|
-
url?: string;
|
|
13
|
-
/** 空状态属性 */
|
|
14
|
-
emptyProps?: EmptyProps;
|
|
15
|
-
/** 当前表格页数据 */
|
|
16
|
-
rowData?: any[];
|
|
17
|
-
/** 渲染表格一行数据 (跟表格头部head里面的render参数互斥) */
|
|
18
|
-
tableCell?: (row: any, params: any) => ReactNode;
|
|
19
|
-
/** 禁用key的map */
|
|
20
|
-
disabledJson?: Anyjson;
|
|
21
|
-
/** 选择框禁用时的状态 true 选中, false不选中, null 不显示 */
|
|
22
|
-
disabledArrStatus?: {
|
|
23
|
-
[name: string]: true | false | null;
|
|
24
|
-
};
|
|
25
|
-
/** 数据总数对象--用来分页记录数据的 */
|
|
26
|
-
totalDataJson?: Anyjson;
|
|
27
|
-
/** 多选 选中的数据 */
|
|
28
|
-
checkJson?: Anyjson;
|
|
29
|
-
/** 单选 选中的数据 */
|
|
30
|
-
radioValue?: any;
|
|
31
|
-
/** 复选框 - 选择 */
|
|
32
|
-
selectCheck?: (event: React.ChangeEvent<HTMLInputElement>, bol: boolean, key: any) => void;
|
|
33
|
-
/** 单选 - 选择 */
|
|
34
|
-
selectRadio?: (event: React.ChangeEvent<HTMLInputElement>, val: any) => void;
|
|
35
|
-
/** 用来格式化内容 */
|
|
36
|
-
formatter?: (row: any, item: any, val: any, index: number) => ReactNode;
|
|
37
|
-
/** 加载 */
|
|
38
|
-
loadState?: boolean;
|
|
39
|
-
/** 加载更多 */
|
|
40
|
-
loadMore?: boolean;
|
|
41
|
-
/** 加载更多自定义 */
|
|
42
|
-
loadMoreRender?: ReactNode;
|
|
43
|
-
/** 点击加载更多 */
|
|
44
|
-
onClickMore?: () => void;
|
|
45
|
-
/** 总条数 */
|
|
46
|
-
total?: number;
|
|
47
|
-
/** 当前页 */
|
|
48
|
-
page?: number | null;
|
|
49
|
-
/** 当前选中每页行数 */
|
|
50
|
-
currentRowsPerPage?: number | null;
|
|
51
|
-
/** 改变页数 */
|
|
52
|
-
changePage?: (num?: number) => void;
|
|
53
|
-
/** 加载更多,请求是否在表格里 */
|
|
54
|
-
loadMoreUrl?: boolean;
|
|
55
|
-
/** 默认展开项 */
|
|
56
|
-
expandValue?: string[];
|
|
57
|
-
/** 展开多个 */
|
|
58
|
-
expandMultiple?: boolean;
|
|
59
|
-
/** 禁用展开项 */
|
|
60
|
-
disabledExpand?: string[];
|
|
61
|
-
/** 展开事件 */
|
|
62
|
-
onExpand?: (row: any, status: ExpandableStatus) => void;
|
|
63
|
-
/** 是否展开所有行 */
|
|
64
|
-
defaultExpandAllRows?: boolean;
|
|
65
|
-
/** 刷新表格 */
|
|
66
|
-
onRefresh?: () => void;
|
|
67
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格容器
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface TableContainerProps {
|
|
9
|
-
cRef?: any;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
children?: any;
|
|
13
|
-
[name: string]: any;
|
|
14
|
-
}
|
|
15
|
-
export declare const TableContainer: FunctionComponent<TableContainerProps>;
|
|
16
|
-
export default TableContainer;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格元素
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface TableElementProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
/** 是否固定表格 */
|
|
12
|
-
sticky?: boolean;
|
|
13
|
-
children?: any;
|
|
14
|
-
[name: string]: any;
|
|
15
|
-
}
|
|
16
|
-
export declare const TableElement: FunctionComponent<TableElementProps>;
|
|
17
|
-
export default TableElement;
|
package/Table/tableHead.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:06
|
|
4
|
-
* @description 表格头部
|
|
5
|
-
*/
|
|
6
|
-
import { FunctionComponent } from 'react';
|
|
7
|
-
import { TableHeadProps } from './tableHeadInterface';
|
|
8
|
-
export declare const TableHead: FunctionComponent<TableHeadProps>;
|
|
9
|
-
export default TableHead;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格表头元素
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface TableHeadElementProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
children?: any;
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export declare const TableHeadElement: FunctionComponent<TableHeadElementProps>;
|
|
15
|
-
export default TableHeadElement;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:07
|
|
4
|
-
* @description 表格头部参数
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { TableHeadBodyPublicProps, SelectStatus } from './interface';
|
|
8
|
-
/** 表格头部参数 */
|
|
9
|
-
export interface TableHeadProps extends TableHeadBodyPublicProps {
|
|
10
|
-
/** 排序触发事件 property: 属性名 */
|
|
11
|
-
onRequestSort?: (event: React.MouseEvent<unknown>, property: string) => void;
|
|
12
|
-
/** 全选事件 */
|
|
13
|
-
selectAll?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
14
|
-
/** 选中状态 */
|
|
15
|
-
selectStatus?: SelectStatus;
|
|
16
|
-
/** 是否过滤 */
|
|
17
|
-
filter?: boolean;
|
|
18
|
-
/** 显示列 */
|
|
19
|
-
showList?: any[];
|
|
20
|
-
/** 改变显示列 bol true重置 */
|
|
21
|
-
changeShowList: (headShowArr: any, bol?: boolean, item?: any) => void;
|
|
22
|
-
/** 过滤值 */
|
|
23
|
-
selectFilter: any;
|
|
24
|
-
/** 改变过滤 */
|
|
25
|
-
changeFilter?: (val: any) => void;
|
|
26
|
-
/** 外部显示列,隐藏事件 */
|
|
27
|
-
hideShowColumns?: () => void;
|
|
28
|
-
/** 外部显示列,定位元素 */
|
|
29
|
-
outsideShowColumns?: HTMLButtonElement | null;
|
|
30
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:07
|
|
4
|
-
* @description 表格分页
|
|
5
|
-
*/
|
|
6
|
-
import { FunctionComponent } from 'react';
|
|
7
|
-
import { TablePaginationProps } from './tablePaginationInterFace';
|
|
8
|
-
export declare const TableHead: FunctionComponent<TablePaginationProps>;
|
|
9
|
-
export default TableHead;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/6 11:07
|
|
4
|
-
* @description 表格分页参数
|
|
5
|
-
*/
|
|
6
|
-
/** 表格分页参数 */
|
|
7
|
-
export interface TablePaginationProps {
|
|
8
|
-
/** 自适应分页,根据外容器大小,改变分页模式 */
|
|
9
|
-
autoPagination?: boolean;
|
|
10
|
-
/** 分页模式 */
|
|
11
|
-
paginationType?: 'simple' | 'complex';
|
|
12
|
-
/** 总条数 */
|
|
13
|
-
total?: number;
|
|
14
|
-
/** 当前页 */
|
|
15
|
-
page?: number;
|
|
16
|
-
/** 每页行数 */
|
|
17
|
-
rowsPerPage?: number[];
|
|
18
|
-
/** 当前选中每页行数 */
|
|
19
|
-
currentRowsPerPage?: number;
|
|
20
|
-
/** 改变页数 */
|
|
21
|
-
changePage?: (num?: number) => void;
|
|
22
|
-
/** 改变每页行数 */
|
|
23
|
-
changeRowsPerPage?: (num: number) => void;
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格td元素
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface TdElementProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
children?: any;
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export declare const TdElement: FunctionComponent<TdElementProps>;
|
|
15
|
-
export default TdElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格th元素
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface ThElementProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
children?: any;
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export declare const ThElement: FunctionComponent<ThElementProps>;
|
|
15
|
-
export default ThElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2022/4/26 11:00 AM
|
|
4
|
-
* @description 表格tr元素
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
export interface TrElementProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
children?: any;
|
|
12
|
-
[name: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export declare const TrElement: FunctionComponent<TrElementProps>;
|
|
15
|
-
export default TrElement;
|
package/Table/util.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReqProps } from "./interface";
|
|
2
|
-
/**
|
|
3
|
-
* 发送请求
|
|
4
|
-
* @param obj {ReqProps} 请求信息
|
|
5
|
-
*/
|
|
6
|
-
export declare const requestFunc: (obj: ReqProps) => Promise<import("@paraview/lib").ParaResponse> | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* 处理get请求地址
|
|
9
|
-
* @param obj {ReqProps} 请求信息
|
|
10
|
-
* @return string get请求地址参数
|
|
11
|
-
*/
|
|
12
|
-
export declare const handGetReqParams: (obj: ReqProps) => string;
|
|
13
|
-
/**
|
|
14
|
-
* 提取字符串里面的数字
|
|
15
|
-
* */
|
|
16
|
-
export declare const getStringInNumber: (str: string | number) => number;
|
package/Tag/TagGroup.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Hanz
|
|
3
|
-
* @date 2022/1/12 下午1:16
|
|
4
|
-
* @description tag group
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import { TagProps } from "./index";
|
|
8
|
-
import './index.scss';
|
|
9
|
-
interface TagItem extends Omit<TagProps, 'visible' | 'size' | 'bordered'> {
|
|
10
|
-
/**
|
|
11
|
-
* label
|
|
12
|
-
*/
|
|
13
|
-
label: string;
|
|
14
|
-
/**
|
|
15
|
-
* value
|
|
16
|
-
*/
|
|
17
|
-
value: string;
|
|
18
|
-
}
|
|
19
|
-
declare type Item = string | number;
|
|
20
|
-
export interface TagGroupProps {
|
|
21
|
-
/**
|
|
22
|
-
* cls
|
|
23
|
-
*/
|
|
24
|
-
className?: string;
|
|
25
|
-
/**
|
|
26
|
-
* 样式
|
|
27
|
-
*/
|
|
28
|
-
style?: React.CSSProperties;
|
|
29
|
-
/**
|
|
30
|
-
* 大小
|
|
31
|
-
*/
|
|
32
|
-
size?: 'small' | 'large';
|
|
33
|
-
/**
|
|
34
|
-
* 显示边框
|
|
35
|
-
*/
|
|
36
|
-
bordered?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* input 默认值
|
|
39
|
-
*/
|
|
40
|
-
defaultInputValue?: string;
|
|
41
|
-
/**
|
|
42
|
-
* 动态添加
|
|
43
|
-
*/
|
|
44
|
-
increased?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* 动态添加按钮 increased 为true 有效
|
|
47
|
-
*/
|
|
48
|
-
increasedTag?: {
|
|
49
|
-
/** 图标 */
|
|
50
|
-
icon?: React.ReactNode;
|
|
51
|
-
/** 文字 */
|
|
52
|
-
text?: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* 组数据源
|
|
56
|
-
*/
|
|
57
|
-
data?: TagItem[] | Item[];
|
|
58
|
-
/**
|
|
59
|
-
* onchange
|
|
60
|
-
* @param tagData
|
|
61
|
-
* @param value
|
|
62
|
-
*/
|
|
63
|
-
onChange?: (tagData: TagItem[], value: string[]) => void;
|
|
64
|
-
}
|
|
65
|
-
declare const TagGroup: FunctionComponent<TagGroupProps>;
|
|
66
|
-
export default TagGroup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '../../DatePicker/style';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Hanz
|
|
3
|
-
* @date 2021/11/23 上午11:17
|
|
4
|
-
* @description toggle button group
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
declare type Item = {
|
|
9
|
-
label: string;
|
|
10
|
-
value: any;
|
|
11
|
-
selected?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
};
|
|
15
|
-
export interface ToggleButtonGroupProps {
|
|
16
|
-
type?: 'text' | 'outlined';
|
|
17
|
-
/**
|
|
18
|
-
* 类名
|
|
19
|
-
*/
|
|
20
|
-
className?: string;
|
|
21
|
-
/**
|
|
22
|
-
* 样式
|
|
23
|
-
*/
|
|
24
|
-
style?: React.CSSProperties;
|
|
25
|
-
/**
|
|
26
|
-
* 是否互斥
|
|
27
|
-
*/
|
|
28
|
-
exclusive?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* 是否可切换选中项
|
|
31
|
-
*/
|
|
32
|
-
toggleable?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* 按钮组value
|
|
35
|
-
*/
|
|
36
|
-
value?: any;
|
|
37
|
-
/**
|
|
38
|
-
* 按钮组数据源
|
|
39
|
-
*/
|
|
40
|
-
data?: Item[];
|
|
41
|
-
/**
|
|
42
|
-
* value变化时回调
|
|
43
|
-
* @param event
|
|
44
|
-
* @param value
|
|
45
|
-
*/
|
|
46
|
-
onChange?: (event: React.MouseEvent, value: any) => void;
|
|
47
|
-
}
|
|
48
|
-
declare const ToggleButtonGroup: FunctionComponent<ToggleButtonGroupProps>;
|
|
49
|
-
export default ToggleButtonGroup;
|
package/Transfer/lang/en_US.d.ts
DELETED
package/Transfer/lang/index.d.ts
DELETED
package/Transfer/lang/zh_CN.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from "react";
|
|
2
|
-
import { DataNode } from 'rc-tree/lib/interface';
|
|
3
|
-
import { IActions, ActionType } from "../interface";
|
|
4
|
-
import './index.scss';
|
|
5
|
-
interface OperateBarProps {
|
|
6
|
-
opRef: any;
|
|
7
|
-
mouseInRef: any;
|
|
8
|
-
actionsCallback?: (nodeData: DataNode, type: ActionType, evt?: React.MouseEvent) => void;
|
|
9
|
-
showActions?: IActions;
|
|
10
|
-
onRemove?: (anchorEl: HTMLElement) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const OperateBar: FunctionComponent<OperateBarProps>;
|
|
13
|
-
export default OperateBar;
|
package/Tree/Tree.d.ts
DELETED
package/Tree/lang/en_US.d.ts
DELETED
package/Tree/lang/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
zh: {
|
|
3
|
-
loadMore: string;
|
|
4
|
-
add: string;
|
|
5
|
-
edit: string;
|
|
6
|
-
disabled: string;
|
|
7
|
-
delete: string;
|
|
8
|
-
};
|
|
9
|
-
en: {
|
|
10
|
-
loadMore: string;
|
|
11
|
-
add: string;
|
|
12
|
-
edit: string;
|
|
13
|
-
disabled: string;
|
|
14
|
-
delete: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
package/Tree/lang/zh_CN.d.ts
DELETED
|
File without changes
|
package/Tree/utils/tools.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DataNode, Key } from "rc-tree/lib/interface";
|
|
2
|
-
interface RFiled {
|
|
3
|
-
key: string;
|
|
4
|
-
parentId: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
7
|
-
export declare const debounce: (func: Function, wait?: number, options?: any) => {
|
|
8
|
-
(...args: any): any;
|
|
9
|
-
cancel: () => void;
|
|
10
|
-
flush: () => any;
|
|
11
|
-
pending: () => boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const deepCopy: (target: any) => any;
|
|
14
|
-
export declare const flatten: (data: any[]) => any[];
|
|
15
|
-
export declare const convert: (list: any, rFiled?: RFiled) => any;
|
|
16
|
-
export declare const convertByFilter: (sourceList: any[], filterList: any[], rFiled?: RFiled) => any[];
|
|
17
|
-
export declare const getUnMatchDataOfKeys: (keys: Key[], oriData: DataNode[]) => Key[];
|
|
18
|
-
export declare const getCheckedKeys: (cKeys: Key[] | {
|
|
19
|
-
checked: Key[];
|
|
20
|
-
halfChecked: Key[];
|
|
21
|
-
}) => Key[];
|
|
22
|
-
export declare const getHalfCheckedKeys: (cKeys: Key[] | {
|
|
23
|
-
checked: Key[];
|
|
24
|
-
halfChecked: Key[];
|
|
25
|
-
}) => Key[];
|
|
26
|
-
export {};
|
package/Tree/utils/treeUtil.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CSSMotionProps } from 'rc-motion';
|
|
3
|
-
import { TreeNodeProps } from '../interface';
|
|
4
|
-
export declare const collapseMotion: CSSMotionProps;
|
|
5
|
-
export default function renderSwitcherIcon(prefixCls: string, switcherIcon: React.ReactNode | null | undefined, showLine: boolean | {
|
|
6
|
-
showLeafIcon: boolean;
|
|
7
|
-
} | undefined, { isLeaf, expanded, loading, eventKey }: TreeNodeProps): {} | null;
|
|
8
|
-
export declare function dropIndicatorRender(props: {
|
|
9
|
-
dropPosition: -1 | 0 | 1;
|
|
10
|
-
dropLevelOffset: number;
|
|
11
|
-
indent: number;
|
|
12
|
-
prefixCls: string;
|
|
13
|
-
direction: 'ltr' | 'rtl' | undefined;
|
|
14
|
-
}): JSX.Element;
|
|
15
|
-
export declare function renderTreeNodeIcon(nodeProps: TreeNodeProps, radioable: boolean, checkedKey: any, replaceFields: any): JSX.Element | null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Hanz
|
|
3
|
-
* @date 2021/11/15 下午2:12
|
|
4
|
-
* @description
|
|
5
|
-
*/
|
|
6
|
-
import { FunctionComponent } from "react";
|
|
7
|
-
import { UploadProps } from "../index";
|
|
8
|
-
export declare type DraggerProps = Omit<UploadProps, 'type'>;
|
|
9
|
-
declare const Dragger: FunctionComponent<DraggerProps>;
|
|
10
|
-
export default Dragger;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Hanz
|
|
3
|
-
* @date 2021/11/15 下午7:07
|
|
4
|
-
* @description
|
|
5
|
-
*/
|
|
6
|
-
import { FunctionComponent } from "react";
|
|
7
|
-
import './index.scss';
|
|
8
|
-
interface ErrorTipProps {
|
|
9
|
-
message: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const ErrorTip: FunctionComponent<ErrorTipProps>;
|
|
13
|
-
export default ErrorTip;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import { UploadProps } from '../interface';
|
|
3
|
-
import './index.scss';
|
|
4
|
-
export declare type ImageUploadProps = Omit<UploadProps, 'type'> & {
|
|
5
|
-
/** 默认图片 showUploadList为false时有效 */
|
|
6
|
-
defaultImage?: {
|
|
7
|
-
/** 图片地址 */
|
|
8
|
-
imageUrl: string;
|
|
9
|
-
/** 图片名称 */
|
|
10
|
-
imageName?: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
declare const ImageUpload: FunctionComponent<ImageUploadProps>;
|
|
14
|
-
export default ImageUpload;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { MutableRefObject } from 'react';
|
|
2
|
-
import Cropper from 'react-easy-crop';
|
|
3
|
-
import type { Dispatch, SetStateAction, ForwardedRef } from 'react';
|
|
4
|
-
import type { Area } from 'react-easy-crop/types';
|
|
5
|
-
import type { ImgCropProps } from './interface';
|
|
6
|
-
export declare type EasyCropHandle = {
|
|
7
|
-
rotateVal: number;
|
|
8
|
-
setZoomVal: Dispatch<SetStateAction<number>>;
|
|
9
|
-
setRotateVal: Dispatch<SetStateAction<number>>;
|
|
10
|
-
cropPixelsRef: MutableRefObject<Area>;
|
|
11
|
-
};
|
|
12
|
-
interface EasyCropProps extends Required<Pick<ImgCropProps, 'aspect' | 'shape' | 'grid' | 'zoom' | 'rotate' | 'minZoom' | 'maxZoom' | 'cropperProps'>> {
|
|
13
|
-
cropperRef: ForwardedRef<Cropper>;
|
|
14
|
-
image: string;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<EasyCropProps & React.RefAttributes<EasyCropHandle>>>;
|
|
17
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const PREFIX = "paraui-img-crop";
|
|
2
|
-
export declare const INIT_ZOOM = 1;
|
|
3
|
-
export declare const ZOOM_STEP = 0.1;
|
|
4
|
-
export declare const INIT_ROTATE = 0;
|
|
5
|
-
export declare const ROTATE_STEP = 1;
|
|
6
|
-
export declare const MIN_ROTATE = -180;
|
|
7
|
-
export declare const MAX_ROTATE = 180;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CropperProps } from 'react-easy-crop';
|
|
3
|
-
export type { RcFile } from 'rc-upload/lib/interface';
|
|
4
|
-
export interface ImgCropProps {
|
|
5
|
-
aspect?: number;
|
|
6
|
-
shape?: 'rect' | 'round';
|
|
7
|
-
grid?: boolean;
|
|
8
|
-
quality?: number;
|
|
9
|
-
fillColor?: string;
|
|
10
|
-
zoom?: boolean;
|
|
11
|
-
rotate?: boolean;
|
|
12
|
-
minZoom?: number;
|
|
13
|
-
maxZoom?: number;
|
|
14
|
-
modalTitle?: React.ReactNode;
|
|
15
|
-
modalWidth?: number | string;
|
|
16
|
-
modalOk?: string;
|
|
17
|
-
modalCancel?: string;
|
|
18
|
-
onModalOk?: (file: void | boolean | string | Blob | File) => void;
|
|
19
|
-
onModalCancel?: () => void;
|
|
20
|
-
beforeCrop?: (file: File, fileList: File[]) => boolean | Promise<boolean>;
|
|
21
|
-
onUploadFail?: (err: Error) => void;
|
|
22
|
-
cropperProps?: Partial<CropperProps>;
|
|
23
|
-
children: JSX.Element;
|
|
24
|
-
}
|