@teamix/pro 1.2.15 → 1.2.19
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 +832 -320
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/es/actions/base.d.ts +2 -1
- package/es/actions/base.js +1 -1
- package/es/actions/danger-pop-confirm.d.ts +5 -0
- package/es/actions/danger-pop-confirm.js +10 -0
- package/es/actions/dialog.d.ts +1 -1
- package/es/actions/dialog.js +32 -31
- package/es/actions/index.d.ts +5 -0
- package/es/actions/index.js +38 -14
- package/es/actions/pop-confirm.d.ts +9 -0
- package/es/actions/pop-confirm.js +9 -0
- package/es/form/Components/LightFilter/componentMap.d.ts +2 -1
- package/es/form/Components/LightFilter/componentMap.js +2 -1
- package/es/form/Components/LightFilter/index.d.ts +1 -0
- package/es/form/Components/LightFilter/index.js +19 -14
- package/es/form/Components/LightFilter/index.scss +13 -3
- package/es/form/Filter/index.js +2 -2
- package/es/form/Filter/index2.js +157 -50
- package/es/form/Filter/index2.scss +3 -0
- package/es/form/ProForm/index.js +4 -2
- package/es/form/ProForm/useFieldRequest.js +1 -8
- package/es/form/SchemaForm/index.js +4 -2
- package/es/form/typing.d.ts +5 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/nocode/configurators/ProTable.js +1 -0
- package/es/table/components/Filter/index.js +42 -16
- package/es/table/components/ToolBar/FilterColumnIcon.js +1 -1
- package/es/table/index.js +61 -13
- package/es/table/typing.d.ts +5 -0
- package/es/table/utils/columnRender.js +1 -1
- package/lib/actions/base.d.ts +2 -1
- package/lib/actions/base.js +1 -1
- package/lib/actions/danger-pop-confirm.d.ts +5 -0
- package/lib/actions/danger-pop-confirm.js +22 -0
- package/lib/actions/dialog.d.ts +1 -1
- package/lib/actions/dialog.js +33 -31
- package/lib/actions/index.d.ts +5 -0
- package/lib/actions/index.js +40 -14
- package/lib/actions/pop-confirm.d.ts +9 -0
- package/lib/actions/pop-confirm.js +23 -0
- package/lib/form/Components/LightFilter/componentMap.d.ts +2 -1
- package/lib/form/Components/LightFilter/componentMap.js +4 -3
- package/lib/form/Components/LightFilter/index.d.ts +1 -0
- package/lib/form/Components/LightFilter/index.js +18 -13
- package/lib/form/Components/LightFilter/index.scss +13 -3
- package/lib/form/Filter/index.js +2 -2
- package/lib/form/Filter/index2.js +157 -49
- package/lib/form/Filter/index2.scss +3 -0
- package/lib/form/ProForm/index.js +5 -2
- package/lib/form/ProForm/useFieldRequest.js +1 -9
- package/lib/form/SchemaForm/index.js +4 -2
- package/lib/form/typing.d.ts +5 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/nocode/configurators/ProTable.js +1 -0
- package/lib/table/components/Filter/index.js +42 -16
- package/lib/table/components/ToolBar/FilterColumnIcon.js +1 -1
- package/lib/table/index.js +61 -13
- package/lib/table/typing.d.ts +5 -0
- package/lib/table/utils/columnRender.js +1 -1
- package/package.json +2 -2
@@ -160,7 +160,7 @@ var Filter = function Filter(props) {
|
|
160
160
|
return /*#__PURE__*/_react.default.createElement(_components.Dropdown, {
|
161
161
|
trigger: /*#__PURE__*/_react.default.createElement(_icon.default, {
|
162
162
|
size: "small",
|
163
|
-
type:
|
163
|
+
type: selected.length > 0 && visible === false ? 'filter-fill' : 'filter-line',
|
164
164
|
className: cls({
|
165
165
|
icon: true,
|
166
166
|
'icon-selected': selected.length > 0
|
@@ -169,6 +169,8 @@ var Filter = function Filter(props) {
|
|
169
169
|
setVisible(!visible);
|
170
170
|
}
|
171
171
|
}),
|
172
|
+
//@ts-ignore
|
173
|
+
v2: true,
|
172
174
|
triggerType: ['click'],
|
173
175
|
align: "tl bl",
|
174
176
|
visible: visible,
|
@@ -191,7 +193,7 @@ var Filter = function Filter(props) {
|
|
191
193
|
btn: true
|
192
194
|
}),
|
193
195
|
onClick: function onClick() {
|
194
|
-
var _actionRef$current2, _actionRef$current2$f, _actionRef$current$ge5, _actionRef$current3, _actionRef$current3$g, _actionRef$current3$g2, _actionRef$current4, _actionRef$
|
196
|
+
var _actionRef$current2, _actionRef$current2$f, _actionRef$current$ge5, _actionRef$current3, _actionRef$current3$g, _actionRef$current3$g2, _actionRef$current4, _actionRef$current4$s;
|
195
197
|
|
196
198
|
(_actionRef$current2 = actionRef.current) === null || _actionRef$current2 === void 0 ? void 0 : (_actionRef$current2$f = _actionRef$current2.filterDataSource) === null || _actionRef$current2$f === void 0 ? void 0 : _actionRef$current2$f.call(_actionRef$current2, column.dataIndex); // 先获取此列的param
|
197
199
|
|
@@ -219,24 +221,30 @@ var Filter = function Filter(props) {
|
|
219
221
|
return null;
|
220
222
|
})), [[column.dataIndex, param]]).filter(function (item) {
|
221
223
|
return item && (item === null || item === void 0 ? void 0 : item[1]);
|
222
|
-
}));
|
223
|
-
var targetPageKey = 'currentPage';
|
224
|
-
var pageInfo = (_actionRef$current4 = actionRef.current) === null || _actionRef$current4 === void 0 ? void 0 : _actionRef$current4.pageInfo;
|
224
|
+
})); // 再设置所有的列筛选状态
|
225
225
|
|
226
|
-
|
227
|
-
targetPageKey = pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.targetPageKey;
|
228
|
-
} // 再设置所有的列筛选状态
|
229
|
-
|
230
|
-
|
231
|
-
(_actionRef$current5 = actionRef.current) === null || _actionRef$current5 === void 0 ? void 0 : (_actionRef$current5$s = _actionRef$current5.setFilterRules) === null || _actionRef$current5$s === void 0 ? void 0 : _actionRef$current5$s.call(_actionRef$current5, _objectSpread(_objectSpread({}, rules), {}, _defineProperty({}, column.dataIndex, {
|
226
|
+
(_actionRef$current4 = actionRef.current) === null || _actionRef$current4 === void 0 ? void 0 : (_actionRef$current4$s = _actionRef$current4.setFilterRules) === null || _actionRef$current4$s === void 0 ? void 0 : _actionRef$current4$s.call(_actionRef$current4, _objectSpread(_objectSpread({}, rules), {}, _defineProperty({}, column.dataIndex, {
|
232
227
|
rules: selected,
|
233
228
|
params: param
|
234
|
-
})));
|
229
|
+
})));
|
230
|
+
|
231
|
+
if (selected.length > 0) {
|
232
|
+
var _actionRef$current5, _actionRef$current6, _actionRef$current6$r, _actionRef$current7, _actionRef$current7$r, _actionRef$current8, _actionRef$current8$c;
|
233
|
+
|
234
|
+
var targetPageKey = 'currentPage';
|
235
|
+
var pageInfo = (_actionRef$current5 = actionRef.current) === null || _actionRef$current5 === void 0 ? void 0 : _actionRef$current5.pageInfo;
|
236
|
+
|
237
|
+
if (pageInfo && (pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.targetPageKey)) {
|
238
|
+
targetPageKey = pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.targetPageKey;
|
239
|
+
} // 发送请求
|
240
|
+
|
241
|
+
|
242
|
+
(_actionRef$current6 = actionRef.current) === null || _actionRef$current6 === void 0 ? void 0 : (_actionRef$current6$r = _actionRef$current6.request) === null || _actionRef$current6$r === void 0 ? void 0 : _actionRef$current6$r.call(_actionRef$current6, _objectSpread(_objectSpread({}, params), {}, _defineProperty({}, targetPageKey, 1)));
|
243
|
+
(_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : (_actionRef$current7$r = _actionRef$current7.resetPage) === null || _actionRef$current7$r === void 0 ? void 0 : _actionRef$current7$r.call(_actionRef$current7); // 清空表格选择
|
235
244
|
|
236
|
-
|
237
|
-
|
245
|
+
(_actionRef$current8 = actionRef.current) === null || _actionRef$current8 === void 0 ? void 0 : (_actionRef$current8$c = _actionRef$current8.clearRowSelection) === null || _actionRef$current8$c === void 0 ? void 0 : _actionRef$current8$c.call(_actionRef$current8);
|
246
|
+
}
|
238
247
|
|
239
|
-
(_actionRef$current8 = actionRef.current) === null || _actionRef$current8 === void 0 ? void 0 : (_actionRef$current8$c = _actionRef$current8.clearRowSelection) === null || _actionRef$current8$c === void 0 ? void 0 : _actionRef$current8$c.call(_actionRef$current8);
|
240
248
|
setVisible(false);
|
241
249
|
}
|
242
250
|
}, (0, _utils.getMessage)('ok')), /*#__PURE__*/_react.default.createElement(_components.Button, {
|
@@ -254,7 +262,25 @@ var Filter = function Filter(props) {
|
|
254
262
|
rules: [],
|
255
263
|
params: ''
|
256
264
|
})));
|
257
|
-
(_actionRef$current11 = actionRef.current) === null || _actionRef$current11 === void 0 ? void 0 : (_actionRef$current11$ = _actionRef$current11.filterDataSource) === null || _actionRef$current11$ === void 0 ? void 0 : _actionRef$current11$.call(_actionRef$current11, column.dataIndex);
|
265
|
+
(_actionRef$current11 = actionRef.current) === null || _actionRef$current11 === void 0 ? void 0 : (_actionRef$current11$ = _actionRef$current11.filterDataSource) === null || _actionRef$current11$ === void 0 ? void 0 : _actionRef$current11$.call(_actionRef$current11, column.dataIndex);
|
266
|
+
|
267
|
+
if (selected.length > 0) {
|
268
|
+
var _actionRef$current12, _actionRef$current13, _actionRef$current13$, _actionRef$current14, _actionRef$current14$, _actionRef$current15, _actionRef$current15$;
|
269
|
+
|
270
|
+
var targetPageKey = 'currentPage';
|
271
|
+
var pageInfo = (_actionRef$current12 = actionRef.current) === null || _actionRef$current12 === void 0 ? void 0 : _actionRef$current12.pageInfo;
|
272
|
+
|
273
|
+
if (pageInfo && (pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.targetPageKey)) {
|
274
|
+
targetPageKey = pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.targetPageKey;
|
275
|
+
} // 发送请求
|
276
|
+
|
277
|
+
|
278
|
+
(_actionRef$current13 = actionRef.current) === null || _actionRef$current13 === void 0 ? void 0 : (_actionRef$current13$ = _actionRef$current13.request) === null || _actionRef$current13$ === void 0 ? void 0 : _actionRef$current13$.call(_actionRef$current13, _defineProperty({}, targetPageKey, 1));
|
279
|
+
(_actionRef$current14 = actionRef.current) === null || _actionRef$current14 === void 0 ? void 0 : (_actionRef$current14$ = _actionRef$current14.resetPage) === null || _actionRef$current14$ === void 0 ? void 0 : _actionRef$current14$.call(_actionRef$current14); // 清空表格选择
|
280
|
+
|
281
|
+
(_actionRef$current15 = actionRef.current) === null || _actionRef$current15 === void 0 ? void 0 : (_actionRef$current15$ = _actionRef$current15.clearRowSelection) === null || _actionRef$current15$ === void 0 ? void 0 : _actionRef$current15$.call(_actionRef$current15);
|
282
|
+
} // setVisible(!visible);
|
283
|
+
|
258
284
|
}
|
259
285
|
}, (0, _utils.getMessage)('reset'))))));
|
260
286
|
};
|
package/lib/table/index.js
CHANGED
@@ -103,10 +103,34 @@ var toJS = _form.formilyReactive.toJS;
|
|
103
103
|
* @returns
|
104
104
|
*/
|
105
105
|
|
106
|
-
var processColumns = function processColumns(columns) {
|
107
|
-
|
106
|
+
var processColumns = function processColumns(columns, initialColumns) {
|
107
|
+
var filterColumns = columns.filter(function (item) {
|
108
108
|
return item.columnFilters !== false;
|
109
|
-
});
|
109
|
+
}); // 处理只剩一列批量选择的情况下宽度错乱问题
|
110
|
+
|
111
|
+
if ((filterColumns === null || filterColumns === void 0 ? void 0 : filterColumns.length) && (filterColumns === null || filterColumns === void 0 ? void 0 : filterColumns.length) === 1) {
|
112
|
+
var _filterColumns$, _filterColumns$2;
|
113
|
+
|
114
|
+
if ((_filterColumns$ = filterColumns[0]) === null || _filterColumns$ === void 0 ? void 0 : _filterColumns$.width) {
|
115
|
+
delete filterColumns[0].width;
|
116
|
+
}
|
117
|
+
|
118
|
+
if ((_filterColumns$2 = filterColumns[0]) === null || _filterColumns$2 === void 0 ? void 0 : _filterColumns$2.lock) {
|
119
|
+
filterColumns[0].lock = false;
|
120
|
+
}
|
121
|
+
} else {
|
122
|
+
var _initialColumns$, _initialColumns$2;
|
123
|
+
|
124
|
+
if ((_initialColumns$ = initialColumns[0]) === null || _initialColumns$ === void 0 ? void 0 : _initialColumns$.width) {
|
125
|
+
filterColumns[0].width = initialColumns[0].width;
|
126
|
+
}
|
127
|
+
|
128
|
+
if ((_initialColumns$2 = initialColumns[0]) === null || _initialColumns$2 === void 0 ? void 0 : _initialColumns$2.lock) {
|
129
|
+
filterColumns[0].lock = initialColumns[0].lock;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
return filterColumns;
|
110
134
|
};
|
111
135
|
/** 默认请求翻页参数 */
|
112
136
|
|
@@ -207,7 +231,7 @@ var ProTable = function ProTable(props) {
|
|
207
231
|
sort = _useState10[0],
|
208
232
|
setSort = _useState10[1];
|
209
233
|
|
210
|
-
var _useState11 = (0, _react.useState)(requestWhenMount && propsShowSkeleton),
|
234
|
+
var _useState11 = (0, _react.useState)(!propsDataSource && requestWhenMount && propsShowSkeleton),
|
211
235
|
_useState12 = _slicedToArray(_useState11, 2),
|
212
236
|
showSkeleton = _useState12[0],
|
213
237
|
setShowSkeleton = _useState12[1]; // 首次加载,渲染骨架屏
|
@@ -224,7 +248,7 @@ var ProTable = function ProTable(props) {
|
|
224
248
|
var tableRef = (0, _react.useRef)(null);
|
225
249
|
var actionRef = (0, _react.useRef)(); // 传给 table 的过滤后的 columns
|
226
250
|
|
227
|
-
var _useState15 = (0, _react.useState)(processColumns(propsColumns !== null && propsColumns !== void 0 ? propsColumns : [])),
|
251
|
+
var _useState15 = (0, _react.useState)(processColumns(propsColumns !== null && propsColumns !== void 0 ? propsColumns : [], propsColumns)),
|
228
252
|
_useState16 = _slicedToArray(_useState15, 2),
|
229
253
|
filteredColumns = _useState16[0],
|
230
254
|
setFilteredColumns = _useState16[1];
|
@@ -395,10 +419,16 @@ var ProTable = function ProTable(props) {
|
|
395
419
|
(0, _react.useEffect)(function () {
|
396
420
|
var _actionRef$current, _actionRef$current$se;
|
397
421
|
|
398
|
-
var columns = processColumns(propsColumns !== null && propsColumns !== void 0 ? propsColumns : []);
|
422
|
+
var columns = processColumns(propsColumns !== null && propsColumns !== void 0 ? propsColumns : [], propsColumns);
|
399
423
|
setFilteredColumns(columns);
|
400
424
|
(_actionRef$current = actionRef.current) === null || _actionRef$current === void 0 ? void 0 : (_actionRef$current$se = _actionRef$current.setState) === null || _actionRef$current$se === void 0 ? void 0 : _actionRef$current$se.call(_actionRef$current, 'filterColumns', columns);
|
401
|
-
}, [propsColumns]); //
|
425
|
+
}, [propsColumns]); // dataSource 受控
|
426
|
+
|
427
|
+
(0, _react.useEffect)(function () {
|
428
|
+
if (propsDataSource) {
|
429
|
+
setData(propsDataSource);
|
430
|
+
}
|
431
|
+
}, [propsDataSource]); // 绑定 Actions
|
402
432
|
|
403
433
|
(0, _utils2.useActionType)(actionRef, {
|
404
434
|
fullScreen: function fullScreen() {
|
@@ -413,7 +443,7 @@ var ProTable = function ProTable(props) {
|
|
413
443
|
setColumn: function setColumn(newColumns) {
|
414
444
|
var _actionRef$current2, _actionRef$current2$s;
|
415
445
|
|
416
|
-
var columns = processColumns(newColumns);
|
446
|
+
var columns = processColumns(newColumns, propsColumns);
|
417
447
|
setFilteredColumns(columns);
|
418
448
|
(_actionRef$current2 = actionRef.current) === null || _actionRef$current2 === void 0 ? void 0 : (_actionRef$current2$s = _actionRef$current2.setState) === null || _actionRef$current2$s === void 0 ? void 0 : _actionRef$current2$s.call(_actionRef$current2, 'filterColumns', columns);
|
419
449
|
},
|
@@ -425,6 +455,15 @@ var ProTable = function ProTable(props) {
|
|
425
455
|
},
|
426
456
|
request: function request(params) {
|
427
457
|
if (dataFilterForm.validate()) {
|
458
|
+
// 如果请求中还有翻页相关信息,需要自动设置到指定页
|
459
|
+
if (params === null || params === void 0 ? void 0 : params[targetPageKey]) {
|
460
|
+
setCurrentPage(params[targetPageKey]);
|
461
|
+
}
|
462
|
+
|
463
|
+
if (params === null || params === void 0 ? void 0 : params[targetPageSizeKey]) {
|
464
|
+
setPageSize(params[targetPageSizeKey]);
|
465
|
+
}
|
466
|
+
|
428
467
|
_request(params);
|
429
468
|
}
|
430
469
|
},
|
@@ -442,6 +481,7 @@ var ProTable = function ProTable(props) {
|
|
442
481
|
resetPage: function resetPage() {
|
443
482
|
setCurrentPage(1);
|
444
483
|
},
|
484
|
+
rowSelection: rowSelection,
|
445
485
|
clearRowSelection: function clearRowSelection() {
|
446
486
|
rowSelectionHook.setSelectedRowKeys([]);
|
447
487
|
rowSelectionHook.setSelectedRecords([]);
|
@@ -454,6 +494,7 @@ var ProTable = function ProTable(props) {
|
|
454
494
|
targetPageSizeKey: targetPageSizeKey,
|
455
495
|
pageSize: pageSize
|
456
496
|
},
|
497
|
+
data: data,
|
457
498
|
dataFilterForm: dataFilterForm,
|
458
499
|
resetTableMaxBodyHeight: function resetTableMaxBodyHeight() {
|
459
500
|
getHeaderHeight().then(function (height) {
|
@@ -652,10 +693,11 @@ var ProTable = function ProTable(props) {
|
|
652
693
|
(propsDataFilter === null || propsDataFilter === void 0 ? void 0 : propsDataFilter.onFilter) && (propsDataFilter === null || propsDataFilter === void 0 ? void 0 : propsDataFilter.onFilter(_objectSpread({}, toJS(dataFilterForm.values))));
|
653
694
|
|
654
695
|
if (dataFilterForm.validate()) {
|
655
|
-
|
656
|
-
|
657
|
-
//
|
658
|
-
|
696
|
+
var _actionRef$current6, _actionRef$current6$c;
|
697
|
+
|
698
|
+
// 搜索变化时,暂时先清空选择
|
699
|
+
(_actionRef$current6 = actionRef.current) === null || _actionRef$current6 === void 0 ? void 0 : (_actionRef$current6$c = _actionRef$current6.clearRowSelection) === null || _actionRef$current6$c === void 0 ? void 0 : _actionRef$current6$c.call(_actionRef$current6);
|
700
|
+
setCurrentPage(1);
|
659
701
|
|
660
702
|
_request(_defineProperty({}, targetPageKey, 1));
|
661
703
|
}
|
@@ -748,15 +790,21 @@ var ProTable = function ProTable(props) {
|
|
748
790
|
|
749
791
|
var renderFooter = function renderFooter() {
|
750
792
|
function onChangePagination(currentPage) {
|
793
|
+
var _actionRef$current7, _actionRef$current7$c;
|
794
|
+
|
751
795
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
796
|
+
// 翻页暂时先清空选择
|
797
|
+
(_actionRef$current7 = actionRef.current) === null || _actionRef$current7 === void 0 ? void 0 : (_actionRef$current7$c = _actionRef$current7.clearRowSelection) === null || _actionRef$current7$c === void 0 ? void 0 : _actionRef$current7$c.call(_actionRef$current7);
|
752
798
|
setCurrentPage(currentPage);
|
753
799
|
|
754
800
|
_request(_objectSpread(_defineProperty({}, targetPageKey, currentPage), params));
|
755
801
|
}
|
756
802
|
|
757
803
|
function onChangePaginationSize(currentPageSize) {
|
758
|
-
var _request5;
|
804
|
+
var _actionRef$current8, _actionRef$current8$c, _request5;
|
759
805
|
|
806
|
+
// 翻页暂时先清空选择
|
807
|
+
(_actionRef$current8 = actionRef.current) === null || _actionRef$current8 === void 0 ? void 0 : (_actionRef$current8$c = _actionRef$current8.clearRowSelection) === null || _actionRef$current8$c === void 0 ? void 0 : _actionRef$current8$c.call(_actionRef$current8);
|
760
808
|
setPageSize(currentPageSize);
|
761
809
|
setCurrentPage(1);
|
762
810
|
|
package/lib/table/typing.d.ts
CHANGED
@@ -129,6 +129,7 @@ export declare type rowSelectionType = {
|
|
129
129
|
onSelect?: (selected: boolean, record: any, records: Array<any>) => void;
|
130
130
|
onSelectAll?: (selected: boolean, records: Array<any>) => void;
|
131
131
|
selectedRowKeys?: Array<any>;
|
132
|
+
selectedRecords?: any[];
|
132
133
|
mode?: 'single' | 'multiple';
|
133
134
|
titleProps?: () => any;
|
134
135
|
columnProps?: () => any;
|
@@ -154,6 +155,8 @@ export declare type ProTableActionType = {
|
|
154
155
|
request?: (params?: any) => void;
|
155
156
|
/** 重置表格 */
|
156
157
|
reset?: () => void;
|
158
|
+
/** 表格选择相关属性 */
|
159
|
+
rowSelection?: innerRowSelectionType | rowSelectionType;
|
157
160
|
/** 清空表格选择 */
|
158
161
|
clearRowSelection?: () => void;
|
159
162
|
/** 过滤 DataSource */
|
@@ -175,6 +178,8 @@ export declare type ProTableActionType = {
|
|
175
178
|
resetPage?: () => void;
|
176
179
|
/** 获取数据过滤区表单实例 */
|
177
180
|
dataFilterForm?: FormType;
|
181
|
+
/** 表格当前的数据 */
|
182
|
+
data?: any[];
|
178
183
|
} & ProTableActionTypeMutations;
|
179
184
|
/** action State 定义 */
|
180
185
|
export declare type ProTableActionTypeMutations = {
|
@@ -106,7 +106,7 @@ var renderColumnsTitle = function renderColumnsTitle(item, actionRef) {
|
|
106
106
|
};
|
107
107
|
|
108
108
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_utils.LabelIconTip, {
|
109
|
-
label:
|
109
|
+
label: item.title,
|
110
110
|
tooltip: item.tooltip,
|
111
111
|
icon: item.tooltipIcon
|
112
112
|
}), item.filters && /*#__PURE__*/_react.default.createElement(_Filter.default, {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teamix/pro",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.19",
|
4
4
|
"description": "TeamixPro大包",
|
5
5
|
"repository": "http://gitlab.alibaba-inc.com/teamix/pro",
|
6
6
|
"author": "Velociraptor(迅猛龙)",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"@formily/react": "2.0.5",
|
27
27
|
"@teamix/formily": "2.0.5-1",
|
28
28
|
"@teamix/hooks": "^0.1.0",
|
29
|
-
"@teamix/pop-confirm": "^1.2.
|
29
|
+
"@teamix/pop-confirm": "^1.2.4",
|
30
30
|
"@teamix/pro-field": "^1.0.0",
|
31
31
|
"@teamix/pro-page-container": "^1.0.0",
|
32
32
|
"@teamix/pro-skeleton": "^1.0.0",
|