@seafile/sdoc-editor 2.0.18-alph-0.1.0 → 2.0.18-alph-0.1.1

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.
@@ -23,7 +23,6 @@ class LinkContent extends _react.Component {
23
23
  const {
24
24
  type
25
25
  } = linkedColumn;
26
- // let Formatter = cellFormatterFactory.createFormatter(type);
27
26
  let formatterProps = {
28
27
  column: linkedColumn,
29
28
  isCellSelected: false,
@@ -58,7 +58,6 @@ class RowCardHeaderCell extends _react.default.Component {
58
58
  } = table;
59
59
  const draggedCellId = `${tableId}-${columnKey}`;
60
60
  let width = this.getWidthFromMouseEvent(e);
61
- // width = 100;
62
61
  this.setState({
63
62
  resizing: false
64
63
  });
@@ -67,7 +67,6 @@ class RowCardItem extends _react.PureComponent {
67
67
  } = column;
68
68
  const draggedCellId = `${tableId}-${key}`;
69
69
  const existedWidth = JSON.parse(localStorage.getItem(draggedCellId));
70
- console.log(2, existedWidth, width, column);
71
70
  let columnWidth = existedWidth && rowCardType === 'link' ? existedWidth : width;
72
71
  if (draggedCell.id === draggedCellId) {
73
72
  columnWidth = draggedCell.width;
@@ -142,8 +141,6 @@ class RowCardItem extends _react.PureComponent {
142
141
  onRef
143
142
  } = this.props;
144
143
  onRef && onRef(this, rowIdx);
145
- // const { eventBus } = window.app;
146
- console.log(2, _basicSdk.EventBus);
147
144
  const eventBus = _basicSdk.EventBus.getInstance();
148
145
  this.unsubscribeChangeHeaderWidth = eventBus.subscribe(_constants.EXTERNAL_EVENT.CHANGE_HEADER_WIDTH, this.setDraggedCell);
149
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.18-alph-0.1.0",
3
+ "version": "2.0.18-alph-0.1.1",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",