@univerjs/sheets-formula 0.2.1 → 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,702 @@
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
+ BETADIST: {
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
+ BETAINV: {
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
+ BINOMDIST: {
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
+ CHIDIST: {
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
+ CHIINV: {
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
+ CHITEST: {
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
+ CONFIDENCE: {
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
+ COVAR: {
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
+ CRITBINOM: {
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
+ EXPONDIST: {
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
+ FDIST: {
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
+ FINV: {
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
+ FTEST: {
234
+ description: string;
235
+ abstract: string;
236
+ links: {
237
+ title: string;
238
+ url: string;
239
+ }[];
240
+ functionParameter: {
241
+ number1: {
242
+ name: string;
243
+ detail: string;
244
+ };
245
+ number2: {
246
+ name: string;
247
+ detail: string;
248
+ };
249
+ };
250
+ };
251
+ GAMMADIST: {
252
+ description: string;
253
+ abstract: string;
254
+ links: {
255
+ title: string;
256
+ url: string;
257
+ }[];
258
+ functionParameter: {
259
+ number1: {
260
+ name: string;
261
+ detail: string;
262
+ };
263
+ number2: {
264
+ name: string;
265
+ detail: string;
266
+ };
267
+ };
268
+ };
269
+ GAMMAINV: {
270
+ description: string;
271
+ abstract: string;
272
+ links: {
273
+ title: string;
274
+ url: string;
275
+ }[];
276
+ functionParameter: {
277
+ number1: {
278
+ name: string;
279
+ detail: string;
280
+ };
281
+ number2: {
282
+ name: string;
283
+ detail: string;
284
+ };
285
+ };
286
+ };
287
+ HYPGEOMDIST: {
288
+ description: string;
289
+ abstract: string;
290
+ links: {
291
+ title: string;
292
+ url: string;
293
+ }[];
294
+ functionParameter: {
295
+ number1: {
296
+ name: string;
297
+ detail: string;
298
+ };
299
+ number2: {
300
+ name: string;
301
+ detail: string;
302
+ };
303
+ };
304
+ };
305
+ LOGINV: {
306
+ description: string;
307
+ abstract: string;
308
+ links: {
309
+ title: string;
310
+ url: string;
311
+ }[];
312
+ functionParameter: {
313
+ number1: {
314
+ name: string;
315
+ detail: string;
316
+ };
317
+ number2: {
318
+ name: string;
319
+ detail: string;
320
+ };
321
+ };
322
+ };
323
+ LOGNORMDIST: {
324
+ description: string;
325
+ abstract: string;
326
+ links: {
327
+ title: string;
328
+ url: string;
329
+ }[];
330
+ functionParameter: {
331
+ number1: {
332
+ name: string;
333
+ detail: string;
334
+ };
335
+ number2: {
336
+ name: string;
337
+ detail: string;
338
+ };
339
+ };
340
+ };
341
+ MODE: {
342
+ description: string;
343
+ abstract: string;
344
+ links: {
345
+ title: string;
346
+ url: string;
347
+ }[];
348
+ functionParameter: {
349
+ number1: {
350
+ name: string;
351
+ detail: string;
352
+ };
353
+ number2: {
354
+ name: string;
355
+ detail: string;
356
+ };
357
+ };
358
+ };
359
+ NEGBINOMDIST: {
360
+ description: string;
361
+ abstract: string;
362
+ links: {
363
+ title: string;
364
+ url: string;
365
+ }[];
366
+ functionParameter: {
367
+ number1: {
368
+ name: string;
369
+ detail: string;
370
+ };
371
+ number2: {
372
+ name: string;
373
+ detail: string;
374
+ };
375
+ };
376
+ };
377
+ NORMDIST: {
378
+ description: string;
379
+ abstract: string;
380
+ links: {
381
+ title: string;
382
+ url: string;
383
+ }[];
384
+ functionParameter: {
385
+ number1: {
386
+ name: string;
387
+ detail: string;
388
+ };
389
+ number2: {
390
+ name: string;
391
+ detail: string;
392
+ };
393
+ };
394
+ };
395
+ NORMINV: {
396
+ description: string;
397
+ abstract: string;
398
+ links: {
399
+ title: string;
400
+ url: string;
401
+ }[];
402
+ functionParameter: {
403
+ number1: {
404
+ name: string;
405
+ detail: string;
406
+ };
407
+ number2: {
408
+ name: string;
409
+ detail: string;
410
+ };
411
+ };
412
+ };
413
+ NORMSDIST: {
414
+ description: string;
415
+ abstract: string;
416
+ links: {
417
+ title: string;
418
+ url: string;
419
+ }[];
420
+ functionParameter: {
421
+ number1: {
422
+ name: string;
423
+ detail: string;
424
+ };
425
+ number2: {
426
+ name: string;
427
+ detail: string;
428
+ };
429
+ };
430
+ };
431
+ NORMSINV: {
432
+ description: string;
433
+ abstract: string;
434
+ links: {
435
+ title: string;
436
+ url: string;
437
+ }[];
438
+ functionParameter: {
439
+ number1: {
440
+ name: string;
441
+ detail: string;
442
+ };
443
+ number2: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ };
448
+ };
449
+ PERCENTILE: {
450
+ description: string;
451
+ abstract: string;
452
+ links: {
453
+ title: string;
454
+ url: string;
455
+ }[];
456
+ functionParameter: {
457
+ number1: {
458
+ name: string;
459
+ detail: string;
460
+ };
461
+ number2: {
462
+ name: string;
463
+ detail: string;
464
+ };
465
+ };
466
+ };
467
+ PERCENTRANK: {
468
+ description: string;
469
+ abstract: string;
470
+ links: {
471
+ title: string;
472
+ url: string;
473
+ }[];
474
+ functionParameter: {
475
+ number1: {
476
+ name: string;
477
+ detail: string;
478
+ };
479
+ number2: {
480
+ name: string;
481
+ detail: string;
482
+ };
483
+ };
484
+ };
485
+ POISSON: {
486
+ description: string;
487
+ abstract: string;
488
+ links: {
489
+ title: string;
490
+ url: string;
491
+ }[];
492
+ functionParameter: {
493
+ number1: {
494
+ name: string;
495
+ detail: string;
496
+ };
497
+ number2: {
498
+ name: string;
499
+ detail: string;
500
+ };
501
+ };
502
+ };
503
+ QUARTILE: {
504
+ description: string;
505
+ abstract: string;
506
+ links: {
507
+ title: string;
508
+ url: string;
509
+ }[];
510
+ functionParameter: {
511
+ number1: {
512
+ name: string;
513
+ detail: string;
514
+ };
515
+ number2: {
516
+ name: string;
517
+ detail: string;
518
+ };
519
+ };
520
+ };
521
+ RANK: {
522
+ description: string;
523
+ abstract: string;
524
+ links: {
525
+ title: string;
526
+ url: string;
527
+ }[];
528
+ functionParameter: {
529
+ number1: {
530
+ name: string;
531
+ detail: string;
532
+ };
533
+ number2: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ };
538
+ };
539
+ STDEV: {
540
+ description: string;
541
+ abstract: string;
542
+ links: {
543
+ title: string;
544
+ url: string;
545
+ }[];
546
+ functionParameter: {
547
+ number1: {
548
+ name: string;
549
+ detail: string;
550
+ };
551
+ number2: {
552
+ name: string;
553
+ detail: string;
554
+ };
555
+ };
556
+ };
557
+ STDEVP: {
558
+ description: string;
559
+ abstract: string;
560
+ links: {
561
+ title: string;
562
+ url: string;
563
+ }[];
564
+ functionParameter: {
565
+ number1: {
566
+ name: string;
567
+ detail: string;
568
+ };
569
+ number2: {
570
+ name: string;
571
+ detail: string;
572
+ };
573
+ };
574
+ };
575
+ TDIST: {
576
+ description: string;
577
+ abstract: string;
578
+ links: {
579
+ title: string;
580
+ url: string;
581
+ }[];
582
+ functionParameter: {
583
+ number1: {
584
+ name: string;
585
+ detail: string;
586
+ };
587
+ number2: {
588
+ name: string;
589
+ detail: string;
590
+ };
591
+ };
592
+ };
593
+ TINV: {
594
+ description: string;
595
+ abstract: string;
596
+ links: {
597
+ title: string;
598
+ url: string;
599
+ }[];
600
+ functionParameter: {
601
+ number1: {
602
+ name: string;
603
+ detail: string;
604
+ };
605
+ number2: {
606
+ name: string;
607
+ detail: string;
608
+ };
609
+ };
610
+ };
611
+ TTEST: {
612
+ description: string;
613
+ abstract: string;
614
+ links: {
615
+ title: string;
616
+ url: string;
617
+ }[];
618
+ functionParameter: {
619
+ number1: {
620
+ name: string;
621
+ detail: string;
622
+ };
623
+ number2: {
624
+ name: string;
625
+ detail: string;
626
+ };
627
+ };
628
+ };
629
+ VAR: {
630
+ description: string;
631
+ abstract: string;
632
+ links: {
633
+ title: string;
634
+ url: string;
635
+ }[];
636
+ functionParameter: {
637
+ number1: {
638
+ name: string;
639
+ detail: string;
640
+ };
641
+ number2: {
642
+ name: string;
643
+ detail: string;
644
+ };
645
+ };
646
+ };
647
+ VARP: {
648
+ description: string;
649
+ abstract: string;
650
+ links: {
651
+ title: string;
652
+ url: string;
653
+ }[];
654
+ functionParameter: {
655
+ number1: {
656
+ name: string;
657
+ detail: string;
658
+ };
659
+ number2: {
660
+ name: string;
661
+ detail: string;
662
+ };
663
+ };
664
+ };
665
+ WEIBULL: {
666
+ description: string;
667
+ abstract: string;
668
+ links: {
669
+ title: string;
670
+ url: string;
671
+ }[];
672
+ functionParameter: {
673
+ number1: {
674
+ name: string;
675
+ detail: string;
676
+ };
677
+ number2: {
678
+ name: string;
679
+ detail: string;
680
+ };
681
+ };
682
+ };
683
+ ZTEST: {
684
+ description: string;
685
+ abstract: string;
686
+ links: {
687
+ title: string;
688
+ url: string;
689
+ }[];
690
+ functionParameter: {
691
+ number1: {
692
+ name: string;
693
+ detail: string;
694
+ };
695
+ number2: {
696
+ name: string;
697
+ detail: string;
698
+ };
699
+ };
700
+ };
701
+ };
702
+ export default _default;