@univerjs/sheets-formula 0.1.0-alpha.2 → 0.1.0-alpha.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.
Files changed (56) hide show
  1. package/README.md +1 -1
  2. package/lib/cjs/index.js +6 -4
  3. package/lib/es/index.js +16188 -1827
  4. package/lib/index.css +1 -1
  5. package/lib/types/common/selection.d.ts +1 -1
  6. package/lib/types/controllers/formula-clipboard.controller.d.ts +1 -1
  7. package/lib/types/controllers/formula-editor-show.controller.d.ts +4 -1
  8. package/lib/types/controllers/formula-input.controller.d.ts +3 -1
  9. package/lib/types/controllers/prompt.controller.d.ts +2 -3
  10. package/lib/types/controllers/trigger-calculation.controller.d.ts +1 -0
  11. package/lib/types/controllers/utils.d.ts +2 -2
  12. package/lib/types/locale/en-US.d.ts +9106 -10
  13. package/lib/types/locale/function-list/array/ja-JP.d.ts +17 -0
  14. package/lib/types/locale/function-list/compatibility/en-US.d.ts +740 -1
  15. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +756 -0
  16. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +740 -1
  17. package/lib/types/locale/function-list/cube/en-US.d.ts +128 -1
  18. package/lib/types/locale/function-list/cube/ja-JP.d.ts +144 -0
  19. package/lib/types/locale/function-list/cube/zh-CN.d.ts +128 -1
  20. package/lib/types/locale/function-list/database/en-US.d.ts +218 -1
  21. package/lib/types/locale/function-list/database/ja-JP.d.ts +234 -0
  22. package/lib/types/locale/function-list/database/zh-CN.d.ts +218 -1
  23. package/lib/types/locale/function-list/date/en-US.d.ts +452 -1
  24. package/lib/types/locale/function-list/date/ja-JP.d.ts +468 -0
  25. package/lib/types/locale/function-list/date/zh-CN.d.ts +452 -1
  26. package/lib/types/locale/function-list/engineering/en-US.d.ts +974 -1
  27. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +990 -0
  28. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +974 -1
  29. package/lib/types/locale/function-list/financial/en-US.d.ts +992 -1
  30. package/lib/types/locale/function-list/financial/ja-JP.d.ts +1008 -0
  31. package/lib/types/locale/function-list/financial/zh-CN.d.ts +992 -1
  32. package/lib/types/locale/function-list/information/en-US.d.ts +380 -1
  33. package/lib/types/locale/function-list/information/ja-JP.d.ts +396 -0
  34. package/lib/types/locale/function-list/information/zh-CN.d.ts +380 -1
  35. package/lib/types/locale/function-list/logical/en-US.d.ts +344 -1
  36. package/lib/types/locale/function-list/logical/ja-JP.d.ts +360 -0
  37. package/lib/types/locale/function-list/logical/zh-CN.d.ts +344 -1
  38. package/lib/types/locale/function-list/lookup/en-US.d.ts +668 -1
  39. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +684 -0
  40. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +668 -1
  41. package/lib/types/locale/function-list/math/en-US.d.ts +1448 -0
  42. package/lib/types/locale/function-list/math/ja-JP.d.ts +1494 -0
  43. package/lib/types/locale/function-list/math/zh-CN.d.ts +1448 -0
  44. package/lib/types/locale/function-list/statistical/en-US.d.ts +1944 -2
  45. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +2016 -0
  46. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +1944 -2
  47. package/lib/types/locale/function-list/text/en-US.d.ts +848 -1
  48. package/lib/types/locale/function-list/text/ja-JP.d.ts +865 -0
  49. package/lib/types/locale/function-list/text/zh-CN.d.ts +848 -1
  50. package/lib/types/locale/function-list/univer/ja-JP.d.ts +17 -0
  51. package/lib/types/locale/function-list/web/en-US.d.ts +56 -1
  52. package/lib/types/locale/function-list/web/ja-JP.d.ts +72 -0
  53. package/lib/types/locale/function-list/web/zh-CN.d.ts +56 -1
  54. package/lib/types/locale/zh-CN.d.ts +9106 -10
  55. package/lib/umd/index.js +6 -4
  56. package/package.json +20 -22
