@fileverse-dev/fortune-core 1.2.20 → 1.2.22-patch-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.
- package/es/locale/en.js +2 -2
- package/es/settings.d.ts +3 -1
- package/lib/locale/en.js +2 -2
- package/lib/settings.d.ts +3 -1
- package/package.json +2 -2
package/es/locale/en.js
CHANGED
|
@@ -9808,7 +9808,7 @@ export default {
|
|
|
9808
9808
|
cellRange: "Cell range",
|
|
9809
9809
|
selectCellRange: "Select a data range",
|
|
9810
9810
|
selectCellRange2: "Please select a range of cells",
|
|
9811
|
-
verificationCondition: "
|
|
9811
|
+
verificationCondition: "Validation condition",
|
|
9812
9812
|
allowMultiSelect: "Allow multiple selection",
|
|
9813
9813
|
dropdown: "Dropdown list",
|
|
9814
9814
|
checkbox: "Checkbox",
|
|
@@ -9845,7 +9845,7 @@ export default {
|
|
|
9845
9845
|
remote: "Automatic remote acquisition option",
|
|
9846
9846
|
prohibitInput: "Prohibit input when input data is invalid",
|
|
9847
9847
|
hintShow: "Show prompt when the cell is selected",
|
|
9848
|
-
deleteVerification: "Delete
|
|
9848
|
+
deleteVerification: "Delete validation",
|
|
9849
9849
|
tooltipInfo1: "The drop-down list option cannot be empty",
|
|
9850
9850
|
tooltipInfo2: "Checkbox content cannot be empty",
|
|
9851
9851
|
tooltipInfo3: "The value entered is not a numeric type",
|
package/es/settings.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export type Hooks = {
|
|
|
57
57
|
beforeUpdateSheetName?: (id: string, oldName: string, newName: string) => boolean;
|
|
58
58
|
afterUpdateSheetName?: (id: string, oldName: string, newName: string) => void;
|
|
59
59
|
};
|
|
60
|
+
type CommentUIDragFn = (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
60
61
|
export type Settings = {
|
|
61
62
|
column?: number;
|
|
62
63
|
row?: number;
|
|
@@ -80,7 +81,7 @@ export type Settings = {
|
|
|
80
81
|
headerContextMenu?: string[];
|
|
81
82
|
sheetTabContextMenu?: string[];
|
|
82
83
|
filterContextMenu?: string[];
|
|
83
|
-
getCommentCellUI?: ((row: number, column: number) => React.ReactNode) | null;
|
|
84
|
+
getCommentCellUI?: ((row: number, column: number, dragHandler: CommentUIDragFn) => React.ReactNode) | null;
|
|
84
85
|
generateSheetId?: () => string;
|
|
85
86
|
hooks?: Hooks;
|
|
86
87
|
customToolbarItems?: {
|
|
@@ -98,3 +99,4 @@ export type Settings = {
|
|
|
98
99
|
isFlvReadOnly?: boolean;
|
|
99
100
|
};
|
|
100
101
|
export declare const defaultSettings: Required<Settings>;
|
|
102
|
+
export {};
|
package/lib/locale/en.js
CHANGED
|
@@ -9814,7 +9814,7 @@ var _default = exports.default = {
|
|
|
9814
9814
|
cellRange: "Cell range",
|
|
9815
9815
|
selectCellRange: "Select a data range",
|
|
9816
9816
|
selectCellRange2: "Please select a range of cells",
|
|
9817
|
-
verificationCondition: "
|
|
9817
|
+
verificationCondition: "Validation condition",
|
|
9818
9818
|
allowMultiSelect: "Allow multiple selection",
|
|
9819
9819
|
dropdown: "Dropdown list",
|
|
9820
9820
|
checkbox: "Checkbox",
|
|
@@ -9851,7 +9851,7 @@ var _default = exports.default = {
|
|
|
9851
9851
|
remote: "Automatic remote acquisition option",
|
|
9852
9852
|
prohibitInput: "Prohibit input when input data is invalid",
|
|
9853
9853
|
hintShow: "Show prompt when the cell is selected",
|
|
9854
|
-
deleteVerification: "Delete
|
|
9854
|
+
deleteVerification: "Delete validation",
|
|
9855
9855
|
tooltipInfo1: "The drop-down list option cannot be empty",
|
|
9856
9856
|
tooltipInfo2: "Checkbox content cannot be empty",
|
|
9857
9857
|
tooltipInfo3: "The value entered is not a numeric type",
|
package/lib/settings.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export type Hooks = {
|
|
|
57
57
|
beforeUpdateSheetName?: (id: string, oldName: string, newName: string) => boolean;
|
|
58
58
|
afterUpdateSheetName?: (id: string, oldName: string, newName: string) => void;
|
|
59
59
|
};
|
|
60
|
+
type CommentUIDragFn = (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
60
61
|
export type Settings = {
|
|
61
62
|
column?: number;
|
|
62
63
|
row?: number;
|
|
@@ -80,7 +81,7 @@ export type Settings = {
|
|
|
80
81
|
headerContextMenu?: string[];
|
|
81
82
|
sheetTabContextMenu?: string[];
|
|
82
83
|
filterContextMenu?: string[];
|
|
83
|
-
getCommentCellUI?: ((row: number, column: number) => React.ReactNode) | null;
|
|
84
|
+
getCommentCellUI?: ((row: number, column: number, dragHandler: CommentUIDragFn) => React.ReactNode) | null;
|
|
84
85
|
generateSheetId?: () => string;
|
|
85
86
|
hooks?: Hooks;
|
|
86
87
|
customToolbarItems?: {
|
|
@@ -98,3 +99,4 @@ export type Settings = {
|
|
|
98
99
|
isFlvReadOnly?: boolean;
|
|
99
100
|
};
|
|
100
101
|
export declare const defaultSettings: Required<Settings>;
|
|
102
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.22-patch-1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dev": "father-build --watch"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fileverse-dev/formula-parser": "0.2.
|
|
18
|
+
"@fileverse-dev/formula-parser": "0.2.80",
|
|
19
19
|
"dayjs": "^1.11.0",
|
|
20
20
|
"immer": "^9.0.12",
|
|
21
21
|
"lodash": "^4.17.21",
|