@fileverse-dev/fortune-core 1.2.90-bold-1 → 1.2.90-bold-3

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.
@@ -234,7 +234,6 @@ function handleControlPlusArrowKey(ctx, e, shiftPressed) {
234
234
  }
235
235
  export function handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo) {
236
236
  var _a, _b, _c, _d;
237
- console.log("handleWithCtrlOrMetaKey", e);
238
237
  var flowdata = getFlowdata(ctx);
239
238
  if (!flowdata) return;
240
239
  if (e.shiftKey) {
@@ -383,7 +382,6 @@ export function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUnd
383
382
  return __awaiter(this, void 0, void 0, function () {
384
383
  var kcode, kstr, allowEdit, isFxInput, ignoredKeys, restCod, last, row_index, col_index, last, row_index, col_index;
385
384
  return __generator(this, function (_d) {
386
- console.log("handleGlobalKeyDown inside", e);
387
385
  if (e.shiftKey && e.code === "Space") {
388
386
  e.stopImmediatePropagation();
389
387
  e.stopPropagation();
@@ -459,7 +457,6 @@ export function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUnd
459
457
  moveHighlightCell(ctx, "down", 0, "rangeOfSelect");
460
458
  e.preventDefault();
461
459
  } else {
462
- console.log("kstr", kstr);
463
460
  if (e.ctrlKey || e.metaKey) {
464
461
  handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo);
465
462
  return [2];
@@ -469,7 +466,6 @@ export function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUnd
469
466
  } else if (kstr === "Escape") {
470
467
  ctx.contextMenu = {};
471
468
  } else if (kstr === "Delete" || kstr === "Backspace") {
472
- console.log("Delete");
473
469
  if (!allowEdit) return [2];
474
470
  if (ctx.activeImg != null) {
475
471
  removeActiveImage(ctx);
@@ -244,7 +244,6 @@ function handleControlPlusArrowKey(ctx, e, shiftPressed) {
244
244
  }
245
245
  function handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo) {
246
246
  var _a, _b, _c, _d;
247
- console.log("handleWithCtrlOrMetaKey", e);
248
247
  var flowdata = (0, _context.getFlowdata)(ctx);
249
248
  if (!flowdata) return;
250
249
  if (e.shiftKey) {
@@ -393,7 +392,6 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
393
392
  return __awaiter(this, void 0, void 0, function () {
394
393
  var kcode, kstr, allowEdit, isFxInput, ignoredKeys, restCod, last, row_index, col_index, last, row_index, col_index;
395
394
  return __generator(this, function (_d) {
396
- console.log("handleGlobalKeyDown inside", e);
397
395
  if (e.shiftKey && e.code === "Space") {
398
396
  e.stopImmediatePropagation();
399
397
  e.stopPropagation();
@@ -469,7 +467,6 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
469
467
  (0, _selection.moveHighlightCell)(ctx, "down", 0, "rangeOfSelect");
470
468
  e.preventDefault();
471
469
  } else {
472
- console.log("kstr", kstr);
473
470
  if (e.ctrlKey || e.metaKey) {
474
471
  handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo);
475
472
  return [2];
@@ -479,7 +476,6 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
479
476
  } else if (kstr === "Escape") {
480
477
  ctx.contextMenu = {};
481
478
  } else if (kstr === "Delete" || kstr === "Backspace") {
482
- console.log("Delete");
483
479
  if (!allowEdit) return [2];
484
480
  if (ctx.activeImg != null) {
485
481
  (0, _2.removeActiveImage)(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.90-bold-1",
3
+ "version": "1.2.90-bold-3",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",