@@ -13,5 +13,132 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- declare const _default: {};
16
+ declare const _default: {
17
+ CUBEKPIMEMBER: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ number1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ number2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ CUBEMEMBER: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ number1: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ number2: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ CUBEMEMBERPROPERTY: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ number1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ number2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ CUBERANKEDMEMBER: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ number1: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ number2: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ };
88
+ };
89
+ CUBESET: {
90
+ description: string;
91
+ abstract: string;
92
+ links: {
93
+ title: string;
94
+ url: string;
95
+ }[];
96
+ functionParameter: {
97
+ number1: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ number2: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ };
106
+ };
107
+ CUBESETCOUNT: {
108
+ description: string;
109
+ abstract: string;
110
+ links: {
111
+ title: string;
112
+ url: string;
113
+ }[];
114
+ functionParameter: {
115
+ number1: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ number2: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ };
124
+ };
125
+ CUBEVALUE: {
126
+ description: string;
127
+ abstract: string;
128
+ links: {
129
+ title: string;
130
+ url: string;
131
+ }[];
132
+ functionParameter: {
133
+ number1: {
134
+ name: string;
135
+ detail: string;
136
+ };
137
+ number2: {
138
+ name: string;
139
+ detail: string;
140
+ };
141
+ };
142
+ };
143
+ };
17
144
  export default _default;
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const _default: {
17
+ CUBEKPIMEMBER: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ number1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ number2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ CUBEMEMBER: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ number1: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ number2: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ CUBEMEMBERPROPERTY: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ number1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ number2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ CUBERANKEDMEMBER: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ number1: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ number2: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ };
88
+ };
89
+ CUBESET: {
90
+ description: string;
91
+ abstract: string;
92
+ links: {
93
+ title: string;
94
+ url: string;
95
+ }[];
96
+ functionParameter: {
97
+ number1: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ number2: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ };
106
+ };
107
+ CUBESETCOUNT: {
108
+ description: string;
109
+ abstract: string;
110
+ links: {
111
+ title: string;
112
+ url: string;
113
+ }[];
114
+ functionParameter: {
115
+ number1: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ number2: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ };
124
+ };
125
+ CUBEVALUE: {
126
+ description: string;
127
+ abstract: string;
128
+ links: {
129
+ title: string;
130
+ url: string;
131
+ }[];
132
+ functionParameter: {
133
+ number1: {
134
+ name: string;
135
+ detail: string;
136
+ };
137
+ number2: {
138
+ name: string;
139
+ detail: string;
140
+ };
141
+ };
142
+ };
143
+ };
144
+ export default _default;
@@ -13,5 +13,132 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- declare const _default: {};
16
+ declare const _default: {
17
+ CUBEKPIMEMBER: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ number1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ number2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ CUBEMEMBER: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ number1: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ number2: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ CUBEMEMBERPROPERTY: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ number1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ number2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ CUBERANKEDMEMBER: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ number1: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ number2: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ };
88
+ };
89
+ CUBESET: {
90
+ description: string;
91
+ abstract: string;
92
+ links: {
93
+ title: string;
94
+ url: string;
95
+ }[];
96
+ functionParameter: {
97
+ number1: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ number2: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ };
106
+ };
107
+ CUBESETCOUNT: {
108
+ description: string;
109
+ abstract: string;
110
+ links: {
111
+ title: string;
112
+ url: string;
113
+ }[];
114
+ functionParameter: {
115
+ number1: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ number2: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ };
124
+ };
125
+ CUBEVALUE: {
126
+ description: string;
127
+ abstract: string;
128
+ links: {
129
+ title: string;
130
+ url: string;
131
+ }[];
132
+ functionParameter: {
133
+ number1: {
134
+ name: string;
135
+ detail: string;
136
+ };
137
+ number2: {
138
+ name: string;
139
+ detail: string;
140
+ };
141
+ };
142
+ };
143
+ };
17
144
  export default _default;
@@ -13,5 +13,222 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- declare const _default: {};
16
+ declare const _default: {
17
+ DAVERAGE: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ number1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ number2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ DCOUNT: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ number1: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ number2: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ DCOUNTA: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ number1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ number2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ DGET: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ number1: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ number2: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ };
88
+ };
89
+ DMAX: {
90
+ description: string;
91
+ abstract: string;
92
+ links: {
93
+ title: string;
94
+ url: string;
95
+ }[];
96
+ functionParameter: {
97
+ number1: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ number2: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ };
106
+ };
107
+ DMIN: {
108
+ description: string;
109
+ abstract: string;
110
+ links: {
111
+ title: string;
112
+ url: string;
113
+ }[];
114
+ functionParameter: {
115
+ number1: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ number2: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ };
124
+ };
125
+ DPRODUCT: {
126
+ description: string;
127
+ abstract: string;
128
+ links: {
129
+ title: string;
130
+ url: string;
131
+ }[];
132
+ functionParameter: {
133
+ number1: {
134
+ name: string;
135
+ detail: string;
136
+ };
137
+ number2: {
138
+ name: string;
139
+ detail: string;
140
+ };
141
+ };
142
+ };
143
+ DSTDEV: {
144
+ description: string;
145
+ abstract: string;
146
+ links: {
147
+ title: string;
148
+ url: string;
149
+ }[];
150
+ functionParameter: {
151
+ number1: {
152
+ name: string;
153
+ detail: string;
154
+ };
155
+ number2: {
156
+ name: string;
157
+ detail: string;
158
+ };
159
+ };
160
+ };
161
+ DSTDEVP: {
162
+ description: string;
163
+ abstract: string;
164
+ links: {
165
+ title: string;
166
+ url: string;
167
+ }[];
168
+ functionParameter: {
169
+ number1: {
170
+ name: string;
171
+ detail: string;
172
+ };
173
+ number2: {
174
+ name: string;
175
+ detail: string;
176
+ };
177
+ };
178
+ };
179
+ DSUM: {
180
+ description: string;
181
+ abstract: string;
182
+ links: {
183
+ title: string;
184
+ url: string;
185
+ }[];
186
+ functionParameter: {
187
+ number1: {
188
+ name: string;
189
+ detail: string;
190
+ };
191
+ number2: {
192
+ name: string;
193
+ detail: string;
194
+ };
195
+ };
196
+ };
197
+ DVAR: {
198
+ description: string;
199
+ abstract: string;
200
+ links: {
201
+ title: string;
202
+ url: string;
203
+ }[];
204
+ functionParameter: {
205
+ number1: {
206
+ name: string;
207
+ detail: string;
208
+ };
209
+ number2: {
210
+ name: string;
211
+ detail: string;
212
+ };
213
+ };
214
+ };
215
+ DVARP: {
216
+ description: string;
217
+ abstract: string;
218
+ links: {
219
+ title: string;
220
+ url: string;
221
+ }[];
222
+ functionParameter: {
223
+ number1: {
224
+ name: string;
225
+ detail: string;
226
+ };
227
+ number2: {
228
+ name: string;
229
+ detail: string;
230
+ };
231
+ };
232
+ };
233
+ };
17
234
  export default _default;