@univerjs/sheets-formula 0.2.2 → 0.2.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 (62) hide show
  1. package/README.md +13 -7
  2. package/lib/cjs/index.js +4 -4
  3. package/lib/es/index.js +3908 -3854
  4. package/lib/locale/en-US.json +34 -62
  5. package/lib/locale/ru-RU.json +34 -62
  6. package/lib/locale/vi-VN.json +7425 -0
  7. package/lib/locale/zh-CN.json +38 -66
  8. package/lib/locale/zh-TW.json +10304 -0
  9. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
  10. package/lib/types/controllers/formula-ui.controller.d.ts +1 -0
  11. package/lib/types/controllers/prompt.controller.d.ts +18 -22
  12. package/lib/types/controllers/trigger-calculation.controller.d.ts +4 -0
  13. package/lib/types/controllers/update-formula.controller.d.ts +2 -2
  14. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -17
  15. package/lib/types/formula-ui-plugin.d.ts +8 -2
  16. package/lib/types/index.d.ts +2 -2
  17. package/lib/types/locale/en-US.d.ts +14 -42
  18. package/lib/types/locale/function-list/array/vi-VN.d.ts +17 -0
  19. package/lib/types/locale/function-list/array/zh-TW.d.ts +17 -0
  20. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +702 -0
  21. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +702 -0
  22. package/lib/types/locale/function-list/cube/vi-VN.d.ts +144 -0
  23. package/lib/types/locale/function-list/cube/zh-TW.d.ts +144 -0
  24. package/lib/types/locale/function-list/database/vi-VN.d.ts +234 -0
  25. package/lib/types/locale/function-list/database/zh-TW.d.ts +234 -0
  26. package/lib/types/locale/function-list/date/vi-VN.d.ts +379 -0
  27. package/lib/types/locale/function-list/date/zh-TW.d.ts +438 -0
  28. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +990 -0
  29. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +990 -0
  30. package/lib/types/locale/function-list/financial/vi-VN.d.ts +954 -0
  31. package/lib/types/locale/function-list/financial/zh-TW.d.ts +1008 -0
  32. package/lib/types/locale/function-list/information/vi-VN.d.ts +3 -0
  33. package/lib/types/locale/function-list/information/zh-TW.d.ts +352 -0
  34. package/lib/types/locale/function-list/logical/vi-VN.d.ts +368 -0
  35. package/lib/types/locale/function-list/logical/zh-TW.d.ts +368 -0
  36. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +188 -0
  37. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +752 -0
  38. package/lib/types/locale/function-list/math/en-US.d.ts +14 -42
  39. package/lib/types/locale/function-list/math/ja-JP.d.ts +14 -42
  40. package/lib/types/locale/function-list/math/vi-VN.d.ts +3 -0
  41. package/lib/types/locale/function-list/math/zh-CN.d.ts +14 -42
  42. package/lib/types/locale/function-list/math/zh-TW.d.ts +1498 -0
  43. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +394 -0
  44. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +2060 -0
  45. package/lib/types/locale/function-list/text/vi-VN.d.ts +650 -0
  46. package/lib/types/locale/function-list/text/zh-TW.d.ts +852 -0
  47. package/lib/types/locale/function-list/univer/vi-VN.d.ts +17 -0
  48. package/lib/types/locale/function-list/univer/zh-TW.d.ts +17 -0
  49. package/lib/types/locale/function-list/web/vi-VN.d.ts +3 -0
  50. package/lib/types/locale/function-list/web/zh-TW.d.ts +72 -0
  51. package/lib/types/locale/ru-RU.d.ts +14 -42
  52. package/lib/types/locale/vi-VN.d.ts +6699 -0
  53. package/lib/types/locale/zh-CN.d.ts +14 -42
  54. package/lib/types/locale/zh-TW.d.ts +9300 -0
  55. package/lib/types/services/prompt.service.d.ts +0 -6
  56. package/lib/types/services/register-function.service.d.ts +19 -5
  57. package/lib/types/services/register-other-formula.service.d.ts +1 -0
  58. package/lib/types/services/remote/remote-register-function.service.d.ts +17 -0
  59. package/lib/types/services/render-services/ref-selections.render-service.d.ts +35 -0
  60. package/lib/umd/index.js +4 -4
  61. package/package.json +21 -19
  62. package/lib/types/services/formula-custom-function.service.d.ts +0 -19
