@para-ui/core 2.2.18 → 3.0.2-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 +34 -34
- package/AutoBox/index.js +315 -15
- package/AutoBox/protal.d.ts +17 -0
- package/AutoTips/index.d.ts +27 -27
- package/AutoTips/index.js +85 -15
- package/Breadcrumbs/index.d.ts +39 -39
- package/Breadcrumbs/index.js +230 -15
- package/Button/SplitButton.d.ts +62 -61
- package/Button/index.d.ts +79 -56
- package/Button/index.js +388 -14
- package/Button/lang/en_US.d.ts +4 -4
- package/Button/lang/index.d.ts +9 -9
- package/Button/lang/zh_CN.d.ts +4 -4
- package/ButtonGroup/index.d.ts +33 -33
- package/ButtonGroup/index.js +129 -14
- package/Carousel/index.d.ts +38 -30
- package/Carousel/index.js +79 -15
- package/Cascader/index.d.ts +54 -54
- package/Cascader/index.js +174 -15
- package/Cascader/lang/en_US.d.ts +4 -4
- package/Cascader/lang/index.d.ts +9 -9
- package/Cascader/lang/zh_CN.d.ts +4 -4
- package/Checkbox/index.d.ts +40 -40
- package/Checkbox/index.js +124 -14
- package/CheckboxGroup/index.d.ts +43 -46
- package/CheckboxGroup/index.js +141 -14
- package/Collapse/collapsePanel.d.ts +30 -30
- package/Collapse/index.d.ts +57 -57
- package/Collapse/index.js +172 -15
- package/Collapse/motion.d.ts +5 -5
- package/Collapse/util.d.ts +11 -11
- package/CollapseBox/index.d.ts +27 -27
- package/CollapseBox/index.js +165 -15
- package/CollapseBox/util.d.ts +5 -5
- package/ColorPicker/index.d.ts +4 -4
- package/ColorPicker/index.js +4 -1
- package/ComboSelect/index.d.ts +6 -11
- package/ComboSelect/index.js +1156 -14
- package/ComboSelect/interface.d.ts +146 -149
- package/ComboSelect/lang/en_US.d.ts +9 -9
- package/ComboSelect/lang/index.d.ts +19 -19
- package/ComboSelect/lang/zh_CN.d.ts +9 -9
- package/ComboSelect/utils.d.ts +9 -12
- package/Container/index.d.ts +77 -77
- package/Container/index.js +235 -15
- package/DatePicker/PickerButton.d.ts +3 -3
- package/DatePicker/PickerTag.d.ts +3 -3
- package/DatePicker/generatePicker/generateRangePicker.d.ts +4 -4
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +11 -11
- package/DatePicker/generatePicker/index.d.ts +84 -77
- package/DatePicker/index.d.ts +18 -18
- package/DatePicker/index.js +732 -14
- package/DatePicker/lang/en_US.d.ts +3 -3
- package/DatePicker/lang/index.d.ts +7 -7
- package/DatePicker/lang/zh_CN.d.ts +3 -3
- package/DatePicker/util.d.ts +19 -20
- package/Desktop/index.d.ts +57 -55
- package/Desktop/index.js +854 -14
- package/Drawer/index.d.ts +11 -11
- package/Drawer/index.js +196 -14
- package/Drawer/interface.d.ts +83 -83
- package/Drawer/lang/en_US.d.ts +5 -5
- package/Drawer/lang/index.d.ts +11 -11
- package/Drawer/lang/zh_CN.d.ts +5 -5
- package/Dropdown/index.d.ts +38 -38
- package/Dropdown/index.js +120 -15
- package/Empty/images/index.d.ts +3 -2
- package/Empty/index.d.ts +30 -30
- package/Empty/index.js +645 -14
- package/Empty/lang/en_US.d.ts +6 -6
- package/Empty/lang/index.d.ts +13 -13
- package/Empty/lang/zh_CN.d.ts +6 -6
- package/Form/index.d.ts +181 -181
- package/Form/index.js +378 -14
- package/FormItem/compoments/defaultCompoments/index.d.ts +19 -19
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +8 -8
- package/FormItem/compoments/formFile/index.d.ts +38 -38
- package/FormItem/compoments/formRadioGroup/index.d.ts +8 -8
- package/FormItem/compoments/formSelect/index.d.ts +18 -18
- package/FormItem/errorTips.d.ts +12 -12
- package/FormItem/index.d.ts +152 -152
- package/FormItem/index.js +75 -14
- package/FormItem/itemType.d.ts +42 -42
- package/FormItem/validateFunction.d.ts +15 -15
- package/FunctionModal/dialog.d.ts +58 -58
- package/FunctionModal/index.d.ts +8 -8
- package/FunctionModal/index.js +40 -14
- package/FunctionModal/modalContext.d.ts +15 -14
- package/GlobalContext/componentsProps.d.ts +21 -21
- package/GlobalContext/confirmLocale.d.ts +7 -7
- package/GlobalContext/constant.d.ts +8 -0
- package/GlobalContext/index.d.ts +28 -28
- package/GlobalContext/index.js +41 -16
- package/GlobalContext/intl.d.ts +34 -34
- package/GlobalContext/useFormatMessage.d.ts +3 -3
- package/Help/index.d.ts +24 -20
- package/Help/index.js +40 -15
- package/HelperText/index.d.ts +23 -19
- package/HelperText/index.js +34 -15
- package/Hooks/useGlobalProps.d.ts +1 -1
- package/InputLang/index.d.ts +46 -49
- package/InputLang/index.js +276 -14
- package/InputNumber/index.d.ts +71 -74
- package/InputNumber/index.js +311 -14
- package/Label/index.d.ts +37 -35
- package/Label/index.js +85 -14
- package/Loading/index.d.ts +17 -17
- package/Loading/index.js +48 -15
- package/Menu/footerExpansion.d.ts +9 -9
- package/Menu/index.d.ts +10 -10
- package/Menu/index.js +1233 -14
- package/Menu/interface.d.ts +139 -139
- package/Menu/logo.d.ts +9 -9
- package/Menu/verticalMenuList.d.ts +14 -14
- package/Message/index.d.ts +73 -73
- package/Message/index.js +223 -15
- package/Modal/Confirm/index.d.ts +65 -66
- package/Modal/index.d.ts +99 -61
- package/Modal/index.js +451 -14
- package/Modal/lang/en_US.d.ts +5 -5
- package/Modal/lang/index.d.ts +11 -11
- package/Modal/lang/zh_CN.d.ts +5 -5
- package/MultiBox/index.d.ts +51 -54
- package/MultiBox/index.js +238 -14
- package/Notification/index.d.ts +74 -52
- package/Notification/index.js +267 -15
- package/OperateBtn/index.d.ts +59 -59
- package/OperateBtn/index.js +263 -14
- package/OperateBtn/lang/en_US.d.ts +4 -4
- package/OperateBtn/lang/index.d.ts +9 -9
- package/OperateBtn/lang/zh_CN.d.ts +4 -4
- package/PageHeader/horizontalMeun.d.ts +9 -9
- package/PageHeader/horizontalMeunRight.d.ts +9 -9
- package/PageHeader/index.d.ts +10 -10
- package/PageHeader/index.js +1170 -14
- package/PageHeader/interface.d.ts +167 -167
- package/Pagination/index.d.ts +33 -33
- package/Pagination/index.js +475 -14
- package/Pagination/lang/en_US.d.ts +8 -8
- package/Pagination/lang/index.d.ts +17 -17
- package/Pagination/lang/zh_CN.d.ts +8 -8
- package/ParauiProvider/index.d.ts +8 -12
- package/ParauiProvider/index.js +53 -15
- package/PopConfirm/index.d.ts +61 -56
- package/PopConfirm/index.js +192 -14
- package/PopConfirm/lang/en_US.d.ts +5 -5
- package/PopConfirm/lang/index.d.ts +11 -11
- package/PopConfirm/lang/zh_CN.d.ts +5 -5
- package/Popover/index.d.ts +16 -14
- package/Popover/index.js +69 -15
- package/Progress/Line.d.ts +47 -47
- package/Progress/Steps.d.ts +17 -17
- package/Progress/index.d.ts +83 -81
- package/Progress/index.js +362 -20
- package/Progress/utils.d.ts +6 -6
- package/Querying/images/index.d.ts +3 -2
- package/Querying/index.d.ts +26 -26
- package/Querying/index.js +763 -14
- package/Querying/lang/en_US.d.ts +4 -4
- package/Querying/lang/index.d.ts +9 -9
- package/Querying/lang/zh_CN.d.ts +4 -4
- package/README.md +51 -67
- package/Radio/index.d.ts +38 -38
- package/Radio/index.js +108 -14
- package/RadioGroup/index.d.ts +44 -47
- package/RadioGroup/index.js +131 -14
- package/Search/index.d.ts +56 -56
- package/Search/index.js +225 -14
- package/Select/index.d.ts +85 -88
- package/Select/index.js +1293 -14
- package/Select/lang/en_US.d.ts +5 -5
- package/Select/lang/index.d.ts +11 -11
- package/Select/lang/zh_CN.d.ts +5 -5
- package/SelectInput/index.d.ts +11 -11
- package/SelectInput/index.js +52 -14
- package/Selector/index.d.ts +11 -11
- package/Selector/index.js +2135 -14
- package/Selector/interface.d.ts +355 -355
- package/Selector/lang/en_US.d.ts +8 -8
- package/Selector/lang/index.d.ts +17 -17
- package/Selector/lang/zh_CN.d.ts +8 -8
- package/Selector/selectorData/index.d.ts +10 -10
- package/Selector/selectorMain/index.d.ts +10 -10
- package/Selector/selectorNode/index.d.ts +10 -10
- package/Selector/util.d.ts +15 -15
- package/SelectorPicker/index.d.ts +46 -49
- package/SelectorPicker/index.js +319 -14
- package/SingleBox/index.d.ts +39 -42
- package/SingleBox/index.js +199 -14
- package/Slider/index.d.ts +14 -14
- package/Slider/index.js +130 -15
- package/Slider/interface.d.ts +102 -102
- package/Split/index.d.ts +7 -7
- package/Split/index.js +135 -15
- package/Stepper/icons.d.ts +5 -5
- package/Stepper/index.d.ts +59 -39
- package/Stepper/index.js +102 -15
- package/Switch/index.d.ts +78 -78
- package/Switch/index.js +71 -14
- package/Table/index.d.ts +10 -10
- package/Table/index.js +2954 -14
- package/Table/interface.d.ts +244 -244
- package/Table/lang/en_US.d.ts +6 -6
- package/Table/lang/index.d.ts +13 -13
- package/Table/lang/zh_CN.d.ts +6 -6
- package/Table/tableBody.d.ts +9 -9
- package/Table/tableBodyElement/index.d.ts +15 -15
- package/Table/tableBodyInterface.d.ts +67 -67
- package/Table/tableContainer/index.d.ts +16 -16
- package/Table/tableElement/index.d.ts +17 -15
- package/Table/tableHead.d.ts +9 -9
- package/Table/tableHeadElement/index.d.ts +15 -15
- package/Table/tableHeadInterface.d.ts +26 -30
- package/Table/tablePagination.d.ts +9 -9
- package/Table/tablePaginationInterFace.d.ts +24 -24
- package/Table/tdElement/index.d.ts +15 -15
- package/Table/thElement/index.d.ts +15 -15
- package/Table/trElement/index.d.ts +15 -15
- package/Table/util.d.ts +28 -28
- package/Tabs/index.d.ts +69 -48
- package/Tabs/index.js +219 -14
- package/Tabs/lang/en_US.d.ts +4 -0
- package/Tabs/lang/index.d.ts +9 -0
- package/Tabs/lang/zh_CN.d.ts +4 -0
- package/Tag/TagGroup.d.ts +66 -66
- package/Tag/index.d.ts +34 -34
- package/Tag/index.js +284 -14
- package/Test/index.d.ts +3 -2
- package/Test/index.js +9 -16
- package/TextField/index.d.ts +92 -95
- package/TextField/index.js +689 -14
- package/TimePicker/index.d.ts +22 -22
- package/TimePicker/index.js +79 -14
- package/TimePicker/locale/en_US.d.ts +3 -3
- package/TimePicker/locale/zh_CN.d.ts +3 -3
- package/TimePicker/style/index.d.ts +1 -1
- package/Timeline/TimelineItem.d.ts +30 -0
- package/Timeline/index.d.ts +32 -22
- package/Timeline/index.js +158 -15
- package/Title/index.d.ts +30 -0
- package/Title/index.js +49 -0
- package/ToggleButton/ToggleButtonGroup.d.ts +49 -49
- package/ToggleButton/index.d.ts +49 -49
- package/ToggleButton/index.js +200 -14
- package/Tooltip/index.d.ts +11 -14
- package/Tooltip/index.js +350 -15
- package/{PopoverNew/TooltipNew → Tooltip}/interface.d.ts +31 -31
- package/{PopoverNew/TooltipNew → Tooltip}/utils.d.ts +18 -18
- package/Transfer/index.d.ts +22 -17
- package/Transfer/index.js +347 -14
- package/Transfer/lang/en_US.d.ts +6 -6
- package/Transfer/lang/index.d.ts +13 -13
- package/Transfer/lang/zh_CN.d.ts +6 -6
- package/Tree/OperateBar/index.d.ts +13 -13
- package/Tree/Tree.d.ts +4 -4
- package/Tree/index.d.ts +5 -5
- package/Tree/index.js +36 -14
- package/Tree/interface.d.ts +207 -207
- package/Tree/lang/en_US.d.ts +8 -8
- package/Tree/lang/index.d.ts +17 -17
- package/Tree/lang/zh_CN.d.ts +8 -8
- package/Tree/utils/tools.d.ts +25 -26
- package/Tree/utils/treeUtil.d.ts +15 -15
- package/Upload/Dragger/index.d.ts +10 -10
- package/Upload/ErroTip/index.d.ts +13 -13
- package/Upload/ImageUpload/index.d.ts +14 -14
- package/Upload/ImgCrop/EasyCrop.d.ts +17 -17
- package/Upload/ImgCrop/constants.d.ts +7 -7
- package/Upload/ImgCrop/index.d.ts +6 -6
- package/Upload/ImgCrop/interface.d.ts +43 -24
- package/Upload/UploadList/index.d.ts +5 -5
- package/Upload/index.d.ts +15 -15
- package/Upload/index.js +1557 -14
- package/Upload/interface.d.ts +134 -134
- package/Upload/lang/en_US.d.ts +12 -12
- package/Upload/lang/index.d.ts +25 -25
- package/Upload/lang/zh_CN.d.ts +12 -12
- package/_verture/constant-bf34e6fa.js +11 -0
- package/_verture/defineProperty-0590dc61.js +16 -0
- package/_verture/index-08b7101b.js +810 -0
- package/_verture/index-342379c6.js +391 -0
- package/_verture/index-a369ca3f.js +4 -0
- package/_verture/index-df70784b.js +1564 -0
- package/_verture/index-e2881a53.js +16 -0
- package/_verture/intl-336570e4.js +65 -0
- package/_verture/modalContext-7b378e49.js +228 -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 +134 -136
- package/index.js +165 -19
- package/package.json +57 -22
- package/ComboSelect/WithTabsCombo/index.d.ts +0 -11
- package/ComboSelect/WithTabsCombo/interface.d.ts +0 -141
- package/PopoverNew/TooltipNew/index.d.ts +0 -11
- package/PopoverNew/index.d.ts +0 -16
- package/PopoverNew/index.js +0 -14
- package/Popper/index.d.ts +0 -13
- package/Popper/index.js +0 -16
- package/cdn/AutoBox/index.js +0 -44
- package/cdn/AutoTips/index.js +0 -40
- package/cdn/Breadcrumbs/index.js +0 -67
- package/cdn/Button/index.js +0 -68
- package/cdn/ButtonGroup/index.js +0 -68
- package/cdn/Carousel/index.js +0 -6
- package/cdn/Cascader/index.js +0 -44
- package/cdn/Checkbox/index.js +0 -67
- package/cdn/CheckboxGroup/index.js +0 -67
- package/cdn/Collapse/index.js +0 -43
- package/cdn/CollapseBox/index.js +0 -1
- package/cdn/ColorPicker/index.js +0 -1
- package/cdn/ComboSelect/index.js +0 -88
- package/cdn/Container/index.js +0 -1
- package/cdn/DatePicker/index.js +0 -82
- package/cdn/Desktop/index.js +0 -24
- package/cdn/Drawer/index.js +0 -73
- package/cdn/Dropdown/index.js +0 -16
- package/cdn/Empty/index.js +0 -1
- package/cdn/Form/index.js +0 -88
- package/cdn/FormItem/index.js +0 -88
- package/cdn/FunctionModal/index.js +0 -67
- package/cdn/GlobalContext/index.js +0 -1
- package/cdn/Help/index.js +0 -67
- package/cdn/HelperText/index.js +0 -1
- package/cdn/InputLang/index.js +0 -67
- package/cdn/InputNumber/index.js +0 -80
- package/cdn/Label/index.js +0 -67
- package/cdn/Loading/index.js +0 -29
- package/cdn/Menu/index.js +0 -29
- package/cdn/Message/index.js +0 -30
- package/cdn/Modal/index.js +0 -67
- package/cdn/MultiBox/index.js +0 -67
- package/cdn/Notification/index.js +0 -43
- package/cdn/OperateBtn/index.js +0 -67
- package/cdn/PageHeader/index.js +0 -67
- package/cdn/Pagination/index.js +0 -72
- package/cdn/ParauiProvider/index.js +0 -9
- package/cdn/PopConfirm/index.js +0 -67
- package/cdn/Popover/index.js +0 -16
- package/cdn/PopoverNew/index.js +0 -16
- package/cdn/Popper/index.js +0 -26
- package/cdn/Progress/index.js +0 -35
- package/cdn/Querying/index.js +0 -1
- package/cdn/Radio/index.js +0 -67
- package/cdn/RadioGroup/index.js +0 -67
- package/cdn/Search/index.js +0 -67
- package/cdn/Select/index.js +0 -67
- package/cdn/SelectInput/index.js +0 -67
- package/cdn/Selector/index.js +0 -82
- package/cdn/SelectorPicker/index.js +0 -82
- package/cdn/SingleBox/index.js +0 -67
- package/cdn/Slider/index.js +0 -16
- package/cdn/Split/index.js +0 -1
- package/cdn/Stepper/index.js +0 -53
- package/cdn/Switch/index.js +0 -72
- package/cdn/Table/index.js +0 -72
- package/cdn/Tabs/index.js +0 -75
- package/cdn/Tag/index.js +0 -29
- package/cdn/Test/index.js +0 -1
- package/cdn/TextField/index.js +0 -67
- package/cdn/TimePicker/index.js +0 -82
- package/cdn/Timeline/index.js +0 -16
- package/cdn/ToggleButton/index.js +0 -68
- package/cdn/Tooltip/index.js +0 -40
- package/cdn/Transfer/index.js +0 -67
- package/cdn/Tree/index.js +0 -80
- package/cdn/Upload/index.js +0 -97
- package/style.css +0 -80
package/Querying/lang/en_US.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
querying: string;
|
|
3
|
-
};
|
|
4
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
querying: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
package/Querying/lang/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
zh: {
|
|
3
|
-
querying: string;
|
|
4
|
-
};
|
|
5
|
-
en: {
|
|
6
|
-
querying: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zh: {
|
|
3
|
+
querying: string;
|
|
4
|
+
};
|
|
5
|
+
en: {
|
|
6
|
+
querying: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
package/Querying/lang/zh_CN.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
querying: string;
|
|
3
|
-
};
|
|
4
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
querying: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
package/README.md
CHANGED
|
@@ -1,69 +1,39 @@
|
|
|
1
|
-
## 版本:
|
|
2
|
-
|
|
3
|
-
para-ui/core@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## 版本:
|
|
7
|
-
|
|
8
|
-
para-ui/core@
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
para-ui/core@2.2.13 发布
|
|
38
|
-
【PopConfirm】修复可控组件初始时仍显示问题
|
|
39
|
-
【ComboSelect】增加 maxTagTextLength 属性,限制文本长度
|
|
40
|
-
【ComboSelect】支持清空搜索值且重置接口
|
|
41
|
-
【Selectot】选择器修改自定义id,数据渲染失败
|
|
42
|
-
【Table】表格新增记住列
|
|
43
|
-
【Table】修改表格表头样式
|
|
44
|
-
【Table】允许全局统一改变参数
|
|
45
|
-
|
|
46
|
-
## 版本: 2.2.12
|
|
47
|
-
|
|
48
|
-
para-ui/core@2.2.12 发布
|
|
49
|
-
【TextField】输入框新增搜索暂无数据
|
|
50
|
-
|
|
51
|
-
## 版本: 2.2.11
|
|
52
|
-
|
|
53
|
-
para-ui/core@2.2.11 发布
|
|
54
|
-
【Selector】新增选择器
|
|
55
|
-
【SelectorPicker】新增下拉选择器
|
|
56
|
-
【ComboSelect】超出最大Tag显示数,超出部分弹出显示
|
|
57
|
-
|
|
58
|
-
## 版本: 2.2.10
|
|
59
|
-
|
|
60
|
-
para-ui/core@2.2.10 发布
|
|
61
|
-
【PageHeader】页头修改用户名文字被遮挡
|
|
62
|
-
【Table】修复表格在safari表头显示列问题,导航条显示问题
|
|
63
|
-
【Table】修改表格请求多次发送loading在safari不正常
|
|
64
|
-
【Loading】提高表格loading组件层级为100,防止在表格中使用,固定列被遮挡
|
|
65
|
-
【Modal】修改关闭图标尺寸为20px
|
|
66
|
-
【ComboSelect】修复搜索框默认宽度溢出容器问题
|
|
1
|
+
## 版本: 3.0.2-beta
|
|
2
|
+
|
|
3
|
+
para-ui/core@3.0.2-beta 发布
|
|
4
|
+
验证样式隔离问题
|
|
5
|
+
|
|
6
|
+
## 版本: 3.0.2
|
|
7
|
+
|
|
8
|
+
para-ui/core@3.0.2 发布
|
|
9
|
+
【AutoBox】修改下拉浮层
|
|
10
|
+
【Selectot】选择器修改自定义id,数据渲染失败
|
|
11
|
+
【Table】表格新增记住列
|
|
12
|
+
【Table】修改表格表头样式
|
|
13
|
+
【Table】允许全局统一改变参数
|
|
14
|
+
【Table】加载表格的时候,获取本地储存的表格列信息,不过期,会重置过期时间。并且会删除掉已过期的其他表格记录本地表格列的信息
|
|
15
|
+
|
|
16
|
+
## 版本: 3.0.1
|
|
17
|
+
|
|
18
|
+
para-ui/core@3.0.1 发布
|
|
19
|
+
【PageHeader】 导航栏页头修改用户名行高,让内容不被遮挡
|
|
20
|
+
【Table】 修改表格请求多次发送loading在safari不正常
|
|
21
|
+
【Table】 提高表格loading组件层级为100,防止在表格中使用,固定列被遮挡
|
|
22
|
+
【Table】修复表格表头显示列,复选框safari不对齐问题
|
|
23
|
+
【Selector】增加空状态
|
|
24
|
+
【TextField】增加搜索空状态
|
|
25
|
+
【Button】增加 a 链接行为
|
|
26
|
+
【Button.IconButton】增加 a 链接行为
|
|
27
|
+
【ComboSelect】超出最大Tag显示数,超出部分弹出显示
|
|
28
|
+
|
|
29
|
+
## 版本: 3.0.0
|
|
30
|
+
|
|
31
|
+
para-ui/core@3.0.0 发布
|
|
32
|
+
1. 摒弃@material-ui依赖,现组件库以 rc 系列组件为基础封装,组件基本兼容旧用法
|
|
33
|
+
2. Popover 组件用法大不相同,需开发人员同步更新
|
|
34
|
+
3. moment 替换为 dayjs
|
|
35
|
+
4. 组件浮层默认挂载到body容器
|
|
36
|
+
5. 组件库文档同步更新
|
|
67
37
|
|
|
68
38
|
## 版本: 2.2.9
|
|
69
39
|
|
|
@@ -88,12 +58,22 @@
|
|
|
88
58
|
【Message】挂载容器增加className和style属性
|
|
89
59
|
【Table】改变url,分页回到第一页
|
|
90
60
|
|
|
61
|
+
## 版本: 2.2.5-beta
|
|
62
|
+
|
|
63
|
+
para-ui/core@2.2.5-beta 发布
|
|
64
|
+
【全局】优化声明文件打包
|
|
65
|
+
|
|
91
66
|
## 版本: 2.2.5
|
|
92
67
|
|
|
93
68
|
para-ui/core@2.2.5 发布
|
|
94
69
|
【Radio】修改label传入空字符串显示了label问题
|
|
95
70
|
【Checkbox】修改label传入空字符串显示了label问题
|
|
96
71
|
|
|
72
|
+
## 版本: 2.2.4-beta
|
|
73
|
+
|
|
74
|
+
para-ui/core@2.2.4-beta 发布
|
|
75
|
+
【全局】修改打包方式为rollup
|
|
76
|
+
|
|
97
77
|
## 版本: 2.2.4
|
|
98
78
|
|
|
99
79
|
para-ui/core@2.2.4 发布
|
|
@@ -102,6 +82,11 @@
|
|
|
102
82
|
【ComboSelect】增加height属性
|
|
103
83
|
【Popover】修改z-index为1300
|
|
104
84
|
|
|
85
|
+
## 版本: 2.2.0
|
|
86
|
+
|
|
87
|
+
para-ui/core@2.2.0 发布
|
|
88
|
+
【全局】去除所有mui相关组件,以及依赖
|
|
89
|
+
|
|
105
90
|
## 版本: 2.1.45
|
|
106
91
|
|
|
107
92
|
para-ui/core@2.1.45 发布
|
|
@@ -377,7 +362,6 @@
|
|
|
377
362
|
【ComboSelect】解决超出屏幕时,上下闪动问题
|
|
378
363
|
【ComboSelect】解决数据为空时,频繁刷新问题
|
|
379
364
|
【ComboSelect】解决表格搜索模式时,多个滚动条问题
|
|
380
|
-
【Tree】增加onMounted属性,非空挂载完成回调
|
|
381
365
|
【ToggleButtonGroup】增加文字类型和样式
|
|
382
366
|
【MultiBox】修改下边距过大
|
|
383
367
|
【SingleBox】修改下边距过大
|
package/Radio/index.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/4 10:20
|
|
4
|
-
* @description 单选框
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
-
import { LabelTooltipProps } from '../Label';
|
|
8
|
-
import './index.scss';
|
|
9
|
-
export interface RadioProps {
|
|
10
|
-
/** 样式class */
|
|
11
|
-
className?: string;
|
|
12
|
-
/** style */
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
/** 标题 */
|
|
15
|
-
label?: ReactNode;
|
|
16
|
-
/** 帮组提示信息 */
|
|
17
|
-
labelTooltip?: LabelTooltipProps;
|
|
18
|
-
/** 大小 */
|
|
19
|
-
size?: 'small' | 'medium' | 'large';
|
|
20
|
-
/** 默认值 有值不受控组件 初始化第一次 */
|
|
21
|
-
defaultChecked?: boolean;
|
|
22
|
-
/** 默认值 有值受控组件*/
|
|
23
|
-
checked?: boolean;
|
|
24
|
-
/** 禁用 */
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
/** inputProps */
|
|
27
|
-
inputProps?: {
|
|
28
|
-
type?: string;
|
|
29
|
-
value?: any;
|
|
30
|
-
checked?: any;
|
|
31
|
-
[name: string]: any;
|
|
32
|
-
};
|
|
33
|
-
/** 改变事件 */
|
|
34
|
-
onChange?: (e: any, checked: boolean) => void;
|
|
35
|
-
[name: string]: any;
|
|
36
|
-
}
|
|
37
|
-
export declare const Radio: FunctionComponent<RadioProps>;
|
|
38
|
-
export default Radio;
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/4 10:20
|
|
4
|
+
* @description 单选框
|
|
5
|
+
*/
|
|
6
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
+
import { LabelTooltipProps } from '../Label';
|
|
8
|
+
import './index.scss';
|
|
9
|
+
export interface RadioProps {
|
|
10
|
+
/** 样式class */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** style */
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
/** 标题 */
|
|
15
|
+
label?: ReactNode;
|
|
16
|
+
/** 帮组提示信息 */
|
|
17
|
+
labelTooltip?: LabelTooltipProps;
|
|
18
|
+
/** 大小 */
|
|
19
|
+
size?: 'small' | 'medium' | 'large';
|
|
20
|
+
/** 默认值 有值不受控组件 初始化第一次 */
|
|
21
|
+
defaultChecked?: boolean;
|
|
22
|
+
/** 默认值 有值受控组件*/
|
|
23
|
+
checked?: boolean;
|
|
24
|
+
/** 禁用 */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/** inputProps */
|
|
27
|
+
inputProps?: {
|
|
28
|
+
type?: string;
|
|
29
|
+
value?: any;
|
|
30
|
+
checked?: any;
|
|
31
|
+
[name: string]: any;
|
|
32
|
+
};
|
|
33
|
+
/** 改变事件 */
|
|
34
|
+
onChange?: (e: any, checked: boolean) => void;
|
|
35
|
+
[name: string]: any;
|
|
36
|
+
}
|
|
37
|
+
export declare const Radio: FunctionComponent<RadioProps>;
|
|
38
|
+
export default Radio;
|
package/Radio/index.js
CHANGED
|
@@ -1,14 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-d7722f4b.js';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
|
+
import Label from '../Label/index.js';
|
|
5
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
6
|
+
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
+
import '../Help/index.js';
|
|
8
|
+
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
9
|
+
import '../Tooltip/index.js';
|
|
10
|
+
import 'rc-tooltip';
|
|
11
|
+
import 'rc-tooltip/lib/placements';
|
|
12
|
+
import 'clsx';
|
|
13
|
+
import '@para-ui/icons/Help';
|
|
14
|
+
|
|
15
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-radio {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n cursor: pointer;\n display: inline-flex;\n align-items: flex-start;\n line-height: 16px;\n}\n.paraui-v3-radio:hover > .radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-v3-radio:hover > .radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio:hover > .radio-help > .radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-v3-radio:hover > .radio-help > .radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio:hover > .radio-box > .radio-box-inner {\n border-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio > .radio-box {\n position: relative;\n}\n.paraui-v3-radio > .radio-box > input {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n}\n.paraui-v3-radio > .radio-box > .radio-box-inner {\n position: relative;\n top: 0;\n left: 0;\n display: block;\n background-color: white;\n border: 1px solid rgba(171, 176, 185, 0.4);\n border-radius: 50%;\n}\n.paraui-v3-radio > .radio-box > .radio-box-inner:after {\n position: absolute;\n display: table;\n content: \" \";\n transform: scale(1) translate(-50%, -50%);\n background-color: white;\n border-radius: 50%;\n left: 50%;\n top: 50%;\n}\n.paraui-v3-radio > .radio-label {\n color: rgb(46, 55, 67);\n padding: 0 8px;\n margin: 0;\n display: inline-flex;\n align-items: flex-start;\n}\n.paraui-v3-radio > .radio-label > .radio-help > svg {\n top: 0;\n}\n.paraui-v3-radio .radio-label {\n line-height: 16px;\n}\n.paraui-v3-radio > .radio-help {\n padding: 0 8px;\n position: relative;\n top: -1px;\n}\n.paraui-v3-radio > .radio-help > .radio-label {\n color: rgb(46, 55, 67);\n margin: 0;\n display: inline-flex;\n align-items: center;\n}\n.paraui-v3-radio.paraui-v3-radio-checked > .radio-box > .radio-box-inner {\n border-color: transparent;\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-radio.paraui-v3-radio-checked:hover > .radio-box > .radio-box-inner {\n border-color: transparent;\n background-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled {\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled:hover > .radio-box > .radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-label svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > input {\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > .radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > .radio-box-inner:after {\n background-color: rgb(245, 246, 247);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled.paraui-v3-radio-checked > .radio-box > .radio-box-inner:after {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-help {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-help > .radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box {\n top: 1px;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box > .radio-box-inner {\n width: 14px;\n height: 14px;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box > .radio-box-inner:after {\n width: 4px;\n height: 4px;\n}\n.paraui-v3-radio.paraui-v3-radio-medium > .radio-box > .radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-v3-radio.paraui-v3-radio-medium > .radio-box > .radio-box-inner:after {\n width: 6px;\n height: 6px;\n}\n.paraui-v3-radio.paraui-v3-radio-large > .radio-box > .radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-v3-radio.paraui-v3-radio-large > .radio-box > .radio-box-inner:after {\n width: 6px;\n height: 6px;\n}";
|
|
16
|
+
styleInject(css_248z);
|
|
17
|
+
|
|
18
|
+
var Radio = function Radio(props) {
|
|
19
|
+
var _props$className = props.className,
|
|
20
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
21
|
+
labelTooltip = props.labelTooltip,
|
|
22
|
+
_props$label = props.label,
|
|
23
|
+
label = _props$label === void 0 ? '' : _props$label,
|
|
24
|
+
_props$size = props.size,
|
|
25
|
+
size = _props$size === void 0 ? 'large' : _props$size,
|
|
26
|
+
_props$disabled = props.disabled,
|
|
27
|
+
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
28
|
+
onChange = props.onChange,
|
|
29
|
+
style = props.style;
|
|
30
|
+
|
|
31
|
+
var _useState = useState(false),
|
|
32
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
33
|
+
checkedCom = _useState2[0],
|
|
34
|
+
setCheckedCom = _useState2[1]; // 复选框状态
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
useEffect(function () {
|
|
38
|
+
if (props.defaultChecked !== undefined) setCheckedCom(props.defaultChecked);
|
|
39
|
+
}, []);
|
|
40
|
+
useEffect(function () {
|
|
41
|
+
if (props.checked !== undefined) setCheckedCom(props.checked);
|
|
42
|
+
}, [props.checked]); // 点击选择
|
|
43
|
+
|
|
44
|
+
var clickCheck = function clickCheck(e) {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
if (disabled) return; // 不可受控组件
|
|
47
|
+
|
|
48
|
+
if (props.checked === undefined) setCheckedCom(!checkedCom);
|
|
49
|
+
e.target.checked = !checkedCom;
|
|
50
|
+
onChange && onChange(e, !checkedCom);
|
|
51
|
+
}; // 处理className
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var handClass = function handClass() {
|
|
55
|
+
var str = $prefixCls + '-radio';
|
|
56
|
+
if (className) str += ' ' + className;
|
|
57
|
+
if (size) str += " ".concat($prefixCls, "-radio-").concat(size);
|
|
58
|
+
if (disabled) str += " ".concat($prefixCls, "-radio-disabled");
|
|
59
|
+
if (checkedCom) str += " ".concat($prefixCls, "-radio-checked");
|
|
60
|
+
return str;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
var handLabelClass = function handLabelClass() {
|
|
64
|
+
var str = 'radio-label';
|
|
65
|
+
|
|
66
|
+
if (labelTooltip && labelTooltip.className) {
|
|
67
|
+
str += ' ' + labelTooltip.className;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return str;
|
|
71
|
+
};
|
|
72
|
+
/** 处理帮组classNaem */
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
var handHelpClassName = function handHelpClassName() {
|
|
76
|
+
var str = ' radio-help';
|
|
77
|
+
|
|
78
|
+
if (labelTooltip && labelTooltip.helpClassName) {
|
|
79
|
+
str += ' ' + labelTooltip.helpClassName;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return str;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
return jsxs("label", Object.assign({
|
|
86
|
+
className: handClass(),
|
|
87
|
+
onClick: clickCheck,
|
|
88
|
+
style: style
|
|
89
|
+
}, {
|
|
90
|
+
children: [jsxs("span", Object.assign({
|
|
91
|
+
className: "radio-box"
|
|
92
|
+
}, {
|
|
93
|
+
children: [jsx("input", Object.assign({
|
|
94
|
+
type: "radio",
|
|
95
|
+
value: checkedCom
|
|
96
|
+
}, props.inputProps)), jsx("span", {
|
|
97
|
+
className: "radio-box-inner"
|
|
98
|
+
})]
|
|
99
|
+
})), label !== undefined && label !== '' && label !== null ? jsx(Label, Object.assign({
|
|
100
|
+
label: label
|
|
101
|
+
}, labelTooltip, {
|
|
102
|
+
helpClassName: handHelpClassName(),
|
|
103
|
+
className: handLabelClass()
|
|
104
|
+
})) : null]
|
|
105
|
+
}));
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export { Radio, Radio as default };
|
package/RadioGroup/index.d.ts
CHANGED
|
@@ -1,47 +1,44 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author linhd
|
|
3
|
-
* @date 2021/8/4 14:18
|
|
4
|
-
* @description 单选框组
|
|
5
|
-
*/
|
|
6
|
-
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
-
import { RadioProps } from '../Radio';
|
|
8
|
-
import { LabelTooltipProps } from "../Label";
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
style
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
export declare const RadioGroup: FunctionComponent<RadioGroupProps>;
|
|
47
|
-
export default RadioGroup;
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/4 14:18
|
|
4
|
+
* @description 单选框组
|
|
5
|
+
*/
|
|
6
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
+
import { RadioProps } from '../Radio';
|
|
8
|
+
import { LabelTooltipProps } from "../Label";
|
|
9
|
+
import { HelperTextDetailProps } from "../HelperText";
|
|
10
|
+
import './index.scss';
|
|
11
|
+
export interface RadioListProps extends RadioProps {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface RadioGroupProps extends HelperTextDetailProps {
|
|
15
|
+
/** 样式class */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** style */
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
/** 标题 */
|
|
20
|
+
label?: ReactNode;
|
|
21
|
+
/** 帮组提示信息 */
|
|
22
|
+
labelTooltip?: LabelTooltipProps;
|
|
23
|
+
/** 尺寸 */
|
|
24
|
+
size?: 'small' | 'medium' | 'large';
|
|
25
|
+
/** 是否必填 */
|
|
26
|
+
required?: boolean;
|
|
27
|
+
/** 布局方式 横向/竖向 */
|
|
28
|
+
row?: boolean;
|
|
29
|
+
/** 是否禁用 */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/** 默认值 不受控 */
|
|
32
|
+
defaultValue?: any;
|
|
33
|
+
/** 默认值 */
|
|
34
|
+
value?: any;
|
|
35
|
+
/** 选中选值 */
|
|
36
|
+
id?: string;
|
|
37
|
+
/** 选项数据 */
|
|
38
|
+
list: RadioListProps[];
|
|
39
|
+
/** 改变值 */
|
|
40
|
+
onChange?: (val: any, item?: RadioListProps) => void;
|
|
41
|
+
[name: string]: any;
|
|
42
|
+
}
|
|
43
|
+
export declare const RadioGroup: FunctionComponent<RadioGroupProps>;
|
|
44
|
+
export default RadioGroup;
|