@lemon-fe/components 1.4.22-alpha.4 → 1.4.22-alpha.6
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/es/data-grid/components/custom-panel/field-modal.js +3 -1
- package/es/data-grid/index.js +1 -0
- package/es/data-grid/index.less +6 -0
- package/es/data-grid/locale/en_US.js +1 -0
- package/es/data-grid/locale/locale.d.ts +1 -0
- package/es/data-grid/locale/vi.js +1 -0
- package/es/data-grid/locale/zh_CN.js +1 -0
- package/es/data-grid/locale/zh_Hant_HK.js +1 -0
- package/es/data-grid/typings.d.ts +4 -0
- package/package.json +2 -2
|
@@ -282,5 +282,7 @@ export default function FieldModal(props) {
|
|
|
282
282
|
handleAddExp(item);
|
|
283
283
|
}
|
|
284
284
|
}, /*#__PURE__*/React.createElement(Icons.Plus, null)));
|
|
285
|
-
}))))
|
|
285
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
286
|
+
className: prefix('column-panel-modal-bottomtooltip')
|
|
287
|
+
}, fieldModal.bottomTooltip));
|
|
286
288
|
}
|
package/es/data-grid/index.js
CHANGED
|
@@ -1347,6 +1347,7 @@ var InternalDataGrid = /*#__PURE__*/function (_Component) {
|
|
|
1347
1347
|
colId: '$$selection',
|
|
1348
1348
|
checkboxSelection: checkboxSelection,
|
|
1349
1349
|
showDisabledCheckboxes: true,
|
|
1350
|
+
headerCheckboxSelectionFilteredOnly: rowSelection.headerCheckboxSelectionFilteredOnly,
|
|
1350
1351
|
headerCheckboxSelection: rowSelection.type !== 'radio',
|
|
1351
1352
|
spanHeaderHeight: true,
|
|
1352
1353
|
sortable: false,
|
package/es/data-grid/index.less
CHANGED
|
@@ -40,6 +40,7 @@ var locale = {
|
|
|
40
40
|
dataSourceSummaryDataText: 'Total value calculated based on the formula from the data source',
|
|
41
41
|
addFieldText: 'Add Field',
|
|
42
42
|
idTooltip: 'Custom column name is not allowed to be the same as the existing field, if the history has been set with the same name field, it does not support export',
|
|
43
|
+
bottomTooltip: 'Note: Formulas only support calculation on numerical columns',
|
|
43
44
|
customColumnNameTextRequired: 'Please enter the custom column name'
|
|
44
45
|
},
|
|
45
46
|
maxWordText: '${headerName} can not exceed ${maxLength} words',
|
|
@@ -37,6 +37,7 @@ var locale = {
|
|
|
37
37
|
dataSourceSummaryDataText: 'Nguồn dữ liệu tính toán giá trị tổng cộng theo công thức tính toán',
|
|
38
38
|
addFieldText: 'Thêm trường',
|
|
39
39
|
idTooltip: 'Tên cột tùy chỉnh không được trùng với tên cột đã có, nếu cột đã có tên trùng đã được thiết lập thì không hỗ trợ xuất',
|
|
40
|
+
bottomTooltip: 'Lưu ý: Công thức chỉ hỗ trợ tính toán cho cột số liệu',
|
|
40
41
|
customColumnNameTextRequired: 'Vui lòng nhập tên cột tùy chỉnh'
|
|
41
42
|
},
|
|
42
43
|
validate: {
|
|
@@ -83,6 +83,10 @@ export declare type RowSelectionType<T = any> = {
|
|
|
83
83
|
* @description 是否隐藏底部已选项
|
|
84
84
|
*/
|
|
85
85
|
hideFooterSelected?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @description 是否按页面显示的数据进行全选
|
|
88
|
+
*/
|
|
89
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
86
90
|
};
|
|
87
91
|
export declare type PaginationType = {
|
|
88
92
|
current?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.4.22-alpha.
|
|
3
|
+
"version": "1.4.22-alpha.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "ad4b695dc951fad270b25cdae774028a9edf35eb"
|
|
62
62
|
}
|