linkmore-design 1.1.15 → 1.1.17
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 +44 -10
- package/dist/ConfigProvider/context.d.ts +1 -0
- package/dist/Form/FormWrapper.d.ts +3 -0
- package/dist/Form/WrapperItem.d.ts +4 -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/LmTable/demos/summuy.d.ts +2 -0
- package/dist/TreeSelect/demos/treedata.d.ts +3 -0
- package/dist/index.umd.js +1202 -1004
- package/dist/index.umd.min.js +17 -17
- package/dist/variables.css +153 -98
- 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/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 -44
- package/es/Form/style/variables.css +34 -44
- 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/InputNumber/style/index.css +4 -0
- package/es/InputNumber/style/variables.css +4 -0
- package/es/LmEditTable/EditTable.js +3 -2
- package/es/LmFilter/components/CheckboxFilter.js +9 -4
- package/es/LmFilter/components/DropdownFIlter.js +166 -115
- package/es/LmFilter/components/SelectFilter.js +4 -3
- package/es/LmFilter/filterFns/index.js +4 -6
- package/es/LmFilter/style/index.css +73 -54
- package/es/LmFilter/style/variables.css +73 -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/style/index.css +39 -0
- package/es/LmTable/style/variables.css +39 -0
- package/es/LmUpload/UploadList/ItemText.js +5 -1
- package/es/Select/style/index.css +1 -0
- package/es/Select/style/variables.css +1 -0
- package/es/styles/variables.css +153 -98
- 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/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 -44
- package/lib/Form/style/variables.css +34 -44
- 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/InputNumber/style/index.css +4 -0
- package/lib/InputNumber/style/variables.css +4 -0
- package/lib/LmEditTable/EditTable.js +3 -2
- package/lib/LmFilter/components/CheckboxFilter.js +9 -4
- package/lib/LmFilter/components/DropdownFIlter.js +166 -115
- package/lib/LmFilter/components/SelectFilter.js +4 -3
- package/lib/LmFilter/filterFns/index.js +4 -6
- package/lib/LmFilter/style/index.css +73 -54
- package/lib/LmFilter/style/variables.css +73 -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/style/index.css +39 -0
- package/lib/LmTable/style/variables.css +39 -0
- package/lib/LmUpload/UploadList/ItemText.js +5 -1
- package/lib/Select/style/index.css +1 -0
- package/lib/Select/style/variables.css +1 -0
- package/lib/styles/variables.css +153 -98
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,47 @@
|
|
|
1
|
-
## <small>1.1.
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* fix:
|
|
1
|
+
## <small>1.1.16 (2022-10-21)</small>
|
|
2
|
+
|
|
3
|
+
* 1.1.16 ([ed714ba](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ed714ba))
|
|
4
|
+
* build: build ([9aa47ed](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/9aa47ed))
|
|
5
|
+
* fix: 修复state的值传入componentprops中的问题 ([dd60ef9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/dd60ef9))
|
|
6
|
+
* fix: 修改筛选组件的单独使用内置组件参数 ([07a4aae](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/07a4aae))
|
|
7
|
+
* docs: 文档 ([df1d639](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/df1d639))
|
|
8
|
+
* feat: 表单响应式2.0 ([e3d13f9](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/e3d13f9))
|
|
9
|
+
* feat: 响应式2.1 ([19de7d3](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/19de7d3))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## <small>1.1.15 (2022-10-20)</small>
|
|
14
|
+
|
|
15
|
+
* 1.1.15 ([5624f8c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/5624f8c))
|
|
16
|
+
* fix: 修复表格快捷的样式 ([339fb03](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/339fb03))
|
|
17
|
+
* fix: 修改级联选择组件defaultLabel显示的判定 ([aaf012d](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/aaf012d))
|
|
18
|
+
* fix: 修改输入框接收值问题 ([fa82624](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/fa82624))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## <small>1.1.14 (2022-10-19)</small>
|
|
23
|
+
|
|
24
|
+
* 1.1.14 ([fda1f54](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/fda1f54))
|
|
25
|
+
* build: build ([40dc112](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/40dc112))
|
|
26
|
+
* fix: 表单禁用disabled不生效 ([67393fd](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/67393fd))
|
|
27
|
+
* fix: 筛选组件内置下拉组件增加属性popupClassName ([568c829](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/568c829))
|
|
28
|
+
* fix: 响应式多级下拉 ([a228946](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/a228946))
|
|
29
|
+
* fix: 修改上传组件删除逻辑问题 ([d1e4784](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/d1e4784))
|
|
30
|
+
* docs: changelog ([8482a83](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/8482a83))
|
|
31
|
+
* docs: changelog ([ad910c3](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/ad910c3))
|
|
32
|
+
* feat: 分组表格支持金额总和计算 ([2402d16](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/2402d16))
|
|
33
|
+
* style: changelog ([0c041a6](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/0c041a6))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## <small>1.1.13 (2022-10-18)</small>
|
|
38
|
+
|
|
39
|
+
* 1.1.13 ([279147c](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/279147c))
|
|
40
|
+
* fix: 修改select属性defaultLabel不生效问题 ([1e99046](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/1e99046))
|
|
41
|
+
* feat: cascader增加属性 defaultLabel ([3290acf](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/3290acf))
|
|
42
|
+
* build: change Log ([a9521b0](https://gitlab.scm321.com/web-group/UFX.SCM.linkDesign/commit/a9521b0))
|
|
43
|
+
|
|
44
|
+
|
|
6
45
|
|
|
7
46
|
## <small>1.1.12 (2022-10-18)</small>
|
|
8
47
|
|
|
@@ -1123,8 +1162,3 @@
|
|
|
1123
1162
|
|
|
1124
1163
|
|
|
1125
1164
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
[[git地址]:
|
|
1129
|
-
|
|
1130
|
-
[[小北IT官网]:
|
|
@@ -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>;
|
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