@fileverse-dev/fortune-core 1.0.2-mod-8 → 1.0.2-mod-9
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/dist/locale/en.d.ts +43 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _, { isPlainObject } from 'lodash';
|
|
2
|
-
import { FUNCTION_LOCALE } from '@fileverse-dev/formulajs/crypto-constants';
|
|
3
2
|
import numeral from 'numeral';
|
|
4
3
|
import dayjs from 'dayjs';
|
|
5
4
|
import { Parser, ERROR_REF } from '@fileverse-dev/formula-parser';
|
|
@@ -140,7 +139,7 @@ var en = {
|
|
|
140
139
|
noSeletionError: "The selection operation has not been performed yet",
|
|
141
140
|
cannotSelectMultiple: "Cannot select multiple selections"
|
|
142
141
|
},
|
|
143
|
-
functionlist: [
|
|
142
|
+
functionlist: [{
|
|
144
143
|
n: "SUMIF",
|
|
145
144
|
t: 0,
|
|
146
145
|
d: "Returns a conditional sum across a range.",
|
|
@@ -8980,7 +8979,7 @@ var en = {
|
|
|
8980
8979
|
repeat: "n",
|
|
8981
8980
|
type: "string"
|
|
8982
8981
|
}]
|
|
8983
|
-
}]
|
|
8982
|
+
}],
|
|
8984
8983
|
toolbar: {
|
|
8985
8984
|
toolbar: "Toolbar",
|
|
8986
8985
|
undo: "Undo",
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _ = require('lodash');
|
|
6
|
-
var cryptoConstants = require('@fileverse-dev/formulajs/crypto-constants');
|
|
7
6
|
var numeral = require('numeral');
|
|
8
7
|
var dayjs = require('dayjs');
|
|
9
8
|
var formulaParser = require('@fileverse-dev/formula-parser');
|
|
@@ -150,7 +149,7 @@ var en = {
|
|
|
150
149
|
noSeletionError: "The selection operation has not been performed yet",
|
|
151
150
|
cannotSelectMultiple: "Cannot select multiple selections"
|
|
152
151
|
},
|
|
153
|
-
functionlist: [
|
|
152
|
+
functionlist: [{
|
|
154
153
|
n: "SUMIF",
|
|
155
154
|
t: 0,
|
|
156
155
|
d: "Returns a conditional sum across a range.",
|
|
@@ -8990,7 +8989,7 @@ var en = {
|
|
|
8990
8989
|
repeat: "n",
|
|
8991
8990
|
type: "string"
|
|
8992
8991
|
}]
|
|
8993
|
-
}]
|
|
8992
|
+
}],
|
|
8994
8993
|
toolbar: {
|
|
8995
8994
|
toolbar: "Toolbar",
|
|
8996
8995
|
undo: "Undo",
|
package/dist/locale/en.d.ts
CHANGED
|
@@ -6,7 +6,49 @@ declare const _default: {
|
|
|
6
6
|
noSeletionError: string;
|
|
7
7
|
cannotSelectMultiple: string;
|
|
8
8
|
};
|
|
9
|
-
functionlist:
|
|
9
|
+
functionlist: ({
|
|
10
|
+
n: string;
|
|
11
|
+
t: number;
|
|
12
|
+
d: string;
|
|
13
|
+
a: string;
|
|
14
|
+
m: number[];
|
|
15
|
+
p: {
|
|
16
|
+
name: string;
|
|
17
|
+
detail: string;
|
|
18
|
+
example: string;
|
|
19
|
+
require: string;
|
|
20
|
+
repeat: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}[];
|
|
23
|
+
} | {
|
|
24
|
+
n: string;
|
|
25
|
+
t: number;
|
|
26
|
+
d: string;
|
|
27
|
+
a: string;
|
|
28
|
+
p: {
|
|
29
|
+
name: string;
|
|
30
|
+
detail: string;
|
|
31
|
+
example: string;
|
|
32
|
+
require: string;
|
|
33
|
+
repeat: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}[];
|
|
36
|
+
m?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
n: string;
|
|
39
|
+
t: string;
|
|
40
|
+
d: string;
|
|
41
|
+
a: string;
|
|
42
|
+
m: number[];
|
|
43
|
+
p: {
|
|
44
|
+
name: string;
|
|
45
|
+
example: string;
|
|
46
|
+
detail: string;
|
|
47
|
+
require: string;
|
|
48
|
+
repeat: string;
|
|
49
|
+
type: string;
|
|
50
|
+
}[];
|
|
51
|
+
})[];
|
|
10
52
|
toolbar: {
|
|
11
53
|
toolbar: string;
|
|
12
54
|
undo: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.0.2-mod-
|
|
3
|
+
"version": "1.0.2-mod-9",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"repository": "https://github.com/ruilisi/fortune-sheet",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@fileverse-dev/formula-parser": "^0.2.13-mod-
|
|
13
|
+
"@fileverse-dev/formula-parser": "^0.2.13-mod-3",
|
|
14
14
|
"dayjs": "^1.11.0",
|
|
15
15
|
"immer": "^9.0.12",
|
|
16
16
|
"lodash": "^4.17.21",
|