@seafile/sdoc-editor 2.0.18-alph-0.0.2 → 2.0.18-alph-0.0.4

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.
@@ -24,6 +24,7 @@ const getRowName = (columns, row, formula_rows) => {
24
24
  const tables = window.app.state.value.tables;
25
25
  const departments = window.app.state;
26
26
  const collaborators = window.app.state.collaboratorsWithAppUsers;
27
+ console.log(1, formulaRows, data, tables, collaborators, departments);
27
28
  return (0, _dtableUtils.getCellValueDisplayString)(row, type, key, {
28
29
  formulaRows,
29
30
  data,
@@ -23,6 +23,7 @@ const AddSeatableRowDialog = _ref => {
23
23
  const {
24
24
  table
25
25
  } = data;
26
+ console.log(1, table);
26
27
  const [rowRecordsErrorMessage, setRowRecordsErrorMessage] = (0, _react.useState)('');
27
28
  const {
28
29
  t
@@ -187,7 +187,7 @@ class RowCardItem extends _react.PureComponent {
187
187
  // this.unsubscribeChangeHeaderWidth = eventBus.subscribe(EventTypes.CHANGE_HEADER_WIDTH, this.setDraggedCell);
188
188
  }
189
189
  componentWillUnmount() {
190
- this.unsubscribeChangeHeaderWidth();
190
+ // this.unsubscribeChangeHeaderWidth();
191
191
  }
192
192
  UNSAFE_componentWillUpdate(nextProps) {
193
193
  const {
@@ -27,6 +27,7 @@ const SeatableTableRecord = _ref => {
27
27
  width: 100
28
28
  }));
29
29
  };
30
+ console.log(33, renderedColumns());
30
31
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_recordContent.default, {
31
32
  table: table,
32
33
  renderedColumns: renderedColumns(),
@@ -38,8 +38,7 @@ const SeaTableList = _ref => {
38
38
  eventBus.dispatch(_constants.INTERNAL_EVENT.INSERT_ELEMENT, {
39
39
  type: _constants2.ELEMENT_TYPE.SEATABLE_ROW,
40
40
  data: {
41
- tableID: item._id,
42
- tableName: item.name
41
+ table: item
43
42
  }
44
43
  });
45
44
  toggle && toggle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.18-alph-0.0.2",
3
+ "version": "2.0.18-alph-0.0.4",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",