@@ -0,0 +1,394 @@
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
+ AVEDEV: {
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
+ AVERAGE: {
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
+ AVERAGEA: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ value1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ value2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ AVERAGEIF: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ range: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ criteria: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ averageRange: {
88
+ name: string;
89
+ detail: string;
90
+ };
91
+ };
92
+ };
93
+ AVERAGEIFS: {
94
+ description: string;
95
+ abstract: string;
96
+ links: {
97
+ title: string;
98
+ url: string;
99
+ }[];
100
+ functionParameter: {
101
+ averageRange: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ criteriaRange1: {
106
+ name: string;
107
+ detail: string;
108
+ };
109
+ criteria1: {
110
+ name: string;
111
+ detail: string;
112
+ };
113
+ criteriaRange2: {
114
+ name: string;
115
+ detail: string;
116
+ };
117
+ criteria2: {
118
+ name: string;
119
+ detail: string;
120
+ };
121
+ };
122
+ };
123
+ BETA_DIST: {
124
+ description: string;
125
+ abstract: string;
126
+ links: {
127
+ title: string;
128
+ url: string;
129
+ }[];
130
+ functionParameter: {
131
+ number1: {
132
+ name: string;
133
+ detail: string;
134
+ };
135
+ number2: {
136
+ name: string;
137
+ detail: string;
138
+ };
139
+ };
140
+ };
141
+ BETA_INV: {
142
+ description: string;
143
+ abstract: string;
144
+ links: {
145
+ title: string;
146
+ url: string;
147
+ }[];
148
+ functionParameter: {
149
+ number1: {
150
+ name: string;
151
+ detail: string;
152
+ };
153
+ number2: {
154
+ name: string;
155
+ detail: string;
156
+ };
157
+ };
158
+ };
159
+ BINOM_DIST: {
160
+ description: string;
161
+ abstract: string;
162
+ links: {
163
+ title: string;
164
+ url: string;
165
+ }[];
166
+ functionParameter: {
167
+ number1: {
168
+ name: string;
169
+ detail: string;
170
+ };
171
+ number2: {
172
+ name: string;
173
+ detail: string;
174
+ };
175
+ };
176
+ };
177
+ BINOM_DIST_RANGE: {
178
+ description: string;
179
+ abstract: string;
180
+ links: {
181
+ title: string;
182
+ url: string;
183
+ }[];
184
+ functionParameter: {
185
+ number1: {
186
+ name: string;
187
+ detail: string;
188
+ };
189
+ number2: {
190
+ name: string;
191
+ detail: string;
192
+ };
193
+ };
194
+ };
195
+ BINOM_INV: {
196
+ description: string;
197
+ abstract: string;
198
+ links: {
199
+ title: string;
200
+ url: string;
201
+ }[];
202
+ functionParameter: {
203
+ number1: {
204
+ name: string;
205
+ detail: string;
206
+ };
207
+ number2: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ };
212
+ };
213
+ CHISQ_DIST: {
214
+ description: string;
215
+ abstract: string;
216
+ links: {
217
+ title: string;
218
+ url: string;
219
+ }[];
220
+ functionParameter: {
221
+ number1: {
222
+ name: string;
223
+ detail: string;
224
+ };
225
+ number2: {
226
+ name: string;
227
+ detail: string;
228
+ };
229
+ };
230
+ };
231
+ CHISQ_DIST_RT: {
232
+ description: string;
233
+ abstract: string;
234
+ links: {
235
+ title: string;
236
+ url: string;
237
+ }[];
238
+ functionParameter: {
239
+ number1: {
240
+ name: string;
241
+ detail: string;
242
+ };
243
+ number2: {
244
+ name: string;
245
+ detail: string;
246
+ };
247
+ };
248
+ };
249
+ CHISQ_INV: {
250
+ description: string;
251
+ abstract: string;
252
+ links: {
253
+ title: string;
254
+ url: string;
255
+ }[];
256
+ functionParameter: {
257
+ number1: {
258
+ name: string;
259
+ detail: string;
260
+ };
261
+ number2: {
262
+ name: string;
263
+ detail: string;
264
+ };
265
+ };
266
+ };
267
+ CHISQ_INV_RT: {
268
+ description: string;
269
+ abstract: string;
270
+ links: {
271
+ title: string;
272
+ url: string;
273
+ }[];
274
+ functionParameter: {
275
+ number1: {
276
+ name: string;
277
+ detail: string;
278
+ };
279
+ number2: {
280
+ name: string;
281
+ detail: string;
282
+ };
283
+ };
284
+ };
285
+ CHISQ_TEST: {
286
+ description: string;
287
+ abstract: string;
288
+ links: {
289
+ title: string;
290
+ url: string;
291
+ }[];
292
+ functionParameter: {
293
+ number1: {
294
+ name: string;
295
+ detail: string;
296
+ };
297
+ number2: {
298
+ name: string;
299
+ detail: string;
300
+ };
301
+ };
302
+ };
303
+ CONFIDENCE_NORM: {
304
+ description: string;
305
+ abstract: string;
306
+ links: {
307
+ title: string;
308
+ url: string;
309
+ }[];
310
+ functionParameter: {
311
+ number1: {
312
+ name: string;
313
+ detail: string;
314
+ };
315
+ number2: {
316
+ name: string;
317
+ detail: string;
318
+ };
319
+ };
320
+ };
321
+ CONFIDENCE_T: {
322
+ description: string;
323
+ abstract: string;
324
+ links: {
325
+ title: string;
326
+ url: string;
327
+ }[];
328
+ functionParameter: {
329
+ number1: {
330
+ name: string;
331
+ detail: string;
332
+ };
333
+ number2: {
334
+ name: string;
335
+ detail: string;
336
+ };
337
+ };
338
+ };
339
+ CORREL: {
340
+ description: string;
341
+ abstract: string;
342
+ links: {
343
+ title: string;
344
+ url: string;
345
+ }[];
346
+ functionParameter: {
347
+ number1: {
348
+ name: string;
349
+ detail: string;
350
+ };
351
+ number2: {
352
+ name: string;
353
+ detail: string;
354
+ };
355
+ };
356
+ };
357
+ COUNT: {
358
+ description: string;
359
+ abstract: string;
360
+ links: {
361
+ title: string;
362
+ url: string;
363
+ }[];
364
+ functionParameter: {
365
+ value1: {
366
+ name: string;
367
+ detail: string;
368
+ };
369
+ value2: {
370
+ name: string;
371
+ detail: string;
372
+ };
373
+ };
374
+ };
375
+ COUNTA: {
376
+ description: string;
377
+ abstract: string;
378
+ links: {
379
+ title: string;
380
+ url: string;
381
+ }[];
382
+ functionParameter: {
383
+ number1: {
384
+ name: string;
385
+ detail: string;
386
+ };
387
+ number2: {
388
+ name: string;
389
+ detail: string;
390
+ };
391
+ };
392
+ };
393
+ };
394
+ export default _default;