@teamix/pro 1.4.4 → 1.4.7
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-without-icon.min.css +1 -0
- package/dist/pro-without-icon.min.js +2 -0
- package/dist/pro-without-icon.min.js.LICENSE.txt +34 -0
- package/dist/pro.css +1 -1
- package/dist/pro.js +1073 -776
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/es/actions/dialog-form.js +18 -11
- package/es/card/index.js +2 -3
- package/es/card/index.scss +2 -2
- package/es/form/Components/LightFilter/index.js +7 -2
- package/es/form/Components/LightFilter/index.scss +5 -0
- package/es/form/Filter/index.js +5 -4
- package/es/form/ProForm/index.js +1 -1
- package/es/form/ProForm/index.scss +13 -4
- package/es/form/SchemaForm/index.js +8 -4
- package/es/form/SchemaForm/initializeFormButton.js +4 -4
- package/es/form/index.d.ts +8 -7
- package/es/index-without-icon.d.ts +32 -0
- package/es/index-without-icon.js +35 -0
- package/es/index.d.ts +3 -2
- package/es/index.js +2 -2
- package/es/page-header/index.js +3 -1
- package/es/table/components/Pagination/index.js +3 -3
- package/es/table/index.js +1 -1
- package/es/table/utils/genProColumnToColumn.d.ts +5 -1
- package/es/table/utils/genProColumnToColumn.js +3 -1
- package/lib/actions/dialog-form.js +17 -10
- package/lib/card/index.js +2 -3
- package/lib/card/index.scss +2 -2
- package/lib/form/Components/LightFilter/index.js +6 -1
- package/lib/form/Components/LightFilter/index.scss +5 -0
- package/lib/form/Filter/index.js +5 -4
- package/lib/form/ProForm/index.js +1 -1
- package/lib/form/ProForm/index.scss +13 -4
- package/lib/form/SchemaForm/index.js +11 -6
- package/lib/form/SchemaForm/initializeFormButton.js +4 -5
- package/lib/form/index.d.ts +8 -7
- package/lib/index-without-icon.d.ts +32 -0
- package/lib/index-without-icon.js +316 -0
- package/lib/index.d.ts +3 -2
- package/lib/index.js +9 -2
- package/lib/page-header/index.js +3 -1
- package/lib/table/components/Pagination/index.js +3 -3
- package/lib/table/index.js +1 -1
- package/lib/table/utils/genProColumnToColumn.d.ts +5 -1
- package/lib/table/utils/genProColumnToColumn.js +4 -1
- package/package.json +3 -5
@@ -1,9 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ProTableColumnProps, ProTableActionType } from '../typing';
|
3
3
|
import { ColumnProps } from '@alicloudfe/components/types/table';
|
4
|
+
declare type FixedColumnProps = ColumnProps & {
|
5
|
+
wordBreak?: string;
|
6
|
+
};
|
4
7
|
/**
|
5
8
|
* ProColumn => Column
|
6
9
|
*/
|
7
10
|
export default function genProColumnToColumn(columns: ProTableColumnProps[],
|
8
11
|
/** 是否渲染骨架屏 */
|
9
|
-
showSkeleton: boolean, actionRef: React.MutableRefObject<ProTableActionType | undefined>, context?: any):
|
12
|
+
showSkeleton: boolean, actionRef: React.MutableRefObject<ProTableActionType | undefined>, context?: any): FixedColumnProps[];
|
13
|
+
export {};
|
@@ -11,6 +11,8 @@ var _columnRender = require("./columnRender");
|
|
11
11
|
|
12
12
|
var _skeleton = require("../../skeleton");
|
13
13
|
|
14
|
+
var _utils = require("@teamix/utils");
|
15
|
+
|
14
16
|
var _excluded = ["filters", "dataIndex"];
|
15
17
|
|
16
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
@@ -51,7 +53,8 @@ showSkeleton, actionRef) {
|
|
51
53
|
|
52
54
|
return _objectSpread(_objectSpread({
|
53
55
|
// 金钱样式默认右对齐
|
54
|
-
align: columnProps.valueType === 'money' ? 'right' : 'left'
|
56
|
+
align: columnProps.valueType === 'money' ? 'right' : 'left',
|
57
|
+
wordBreak: (0, _utils.getLanguage)() === 'en-us' ? 'word' : 'all'
|
55
58
|
}, others), {}, {
|
56
59
|
dataIndex: dataIndex === null || dataIndex === void 0 ? void 0 : dataIndex.toString(),
|
57
60
|
title: (0, _columnRender.renderColumnsTitle)(columnProps, actionRef),
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teamix/pro",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.7",
|
4
4
|
"description": "TeamixPro大包",
|
5
5
|
"keywords": [
|
6
6
|
"aliyun",
|
@@ -36,17 +36,15 @@
|
|
36
36
|
],
|
37
37
|
"private": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@formily
|
40
|
-
"@formily/react": "2.0.15",
|
41
|
-
"@teamix/formily": "2.0.15-1",
|
39
|
+
"@teamix/formily": "2.1.4",
|
42
40
|
"@teamix/hooks": "^0.1.0",
|
43
41
|
"@teamix/pop-confirm": "^1.2.4",
|
44
42
|
"@teamix/pro-field": "^1.0.0",
|
45
43
|
"@teamix/pro-page-container": "^1.0.0",
|
46
44
|
"@teamix/pro-skeleton": "^1.0.0",
|
45
|
+
"@teamix/result": "^1.0.29",
|
47
46
|
"@teamix/svg": "^1.0.11",
|
48
47
|
"@teamix/utils": "^0.1.0",
|
49
|
-
"@teamix/result": "^1.0.29",
|
50
48
|
"classnames": "^2.3.1",
|
51
49
|
"lodash.clonedeep": "^4.5.0",
|
52
50
|
"lodash.debounce": "^4.0.8",
|