@fileverse-dev/fortune-core 1.0.2-mod-9 → 1.0.2-mod-11
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 +3 -2
- package/dist/index.js +3 -2
- package/dist/locale/en.d.ts +1 -43
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _, { isPlainObject } from 'lodash';
|
|
2
|
+
import { FUNCTION_LOCALE } from '@fileverse-dev/formulajs/crypto-constants';
|
|
2
3
|
import numeral from 'numeral';
|
|
3
4
|
import dayjs from 'dayjs';
|
|
4
5
|
import { Parser, ERROR_REF } from '@fileverse-dev/formula-parser';
|
|
@@ -139,7 +140,7 @@ var en = {
|
|
|
139
140
|
noSeletionError: "The selection operation has not been performed yet",
|
|
140
141
|
cannotSelectMultiple: "Cannot select multiple selections"
|
|
141
142
|
},
|
|
142
|
-
functionlist: [{
|
|
143
|
+
functionlist: [].concat(_toConsumableArray(FUNCTION_LOCALE), [{
|
|
143
144
|
n: "SUMIF",
|
|
144
145
|
t: 0,
|
|
145
146
|
d: "Returns a conditional sum across a range.",
|
|
@@ -8979,7 +8980,7 @@ var en = {
|
|
|
8979
8980
|
repeat: "n",
|
|
8980
8981
|
type: "string"
|
|
8981
8982
|
}]
|
|
8982
|
-
}],
|
|
8983
|
+
}]),
|
|
8983
8984
|
toolbar: {
|
|
8984
8985
|
toolbar: "Toolbar",
|
|
8985
8986
|
undo: "Undo",
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _ = require('lodash');
|
|
6
|
+
var cryptoConstants = require('@fileverse-dev/formulajs/crypto-constants');
|
|
6
7
|
var numeral = require('numeral');
|
|
7
8
|
var dayjs = require('dayjs');
|
|
8
9
|
var formulaParser = require('@fileverse-dev/formula-parser');
|
|
@@ -149,7 +150,7 @@ var en = {
|
|
|
149
150
|
noSeletionError: "The selection operation has not been performed yet",
|
|
150
151
|
cannotSelectMultiple: "Cannot select multiple selections"
|
|
151
152
|
},
|
|
152
|
-
functionlist: [{
|
|
153
|
+
functionlist: [].concat(_toConsumableArray(cryptoConstants.FUNCTION_LOCALE), [{
|
|
153
154
|
n: "SUMIF",
|
|
154
155
|
t: 0,
|
|
155
156
|
d: "Returns a conditional sum across a range.",
|
|
@@ -8989,7 +8990,7 @@ var en = {
|
|
|
8989
8990
|
repeat: "n",
|
|
8990
8991
|
type: "string"
|
|
8991
8992
|
}]
|
|
8992
|
-
}],
|
|
8993
|
+
}]),
|
|
8993
8994
|
toolbar: {
|
|
8994
8995
|
toolbar: "Toolbar",
|
|
8995
8996
|
undo: "Undo",
|
package/dist/locale/en.d.ts
CHANGED
|
@@ -6,49 +6,7 @@ declare const _default: {
|
|
|
6
6
|
noSeletionError: string;
|
|
7
7
|
cannotSelectMultiple: string;
|
|
8
8
|
};
|
|
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
|
-
})[];
|
|
9
|
+
functionlist: any[];
|
|
52
10
|
toolbar: {
|
|
53
11
|
toolbar: string;
|
|
54
12
|
undo: string;
|