@teamix/pro 1.4.11 → 1.4.14
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/dist/pro.css +1 -1
- package/dist/pro.js +332 -113
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/es/actions/index.scss +1 -1
- package/es/form/ProForm/index.scss +5 -0
- package/es/form/SchemaForm/index.js +12 -4
- package/es/form/SchemaForm/initializeDataSource.d.ts +3 -0
- package/es/form/SchemaForm/initializeDataSource.js +7 -0
- package/es/form/SchemaForm/initializeFormButton.js +4 -5
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/info/components/ProInfoItem/index.js +33 -4
- package/es/info/components/ProInfoItem/index.scss +18 -11
- package/es/info/components/baseInfo/index.js +4 -1
- package/es/info/components/baseInfo/index.scss +4 -1
- package/es/info/components/headerInfo/index.js +4 -1
- package/es/info/components/headerInfo/index.scss +3 -0
- package/es/info/components/tableInfo/index.js +2 -1
- package/es/info/index.js +6 -3
- package/es/info/typing.d.ts +3 -1
- package/es/table/index.js +95 -50
- package/es/table/index.scss +5 -0
- package/es/table/typing.d.ts +3 -1
- package/es/table/utils/columnRender.js +2 -1
- package/lib/actions/index.scss +1 -1
- package/lib/form/ProForm/index.scss +5 -0
- package/lib/form/SchemaForm/index.js +11 -3
- package/lib/form/SchemaForm/initializeDataSource.d.ts +3 -0
- package/lib/form/SchemaForm/initializeDataSource.js +10 -2
- package/lib/form/SchemaForm/initializeFormButton.js +3 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/info/components/ProInfoItem/index.js +33 -4
- package/lib/info/components/ProInfoItem/index.scss +18 -11
- package/lib/info/components/baseInfo/index.js +4 -1
- package/lib/info/components/baseInfo/index.scss +4 -1
- package/lib/info/components/headerInfo/index.js +4 -1
- package/lib/info/components/headerInfo/index.scss +3 -0
- package/lib/info/components/tableInfo/index.js +3 -1
- package/lib/info/index.js +5 -2
- package/lib/info/typing.d.ts +3 -1
- package/lib/table/index.js +95 -49
- package/lib/table/index.scss +5 -0
- package/lib/table/typing.d.ts +3 -1
- package/lib/table/utils/columnRender.js +2 -1
- package/package.json +1 -1
package/lib/table/typing.d.ts
CHANGED
@@ -69,7 +69,9 @@ export declare type ProTableProps = {
|
|
69
69
|
/** 请求方法 */
|
70
70
|
method?: Method;
|
71
71
|
/** 请求参数 */
|
72
|
-
params?:
|
72
|
+
params?: {
|
73
|
+
[propName: string]: any;
|
74
|
+
};
|
73
75
|
/** sort 排序请求参数处理函数 */
|
74
76
|
formatSort?: (sort: object) => object;
|
75
77
|
/** 如需自定义调用参数格式,则可以设定此值在请求前对 params 进行自定义,如果返回false则可以阻止请求 */
|
@@ -55,8 +55,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
55
55
|
var renderColumnsTitle = function renderColumnsTitle(item, actionRef) {
|
56
56
|
var filterMode = item.filterMode,
|
57
57
|
filters = item.filters,
|
58
|
+
dataSource = item.dataSource,
|
58
59
|
dataIndex = item.dataIndex,
|
59
|
-
|
60
|
+
valueType = item.valueType; // 为列过滤添加状态标题
|
60
61
|
|
61
62
|
var getItemLabel = function getItemLabel() {
|
62
63
|
if (filters && filterMode !== 'multiple') {
|