@fileverse-dev/fortune-core 1.0.3 → 1.0.5
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/dist/index.esm.js +2 -3
- package/dist/index.js +2 -3
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -62722,7 +62722,6 @@ function deleteSelectedCellText(ctx) {
|
|
|
62722
62722
|
return "success";
|
|
62723
62723
|
}
|
|
62724
62724
|
function selectIsOverlap(ctx, range) {
|
|
62725
|
-
console.log("selectIsOverlap", ctx, range);
|
|
62726
62725
|
return false;
|
|
62727
62726
|
}
|
|
62728
62727
|
function selectAll(ctx) {
|
|
@@ -68847,7 +68846,6 @@ function handleBorder(ctx, type, borderColor, borderStyle) {
|
|
|
68847
68846
|
function handleMerge(ctx, type) {
|
|
68848
68847
|
var allowEdit = isAllowEdit(ctx);
|
|
68849
68848
|
if (!allowEdit) return;
|
|
68850
|
-
if (selectIsOverlap(ctx)) ;
|
|
68851
68849
|
if (ctx.config.merge != null) {
|
|
68852
68850
|
var has_PartMC = false;
|
|
68853
68851
|
if (!ctx.luckysheet_select_save) return;
|
|
@@ -76114,6 +76112,7 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
76114
76112
|
}
|
|
76115
76113
|
var sheet = getSheet(ctx, options);
|
|
76116
76114
|
var data = sheet.data;
|
|
76115
|
+
if (!data) return;
|
|
76117
76116
|
var formatList = {
|
|
76118
76117
|
bg: 1,
|
|
76119
76118
|
ff: 1,
|
|
@@ -76777,7 +76776,7 @@ function handleCopy(ctx) {
|
|
|
76777
76776
|
isSameCol = false;
|
|
76778
76777
|
}
|
|
76779
76778
|
}
|
|
76780
|
-
if (!isSameRow && !isSameCol || selectIsOverlap(
|
|
76779
|
+
if (!isSameRow && !isSameCol || selectIsOverlap()) {
|
|
76781
76780
|
return;
|
|
76782
76781
|
}
|
|
76783
76782
|
}
|
package/dist/index.js
CHANGED
|
@@ -62732,7 +62732,6 @@ function deleteSelectedCellText(ctx) {
|
|
|
62732
62732
|
return "success";
|
|
62733
62733
|
}
|
|
62734
62734
|
function selectIsOverlap(ctx, range) {
|
|
62735
|
-
console.log("selectIsOverlap", ctx, range);
|
|
62736
62735
|
return false;
|
|
62737
62736
|
}
|
|
62738
62737
|
function selectAll(ctx) {
|
|
@@ -68857,7 +68856,6 @@ function handleBorder(ctx, type, borderColor, borderStyle) {
|
|
|
68857
68856
|
function handleMerge(ctx, type) {
|
|
68858
68857
|
var allowEdit = isAllowEdit(ctx);
|
|
68859
68858
|
if (!allowEdit) return;
|
|
68860
|
-
if (selectIsOverlap(ctx)) ;
|
|
68861
68859
|
if (ctx.config.merge != null) {
|
|
68862
68860
|
var has_PartMC = false;
|
|
68863
68861
|
if (!ctx.luckysheet_select_save) return;
|
|
@@ -76124,6 +76122,7 @@ function setCellValue$1(ctx, row, column, value, cellInput) {
|
|
|
76124
76122
|
}
|
|
76125
76123
|
var sheet = getSheet(ctx, options);
|
|
76126
76124
|
var data = sheet.data;
|
|
76125
|
+
if (!data) return;
|
|
76127
76126
|
var formatList = {
|
|
76128
76127
|
bg: 1,
|
|
76129
76128
|
ff: 1,
|
|
@@ -76787,7 +76786,7 @@ function handleCopy(ctx) {
|
|
|
76787
76786
|
isSameCol = false;
|
|
76788
76787
|
}
|
|
76789
76788
|
}
|
|
76790
|
-
if (!isSameRow && !isSameCol || selectIsOverlap(
|
|
76789
|
+
if (!isSameRow && !isSameCol || selectIsOverlap()) {
|
|
76791
76790
|
return;
|
|
76792
76791
|
}
|
|
76793
76792
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dev": "father-build --watch"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@fileverse-dev/formula-parser": "0.2.
|
|
17
|
+
"@fileverse-dev/formula-parser": "0.2.15",
|
|
18
18
|
"dayjs": "^1.11.0",
|
|
19
19
|
"immer": "^9.0.12",
|
|
20
20
|
"lodash": "^4.17.21",
|