@lemon-fe/components 1.2.9-alpha.1 → 1.2.9

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.
@@ -80,10 +80,13 @@ export default /*#__PURE__*/forwardRef(function RowEditor(props, ref) {
80
80
  return {
81
81
  getValue: function getValue() {
82
82
  var nextValue = prevValue;
83
- if (field === undefined || value === data || isCancelAfterEnd !== undefined && isCancelAfterEnd(_objectSpread(_objectSpread({}, data), value), data)) {
83
+ var newData = _objectSpread(_objectSpread({}, data), value);
84
+ if (field === undefined || value === data || isCancelAfterEnd !== undefined && isCancelAfterEnd(newData, data)) {
84
85
  return prevValue;
85
86
  }
86
- nextValue = get(value, field);
87
+ nextValue = api.getValue(column, _objectSpread(_objectSpread({}, node), {}, {
88
+ data: newData
89
+ }));
87
90
  if (nextValue == prevValue) {
88
91
  return prevValue;
89
92
  }
@@ -35,7 +35,7 @@ var locale = {
35
35
  dataSourceSummaryDataText: 'Total value calculated based on the formula from the data source',
36
36
  addFieldText: 'Add Field'
37
37
  },
38
- maxWordText: '${headName} can not exceed ${maxLength} words',
38
+ maxWordText: '${headerName} can not exceed ${maxLength} words',
39
39
  operationSuccessText: 'Success',
40
40
  displayText: 'Show',
41
41
  searchText: 'Search',
@@ -51,6 +51,6 @@ var locale = {
51
51
  clearSelectedText: 'Clear',
52
52
  moreText: 'More',
53
53
  actionText: 'Action',
54
- index: 'IDX'
54
+ index: 'No.'
55
55
  };
56
56
  export default locale;
@@ -35,7 +35,7 @@ var locale = {
35
35
  validate: {
36
36
  fieldErrorText: '${field}输入错误'
37
37
  },
38
- maxWordText: '${headName}最多${maxLength}个字符',
38
+ maxWordText: '${headerName}最多${maxLength}个字符',
39
39
  operationSuccessText: '操作成功',
40
40
  displayText: '显示',
41
41
  searchText: '按回车进行搜索',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.2.9-alpha.1",
3
+ "version": "1.2.9",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "registry": "https://registry.npmjs.org"
69
69
  },
70
- "gitHead": "ae4063a85960a12bbbc469fa46eaba09184d7638"
70
+ "gitHead": "0fa7b3cadda71468fdc8179c8ee1c92822fd0c7d"
71
71
  }