linkmore-design 1.1.13-alpha.1 → 1.1.13-alpha.10
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/CHANGELOG.md +118 -0
- package/dist/Button/demos/ghost.d.ts +2 -0
- package/dist/ConfigProvider/context.d.ts +1 -0
- package/dist/Descriptions/Cell.d.ts +1 -0
- package/dist/Descriptions/Item.d.ts +1 -0
- package/dist/Descriptions/index.d.ts +1 -1
- package/dist/Form/FormWrapper.d.ts +3 -0
- package/dist/Form/WrapperItem.d.ts +4 -0
- package/dist/Form/demos/disabled.d.ts +2 -0
- package/dist/Form/demos/responsive.d.ts +0 -1
- package/dist/Form/index.d.ts +2 -0
- package/dist/Form/interface.d.ts +12 -0
- package/dist/IconFont/demos/ConfigProvider.d.ts +2 -0
- package/dist/IconFont/index.d.ts +1 -2
- package/dist/LmDrag/LmDrag.d.ts +4 -0
- package/dist/LmDrag/components/DndContainer.d.ts +3 -0
- package/dist/LmDrag/components/sortableBox.d.ts +5 -0
- package/dist/LmDrag/components/sortableItem.d.ts +7 -0
- package/dist/LmDrag/demos/basic.d.ts +2 -0
- package/dist/LmDrag/index.d.ts +10 -0
- package/dist/LmDrag/style/index.d.ts +1 -0
- package/dist/LmDrag/style/variables.d.ts +1 -0
- package/dist/LmDrag/wrapper/Root.d.ts +3 -0
- package/dist/LmEditTable/EditTable.d.ts +16 -3
- package/dist/LmEditTable/components/QuickOpetate.d.ts +12 -0
- package/dist/LmEditTable/components/bottomOpetateComponent.d.ts +13 -0
- package/dist/LmEditTable/components/index.d.ts +3 -1
- package/dist/LmFilter/LmFilter.d.ts +2 -6
- package/dist/LmTable/demos/summuy.d.ts +2 -0
- package/dist/LmTable/expression.d.ts +1 -0
- package/dist/LmTable/hooks/useGroupDataSource.d.ts +7 -0
- package/dist/LmUpload/UploadList/ItemPictureCard.d.ts +2 -1
- package/dist/LmUpload/fns/index.d.ts +1 -0
- package/dist/QuickMenu/demos/useInDraw.d.ts +2 -0
- package/dist/QuickMenu/index.d.ts +3 -1
- package/dist/Select/index.d.ts +3 -0
- package/dist/TreeSelect/demos/treedata.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.umd.js +2645 -1500
- package/dist/index.umd.min.js +17 -17
- package/dist/variables.css +263 -120
- package/es/Button/index.js +4 -3
- package/es/Button/style/index.css +28 -25
- package/es/Button/style/variables.css +28 -25
- package/es/Cascader/index.js +31 -3
- package/es/Cascader/style/index.css +1 -0
- package/es/Cascader/style/variables.css +1 -0
- package/es/ConfigProvider/context.d.ts +1 -0
- package/es/ConfigProvider/index.js +5 -3
- package/es/Descriptions/Cell.d.ts +1 -0
- package/es/Descriptions/Cell.js +5 -2
- package/es/Descriptions/Item.d.ts +1 -0
- package/es/Descriptions/Row.js +6 -1
- package/es/Descriptions/index.d.ts +1 -1
- package/es/Descriptions/index.js +3 -3
- package/es/Descriptions/style/index.css +3 -0
- package/es/Descriptions/style/variables.css +3 -0
- package/es/Form/Form.js +13 -4
- package/es/Form/FormItem/ItemHolder.js +1 -10
- package/es/Form/FormWrapper.d.ts +3 -0
- package/es/Form/FormWrapper.js +22 -0
- package/es/Form/WrapperItem.d.ts +4 -0
- package/es/Form/WrapperItem.js +217 -0
- package/es/Form/container.js +1 -13
- package/es/Form/images/icon_collapse.svg +1 -0
- package/es/Form/index.d.ts +2 -0
- package/es/Form/index.js +2 -0
- package/es/Form/interface.d.ts +12 -0
- package/es/Form/style/index.css +34 -41
- package/es/Form/style/variables.css +34 -41
- package/es/IconFont/index.d.ts +1 -2
- package/es/IconFont/index.js +18 -4
- package/es/ImageViewer/components/Operate.js +4 -7
- package/es/Input/index.js +47 -10
- package/es/InputNumber/index.js +23 -11
- package/es/InputNumber/style/index.css +7 -0
- package/es/InputNumber/style/variables.css +7 -0
- package/es/LmDrag/LmDrag.d.ts +4 -0
- package/es/LmDrag/LmDrag.js +30 -0
- package/es/LmDrag/components/DndContainer.d.ts +3 -0
- package/es/LmDrag/components/DndContainer.js +121 -0
- package/es/LmDrag/components/sortableBox.d.ts +5 -0
- package/es/LmDrag/components/sortableBox.js +23 -0
- package/es/LmDrag/components/sortableItem.d.ts +7 -0
- package/es/LmDrag/components/sortableItem.js +41 -0
- package/es/LmDrag/index.d.ts +10 -0
- package/es/LmDrag/index.js +3 -0
- package/es/LmDrag/style/index.css +0 -0
- package/es/LmDrag/style/index.d.ts +1 -0
- package/es/LmDrag/style/index.js +1 -0
- package/es/LmDrag/style/variables.css +0 -0
- package/es/LmDrag/style/variables.d.ts +1 -0
- package/es/LmDrag/style/variables.js +1 -0
- package/es/LmDrag/wrapper/Root.d.ts +3 -0
- package/es/LmDrag/wrapper/Root.js +12 -0
- package/es/LmEditTable/EditTable.d.ts +16 -3
- package/es/LmEditTable/EditTable.js +275 -234
- package/es/LmEditTable/components/QuickOpetate.d.ts +12 -0
- package/es/LmEditTable/components/QuickOpetate.js +82 -0
- package/es/LmEditTable/components/bottomOpetateComponent.d.ts +13 -0
- package/es/LmEditTable/components/bottomOpetateComponent.js +23 -0
- package/es/LmEditTable/components/index.d.ts +3 -1
- package/es/LmEditTable/components/index.js +3 -1
- package/es/LmEditTable/sortableItemCol.js +40 -10
- package/es/LmEditTable/style/index.css +20 -0
- package/es/LmEditTable/style/variables.css +20 -0
- package/es/LmEditTable/util.js +38 -12
- package/es/LmFilter/LmFilter.js +6 -6
- package/es/LmFilter/components/CheckboxFilter.js +9 -4
- package/es/LmFilter/components/DropdownFIlter.js +186 -111
- package/es/LmFilter/components/SelectFilter.js +4 -3
- package/es/LmFilter/filterFns/index.js +4 -6
- package/es/LmFilter/index.js +0 -3
- package/es/LmFilter/style/index.css +82 -54
- package/es/LmFilter/style/variables.css +82 -54
- package/es/LmFilter/utils.js +6 -6
- package/es/LmSelect/style/index.css +1 -0
- package/es/LmSelect/style/variables.css +1 -0
- package/es/LmTable/Table.js +24 -15
- package/es/LmTable/expression.d.ts +1 -0
- package/es/LmTable/expression.js +31 -0
- package/es/LmTable/hooks/useGroupDataSource.js +50 -0
- package/es/LmTable/style/index.css +39 -0
- package/es/LmTable/style/variables.css +39 -0
- package/es/LmUpload/LmUpload.js +6 -3
- package/es/LmUpload/UploadList/ItemPicture.js +2 -1
- package/es/LmUpload/UploadList/ItemPictureCard.d.ts +2 -1
- package/es/LmUpload/UploadList/ItemPictureCard.js +15 -5
- package/es/LmUpload/UploadList/ItemText.js +7 -2
- package/es/LmUpload/UploadList/index.js +53 -2
- package/es/LmUpload/body/UploadCore.js +4 -1
- package/es/LmUpload/fns/index.d.ts +1 -0
- package/es/LmUpload/fns/index.js +27 -6
- package/es/LmUpload/style/index.css +17 -0
- package/es/LmUpload/style/variables.css +17 -0
- package/es/QuickMenu/index.d.ts +3 -1
- package/es/QuickMenu/index.js +22 -19
- package/es/Select/index.d.ts +3 -0
- package/es/Select/index.js +44 -7
- package/es/Select/style/index.css +28 -0
- package/es/Select/style/variables.css +28 -0
- package/es/TreeSelect/index.js +17 -2
- package/es/TreeSelect/style/index.css +3 -0
- package/es/TreeSelect/style/variables.css +3 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -1
- package/es/styles/variables.css +263 -120
- package/lib/Button/index.js +4 -3
- package/lib/Button/style/index.css +28 -25
- package/lib/Button/style/variables.css +28 -25
- package/lib/Cascader/index.js +35 -3
- package/lib/Cascader/style/index.css +1 -0
- package/lib/Cascader/style/variables.css +1 -0
- package/lib/ConfigProvider/context.d.ts +1 -0
- package/lib/ConfigProvider/index.js +5 -3
- package/lib/Descriptions/Cell.d.ts +1 -0
- package/lib/Descriptions/Cell.js +5 -2
- package/lib/Descriptions/Item.d.ts +1 -0
- package/lib/Descriptions/Row.js +6 -1
- package/lib/Descriptions/index.d.ts +1 -1
- package/lib/Descriptions/index.js +3 -3
- package/lib/Descriptions/style/index.css +3 -0
- package/lib/Descriptions/style/variables.css +3 -0
- package/lib/Form/Form.js +13 -4
- package/lib/Form/FormItem/ItemHolder.js +1 -10
- package/lib/Form/FormWrapper.d.ts +3 -0
- package/lib/Form/FormWrapper.js +34 -0
- package/lib/Form/WrapperItem.d.ts +4 -0
- package/lib/Form/WrapperItem.js +235 -0
- package/lib/Form/container.js +1 -13
- package/lib/Form/images/icon_collapse.svg +1 -0
- package/lib/Form/index.d.ts +2 -0
- package/lib/Form/index.js +3 -0
- package/lib/Form/interface.d.ts +12 -0
- package/lib/Form/style/index.css +34 -41
- package/lib/Form/style/variables.css +34 -41
- package/lib/IconFont/index.d.ts +1 -2
- package/lib/IconFont/index.js +25 -4
- package/lib/ImageViewer/components/Operate.js +4 -8
- package/lib/Input/index.js +52 -10
- package/lib/InputNumber/index.js +29 -11
- package/lib/InputNumber/style/index.css +7 -0
- package/lib/InputNumber/style/variables.css +7 -0
- package/lib/LmDrag/LmDrag.d.ts +4 -0
- package/lib/LmDrag/LmDrag.js +44 -0
- package/lib/LmDrag/components/DndContainer.d.ts +3 -0
- package/lib/LmDrag/components/DndContainer.js +138 -0
- package/lib/LmDrag/components/sortableBox.d.ts +5 -0
- package/lib/LmDrag/components/sortableBox.js +37 -0
- package/lib/LmDrag/components/sortableItem.d.ts +7 -0
- package/lib/LmDrag/components/sortableItem.js +54 -0
- package/lib/LmDrag/index.d.ts +10 -0
- package/lib/LmDrag/index.js +19 -0
- package/lib/LmDrag/style/index.css +0 -0
- package/lib/LmDrag/style/index.d.ts +1 -0
- package/lib/LmDrag/style/index.js +3 -0
- package/lib/LmDrag/style/variables.css +0 -0
- package/lib/LmDrag/style/variables.d.ts +1 -0
- package/lib/LmDrag/style/variables.js +3 -0
- package/lib/LmDrag/wrapper/Root.d.ts +3 -0
- package/lib/LmDrag/wrapper/Root.js +26 -0
- package/lib/LmEditTable/EditTable.d.ts +16 -3
- package/lib/LmEditTable/EditTable.js +271 -230
- package/lib/LmEditTable/components/QuickOpetate.d.ts +12 -0
- package/lib/LmEditTable/components/QuickOpetate.js +96 -0
- package/lib/LmEditTable/components/bottomOpetateComponent.d.ts +13 -0
- package/lib/LmEditTable/components/bottomOpetateComponent.js +34 -0
- package/lib/LmEditTable/components/index.d.ts +3 -1
- package/lib/LmEditTable/components/index.js +16 -0
- package/lib/LmEditTable/sortableItemCol.js +37 -8
- package/lib/LmEditTable/style/index.css +20 -0
- package/lib/LmEditTable/style/variables.css +20 -0
- package/lib/LmEditTable/util.js +37 -11
- package/lib/LmFilter/LmFilter.js +6 -6
- package/lib/LmFilter/components/CheckboxFilter.js +9 -4
- package/lib/LmFilter/components/DropdownFIlter.js +186 -111
- package/lib/LmFilter/components/SelectFilter.js +4 -3
- package/lib/LmFilter/filterFns/index.js +4 -6
- package/lib/LmFilter/index.js +0 -3
- package/lib/LmFilter/style/index.css +82 -54
- package/lib/LmFilter/style/variables.css +82 -54
- package/lib/LmFilter/utils.js +6 -6
- package/lib/LmSelect/style/index.css +1 -0
- package/lib/LmSelect/style/variables.css +1 -0
- package/lib/LmTable/Table.js +24 -15
- package/lib/LmTable/expression.d.ts +1 -0
- package/lib/LmTable/expression.js +41 -0
- package/lib/LmTable/hooks/useGroupDataSource.js +50 -0
- package/lib/LmTable/style/index.css +39 -0
- package/lib/LmTable/style/variables.css +39 -0
- package/lib/LmUpload/LmUpload.js +9 -3
- package/lib/LmUpload/UploadList/ItemPicture.js +2 -1
- package/lib/LmUpload/UploadList/ItemPictureCard.d.ts +2 -1
- package/lib/LmUpload/UploadList/ItemPictureCard.js +15 -5
- package/lib/LmUpload/UploadList/ItemText.js +7 -2
- package/lib/LmUpload/UploadList/index.js +54 -2
- package/lib/LmUpload/body/UploadCore.js +5 -1
- package/lib/LmUpload/fns/index.d.ts +1 -0
- package/lib/LmUpload/fns/index.js +27 -6
- package/lib/LmUpload/style/index.css +17 -0
- package/lib/LmUpload/style/variables.css +17 -0
- package/lib/QuickMenu/index.d.ts +3 -1
- package/lib/QuickMenu/index.js +21 -18
- package/lib/Select/index.d.ts +3 -0
- package/lib/Select/index.js +47 -7
- package/lib/Select/style/index.css +28 -0
- package/lib/Select/style/variables.css +28 -0
- package/lib/TreeSelect/index.js +21 -2
- package/lib/TreeSelect/style/index.css +3 -0
- package/lib/TreeSelect/style/variables.css +3 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +15 -1
- package/lib/styles/variables.css +263 -120
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,121 @@
|
|
|
1
|
+
## <small>1.1.23 (2022-10-31)</small>
|
|
2
|
+
|
|
3
|
+
* 1.1.23 ([3a82908](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/3a82908))
|
|
4
|
+
* build: build ([856267e](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/856267e))
|
|
5
|
+
* fix: 修改拖拽移动事件 ([47632d9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/47632d9))
|
|
6
|
+
* fix: add ([46b85f4](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/46b85f4))
|
|
7
|
+
* fix: change ([86a1282](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/86a1282))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## <small>1.1.22 (2022-10-28)</small>
|
|
12
|
+
|
|
13
|
+
* 1.1.22 ([9a19225](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/9a19225))
|
|
14
|
+
* build: build ([3b79e5e](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/3b79e5e))
|
|
15
|
+
* feat: 筛选组件增加清楚按钮触发方式 ([64ed4c5](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/64ed4c5))
|
|
16
|
+
* fix: 修复lmedittable的选择问题 ([f0ae1f2](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/f0ae1f2))
|
|
17
|
+
* fix: 修改拖拽点 ([336fb8c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/336fb8c))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## <small>1.1.21 (2022-10-28)</small>
|
|
22
|
+
|
|
23
|
+
* 1.1.21 ([86a2415](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/86a2415))
|
|
24
|
+
* build: build ([1b7c124](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/1b7c124))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## <small>1.1.20 (2022-10-28)</small>
|
|
29
|
+
|
|
30
|
+
* 1.1.20 ([2a6fd92](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2a6fd92))
|
|
31
|
+
* feat: 描述列表增加行合并 ([2acdcaa](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2acdcaa))
|
|
32
|
+
* feat: 增加上传组件拖拽功能 ([4e07162](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/4e07162))
|
|
33
|
+
* feat: 增加拖拽组件(实验性) ([62b3eef](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/62b3eef))
|
|
34
|
+
* docs: new lmDrag ([0580608](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/0580608))
|
|
35
|
+
* docs: new lmDrag ([7d8239b](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/7d8239b))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## <small>1.1.19 (2022-10-25)</small>
|
|
40
|
+
|
|
41
|
+
* 1.1.19 ([7cda205](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/7cda205))
|
|
42
|
+
* build: build ([daddea9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/daddea9))
|
|
43
|
+
* fix: 解锁react版本 ([3652d40](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/3652d40))
|
|
44
|
+
* fix: 添加form从ref 中设置数据无法生效的问题 ([c0b75b6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/c0b75b6))
|
|
45
|
+
* fix: 修复 cascade inputnumber treeselect 在configProvider中设置size不生效的问题 ([f466792](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/f466792))
|
|
46
|
+
* fix: 修复descriptions每行最后一个存在padding的问题 ([8041520](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/8041520))
|
|
47
|
+
* fix: 修改按钮样式 ([647b669](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/647b669))
|
|
48
|
+
* fix: 修改筛选组件赋值错误问题 ([7b70b7c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/7b70b7c))
|
|
49
|
+
* fate: 添加Select框带icon功能 ([eee6a75](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/eee6a75))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## <small>1.1.18 (2022-10-24)</small>
|
|
54
|
+
|
|
55
|
+
* 1.1.18 ([1c75789](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/1c75789))
|
|
56
|
+
* fix: 添加快捷菜单在抽屉中的用例 ([ea3dbdf](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ea3dbdf))
|
|
57
|
+
* fix: 修复propsComponet打包出来的问题。及添加quickmenu的hidden事件 ([277fbdd](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/277fbdd))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## <small>1.1.17 (2022-10-21)</small>
|
|
62
|
+
|
|
63
|
+
* 1.1.17 ([f608658](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/f608658))
|
|
64
|
+
* build: build ([ef91efe](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ef91efe))
|
|
65
|
+
* fix: 修改筛选内置下拉组件样式, 增加额外功能参数 ([b723cfd](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/b723cfd))
|
|
66
|
+
* fix: 修改图片预览旋转图标 ([2c03eb5](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2c03eb5))
|
|
67
|
+
* feat: 表单响应式布局新版 ([78e8eb6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/78e8eb6))
|
|
68
|
+
* feat: 增加图标库额外接收url ([a5f1947](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/a5f1947))
|
|
69
|
+
* docs: changlog ([95538b3](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/95538b3))
|
|
70
|
+
* docs: delete no use ([2442aa5](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2442aa5))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## <small>1.1.16 (2022-10-21)</small>
|
|
75
|
+
|
|
76
|
+
* 1.1.16 ([ed714ba](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ed714ba))
|
|
77
|
+
* build: build ([9aa47ed](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/9aa47ed))
|
|
78
|
+
* fix: 修复state的值传入componentprops中的问题 ([dd60ef9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/dd60ef9))
|
|
79
|
+
* fix: 修改筛选组件的单独使用内置组件参数 ([07a4aae](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/07a4aae))
|
|
80
|
+
* docs: 文档 ([df1d639](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/df1d639))
|
|
81
|
+
* feat: 表单响应式2.0 ([e3d13f9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/e3d13f9))
|
|
82
|
+
* feat: 响应式2.1 ([19de7d3](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/19de7d3))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## <small>1.1.15 (2022-10-20)</small>
|
|
87
|
+
|
|
88
|
+
* 1.1.15 ([5624f8c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/5624f8c))
|
|
89
|
+
* fix: 修复表格快捷的样式 ([339fb03](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/339fb03))
|
|
90
|
+
* fix: 修改级联选择组件defaultLabel显示的判定 ([aaf012d](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/aaf012d))
|
|
91
|
+
* fix: 修改输入框接收值问题 ([fa82624](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/fa82624))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## <small>1.1.14 (2022-10-19)</small>
|
|
96
|
+
|
|
97
|
+
* 1.1.14 ([fda1f54](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/fda1f54))
|
|
98
|
+
* build: build ([40dc112](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/40dc112))
|
|
99
|
+
* fix: 表单禁用disabled不生效 ([67393fd](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/67393fd))
|
|
100
|
+
* fix: 筛选组件内置下拉组件增加属性popupClassName ([568c829](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/568c829))
|
|
101
|
+
* fix: 响应式多级下拉 ([a228946](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/a228946))
|
|
102
|
+
* fix: 修改上传组件删除逻辑问题 ([d1e4784](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/d1e4784))
|
|
103
|
+
* docs: changelog ([8482a83](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/8482a83))
|
|
104
|
+
* docs: changelog ([ad910c3](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ad910c3))
|
|
105
|
+
* feat: 分组表格支持金额总和计算 ([2402d16](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2402d16))
|
|
106
|
+
* style: changelog ([0c041a6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/0c041a6))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## <small>1.1.13 (2022-10-18)</small>
|
|
111
|
+
|
|
112
|
+
* 1.1.13 ([279147c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/279147c))
|
|
113
|
+
* fix: 修改select属性defaultLabel不生效问题 ([1e99046](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/1e99046))
|
|
114
|
+
* feat: cascader增加属性 defaultLabel ([3290acf](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/3290acf))
|
|
115
|
+
* build: change Log ([a9521b0](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/a9521b0))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
1
119
|
## <small>1.1.12 (2022-10-18)</small>
|
|
2
120
|
|
|
3
121
|
* 1.1.12 ([ce4a587](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ce4a587))
|
|
@@ -44,6 +44,7 @@ export interface ConfigConsumerProps {
|
|
|
44
44
|
requiredMark?: RequiredMark;
|
|
45
45
|
colon?: boolean;
|
|
46
46
|
};
|
|
47
|
+
iconUrl?: string | Array<string>;
|
|
47
48
|
}
|
|
48
49
|
export declare const ConfigContext: React.Context<ConfigConsumerProps>;
|
|
49
50
|
export declare const ConfigConsumer: React.Consumer<ConfigConsumerProps>;
|
|
@@ -21,7 +21,7 @@ export interface DescriptionsProps {
|
|
|
21
21
|
contentStyle?: React.CSSProperties;
|
|
22
22
|
containerType?: 'default' | 'drawer' | 'modal';
|
|
23
23
|
}
|
|
24
|
-
declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType }: DescriptionsProps): JSX.Element;
|
|
24
|
+
declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType, }: DescriptionsProps): JSX.Element;
|
|
25
25
|
declare namespace Descriptions {
|
|
26
26
|
var Item: React.FC<import("./Item").DescriptionsItemProps>;
|
|
27
27
|
}
|
package/dist/Form/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { FormItemProps } from './FormItem';
|
|
|
9
9
|
import List from './FormList';
|
|
10
10
|
import type { FormListFieldData, FormListOperation, FormListProps } from './FormList';
|
|
11
11
|
import useFormInstance from './hooks/useFormInstance';
|
|
12
|
+
import Wrapper from './FormWrapper';
|
|
12
13
|
declare type InternalFormType = typeof InternalForm;
|
|
13
14
|
interface FormInterface extends InternalFormType {
|
|
14
15
|
useForm: typeof useForm;
|
|
@@ -18,6 +19,7 @@ interface FormInterface extends InternalFormType {
|
|
|
18
19
|
List: typeof List;
|
|
19
20
|
ErrorList: typeof ErrorList;
|
|
20
21
|
Provider: typeof FormProvider;
|
|
22
|
+
Wrapper: typeof Wrapper;
|
|
21
23
|
/** @deprecated Only for warning usage. Do not use. */
|
|
22
24
|
create: () => void;
|
|
23
25
|
}
|
package/dist/Form/interface.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { FormInstance, Store } from 'rc-field-form/lib/interface';
|
|
2
|
+
import React from 'react';
|
|
1
3
|
export { InternalNamePath, NamePath, Store, StoreValue } from 'rc-field-form/lib/interface';
|
|
2
4
|
export { Options as ScrollOptions } from 'scroll-into-view-if-needed';
|
|
3
5
|
export declare type FormLabelAlign = 'left' | 'right';
|
|
6
|
+
export declare type RenderProps = (values: Store, form: FormInstance) => JSX.Element | React.ReactNode;
|
|
7
|
+
export interface ISize {
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface IWrapper {
|
|
12
|
+
children: React.ReactNode | RenderProps;
|
|
13
|
+
title?: string;
|
|
14
|
+
user?: boolean;
|
|
15
|
+
}
|
package/dist/IconFont/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import LmDrag from './LmDrag';
|
|
3
|
+
export default LmDrag;
|
|
4
|
+
export { LmDrag };
|
|
5
|
+
export interface LmDragProps {
|
|
6
|
+
options?: Array<any>;
|
|
7
|
+
rowKey: string;
|
|
8
|
+
move?: (activeId: string, overId: string, fileList: Array<any>) => void;
|
|
9
|
+
children?: ReactNode | React.FC | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './variables.less';
|
|
@@ -5,6 +5,7 @@ interface ILmEditTable extends TableProps<any> {
|
|
|
5
5
|
isEdit?: boolean;
|
|
6
6
|
isAdd?: boolean;
|
|
7
7
|
rowKey?: string;
|
|
8
|
+
disabled?: boolean;
|
|
8
9
|
rowHoverEdit?: boolean;
|
|
9
10
|
isUseForm?: boolean;
|
|
10
11
|
isHoverEdit?: boolean;
|
|
@@ -13,6 +14,7 @@ interface ILmEditTable extends TableProps<any> {
|
|
|
13
14
|
sortOpen?: boolean;
|
|
14
15
|
size?: TableProps<any>['size'];
|
|
15
16
|
colSortOpen?: boolean;
|
|
17
|
+
indexCol?: boolean | Record<string, any>;
|
|
16
18
|
filterChange?: (data: TableProps<any>['columns']) => void;
|
|
17
19
|
recordCreatorProps?: {
|
|
18
20
|
creatorButtonText?: string;
|
|
@@ -22,6 +24,17 @@ interface ILmEditTable extends TableProps<any> {
|
|
|
22
24
|
};
|
|
23
25
|
/** 是否为强制更新 */
|
|
24
26
|
shouldUpdate?: boolean;
|
|
27
|
+
rowSelection?: TableProps<any>['rowSelection'] & {
|
|
28
|
+
selectedRows?: Record<string, any>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface CountdownHandle {
|
|
32
|
+
setRow: (data: any) => void;
|
|
33
|
+
getCheckboxRecords: () => any[];
|
|
34
|
+
clearSelect: () => void;
|
|
35
|
+
customSetCheckboxRecords: (data: any[]) => void;
|
|
36
|
+
deleteRowData: (record: string | Record<string, any>) => void;
|
|
37
|
+
addRowData: (record: string | Record<string, any>, defaultValue?: Record<string, any> | Record<string, any>[], addInChild?: boolean | 'replace') => void;
|
|
25
38
|
}
|
|
26
39
|
interface ILmColumns extends TableColumnType<any> {
|
|
27
40
|
editable?: 'input' | 'number' | 'inputRange' | 'date' | 'select' | 'multiple' | 'checkbox' | 'radio' | 'switch' | 'upload' | 'operate' | 'lm_edit_opetate' | 'render';
|
|
@@ -36,11 +49,11 @@ interface ILmColumns extends TableColumnType<any> {
|
|
|
36
49
|
export declare type TLmEditTable = {
|
|
37
50
|
onChange?: (data: any[]) => void;
|
|
38
51
|
columns: ILmColumns[];
|
|
39
|
-
virtual
|
|
52
|
+
virtual?: boolean;
|
|
40
53
|
} & ILmEditTable;
|
|
41
54
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
42
55
|
onChange?: (data: any[]) => void;
|
|
43
56
|
columns: ILmColumns[];
|
|
44
|
-
virtual
|
|
45
|
-
} & ILmEditTable & React.RefAttributes<
|
|
57
|
+
virtual?: boolean;
|
|
58
|
+
} & ILmEditTable & React.RefAttributes<CountdownHandle>>>;
|
|
46
59
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface IOpetateProps {
|
|
3
|
+
record: Record<string, any>;
|
|
4
|
+
rowKey?: string;
|
|
5
|
+
handleAdd?: (row?: any, addInChildren?: boolean) => void;
|
|
6
|
+
handleDelete?: (rowKey?: string) => void;
|
|
7
|
+
options?: string[];
|
|
8
|
+
getLength?: number;
|
|
9
|
+
quickOpetateClearAll?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const QuickOpetate: FC<IOpetateProps>;
|
|
12
|
+
export default QuickOpetate;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface IBottomOpetateCompoentProps {
|
|
2
|
+
isShowAddAction?: boolean;
|
|
3
|
+
handleAdd?: () => void;
|
|
4
|
+
recordCreatorProps?: {
|
|
5
|
+
creatorButtonText?: string;
|
|
6
|
+
style?: Record<string, any>;
|
|
7
|
+
initData?: Record<string, any> | (() => Record<string, any>);
|
|
8
|
+
customAddClick?: () => void;
|
|
9
|
+
};
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const BottomOpetateComponent: (props: IBottomOpetateCompoentProps) => JSX.Element;
|
|
13
|
+
export default BottomOpetateComponent;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import DraggableContainer from './DraggableContainer';
|
|
2
|
-
|
|
2
|
+
import BottomOpetateComponent from './bottomOpetateComponent';
|
|
3
|
+
import QuickOpetate from './QuickOpetate';
|
|
4
|
+
export { DraggableContainer, BottomOpetateComponent, QuickOpetate };
|
|
3
5
|
declare const _default: {
|
|
4
6
|
DraggableContainer: ({ keys, onSortEnd, virtual, ...props }: {
|
|
5
7
|
[x: string]: any;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
searchConfig?: {};
|
|
4
|
-
localization?: {};
|
|
5
|
-
}, string | number> & React.RefAttributes<any>>;
|
|
6
|
-
export default _default;
|
|
1
|
+
export default LmFilter;
|
|
2
|
+
declare const LmFilter: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
7
3
|
import React from "react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function calcExpression(item: any, needCalcKeys: string[]): void;
|
|
@@ -15,6 +15,7 @@ declare const useCoreOptions: ({ state, dispatch, props }: {
|
|
|
15
15
|
remove: (file: any) => Promise<void>;
|
|
16
16
|
preview: (file: any) => void;
|
|
17
17
|
download: (file: any) => void;
|
|
18
|
+
move: (active: any, over: any, fileList: any) => void;
|
|
18
19
|
};
|
|
19
20
|
RefMethods: {
|
|
20
21
|
getState: () => any;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface IMenuData {
|
|
2
|
+
export interface IMenuData {
|
|
3
3
|
menuId: string;
|
|
4
4
|
title: string | React.ReactNode;
|
|
5
|
+
hidden?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export interface IQuickMenuProps {
|
|
7
8
|
className?: string;
|
|
@@ -9,6 +10,7 @@ export interface IQuickMenuProps {
|
|
|
9
10
|
top?: number;
|
|
10
11
|
menuData: IMenuData[];
|
|
11
12
|
warpElement: any;
|
|
13
|
+
root?: IntersectionObserver['root'] | undefined;
|
|
12
14
|
}
|
|
13
15
|
declare const LMQuickMenu: React.FC<IQuickMenuProps>;
|
|
14
16
|
export default LMQuickMenu;
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ export interface ISelectProps extends SelectProps {
|
|
|
6
6
|
Option?: typeof Select.Option;
|
|
7
7
|
OptGroup?: typeof Select.OptGroup;
|
|
8
8
|
defaultLabel?: string;
|
|
9
|
+
suffix?: React.ReactNode;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
iconClick?: () => void;
|
|
9
12
|
}
|
|
10
13
|
declare type SelectType = typeof Select & typeof Select.Option & typeof Select.OptGroup;
|
|
11
14
|
declare const LMSelect: SelectType;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export type { TooltipProps } from './Tooltip';
|
|
|
51
51
|
export { default as Form } from './Form';
|
|
52
52
|
export { default as Spin } from './Spin';
|
|
53
53
|
export { default as LmEditTable } from './LmEditTable';
|
|
54
|
+
export type { TLmEditTable, CountdownHandle } from './LmEditTable/EditTable';
|
|
54
55
|
export { default as List } from './List';
|
|
55
56
|
export { default as LMQuickMenu } from './QuickMenu';
|
|
56
57
|
export { default as DatePicker } from './DatePicker';
|
|
@@ -125,3 +126,4 @@ export { default as CropImg } from './CropImg';
|
|
|
125
126
|
export type { CropImgProps } from './CropImg';
|
|
126
127
|
export { default as ImageViewer } from './ImageViewer';
|
|
127
128
|
export type { ImageViewerProps } from './ImageViewer';
|
|
129
|
+
export * from './LmDrag';
|