dtable-ui-component 0.1.45 → 0.1.46

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.
@@ -11,7 +11,7 @@ import DefaultAvatar from '../../assets/images/avatar/default_avatar.png';
11
11
  // 1 value is not exist, typeof value is array, but it's length is 0
12
12
  // 2 value is exist, but can't find in collaborators
13
13
  // 3 value is exist, typeof value is a string
14
- // 4 vlaue is exist, typeof value is array
14
+ // 4 value is exist, typeof value is array
15
15
  var CreatorFormatter = /*#__PURE__*/function (_React$PureComponent) {
16
16
  _inherits(CreatorFormatter, _React$PureComponent);
17
17
 
@@ -69,6 +69,19 @@ var FormulaFormatter = /*#__PURE__*/function (_React$Component) {
69
69
  {
70
70
  formatterProps.column = column;
71
71
  Formatter = FormulaFormatter;
72
+ break;
73
+ }
74
+
75
+ case CellTypes.CREATOR:
76
+ case CellTypes.LAST_MODIFIER:
77
+ {
78
+ formatterProps.collaborators = collaborators;
79
+ break;
80
+ }
81
+
82
+ default:
83
+ {
84
+ break;
72
85
  }
73
86
  }
74
87
 
@@ -34,7 +34,7 @@ var propTypes = {
34
34
  // 1 value is not exist, typeof value is array, but it's length is 0
35
35
  // 2 value is exist, but can't find in collaborators
36
36
  // 3 value is exist, typeof value is a string
37
- // 4 vlaue is exist, typeof value is array
37
+ // 4 value is exist, typeof value is array
38
38
 
39
39
  var CreatorFormatter = /*#__PURE__*/function (_React$PureComponent) {
40
40
  (0, _inheritsLoose2.default)(CreatorFormatter, _React$PureComponent);
@@ -98,6 +98,19 @@ var FormulaFormatter = /*#__PURE__*/function (_React$Component) {
98
98
  {
99
99
  formatterProps.column = column;
100
100
  Formatter = FormulaFormatter;
101
+ break;
102
+ }
103
+
104
+ case CellTypes.CREATOR:
105
+ case CellTypes.LAST_MODIFIER:
106
+ {
107
+ formatterProps.collaborators = collaborators;
108
+ break;
109
+ }
110
+
111
+ default:
112
+ {
113
+ break;
101
114
  }
102
115
  }
103
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "main": "./es/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/seafile-calendar": "0.0.15",