@fileverse-dev/fortune-core 1.2.95-ydoc-1 → 1.2.95-ydoc-2

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/api/cell.js CHANGED
@@ -112,7 +112,9 @@ export function setCellValue(ctx, row, column, value, cellInput, options, callAf
112
112
  setCellValueInternal(ctx, row, column, data, curv);
113
113
  }
114
114
  _.forEach(value, function (v, attr) {
115
- if (attr in formatList) {
115
+ console.log("attr haha why here", attr);
116
+ if (attr in formatList && callAfterUpdate) {
117
+ console.log("attr calling updateFormatCell", attr, callAfterUpdate);
116
118
  updateFormatCell(ctx, data, attr, v, row, row, column, column);
117
119
  } else {
118
120
  cell_1[attr] = v;
package/lib/api/cell.js CHANGED
@@ -123,7 +123,9 @@ function setCellValue(ctx, row, column, value, cellInput, options, callAfterUpda
123
123
  (0, _modules.setCellValue)(ctx, row, column, data, curv);
124
124
  }
125
125
  _lodash.default.forEach(value, function (v, attr) {
126
- if (attr in formatList) {
126
+ console.log("attr haha why here", attr);
127
+ if (attr in formatList && callAfterUpdate) {
128
+ console.log("attr calling updateFormatCell", attr, callAfterUpdate);
127
129
  (0, _modules.updateFormatCell)(ctx, data, attr, v, row, row, column, column);
128
130
  } else {
129
131
  cell_1[attr] = v;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.95-ydoc-1",
3
+ "version": "1.2.95-ydoc-2",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",