@univerjs/sheets-formula 0.1.0-alpha.2 → 0.1.0-beta.0

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 +16200 -1838
  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 +21 -23
@@ -13,5 +13,852 @@
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
+ ASC: {
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
+ ARRAYTOTEXT: {
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
+ BAHTTEXT: {
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
+ CHAR: {
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
+ CLEAN: {
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
+ CODE: {
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
+ CONCAT: {
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
+ CONCATENATE: {
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
+ DBCS: {
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
+ DOLLAR: {
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
+ EXACT: {
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
+ FIND: {
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
+ FINDB: {
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
+ FIXED: {
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
+ LEFT: {
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
+ LEFTB: {
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
+ LEN: {
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
+ LENB: {
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
+ LOWER: {
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
+ MID: {
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
+ MIDB: {
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
+ NUMBERVALUE: {
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
+ PHONETIC: {
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
+ PROPER: {
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
+ REPLACE: {
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
+ REPLACEB: {
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
+ REPT: {
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
+ RIGHT: {
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
+ RIGHTB: {
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
+ SEARCH: {
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
+ SEARCHB: {
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
+ SUBSTITUTE: {
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
+ T: {
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
+ TEXT: {
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
+ TEXTAFTER: {
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
+ TEXTBEFORE: {
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
+ TEXTJOIN: {
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
+ TEXTSPLIT: {
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
+ TRIM: {
702
+ description: string;
703
+ abstract: string;
704
+ links: {
705
+ title: string;
706
+ url: string;
707
+ }[];
708
+ functionParameter: {
709
+ number1: {
710
+ name: string;
711
+ detail: string;
712
+ };
713
+ number2: {
714
+ name: string;
715
+ detail: string;
716
+ };
717
+ };
718
+ };
719
+ UNICHAR: {
720
+ description: string;
721
+ abstract: string;
722
+ links: {
723
+ title: string;
724
+ url: string;
725
+ }[];
726
+ functionParameter: {
727
+ number1: {
728
+ name: string;
729
+ detail: string;
730
+ };
731
+ number2: {
732
+ name: string;
733
+ detail: string;
734
+ };
735
+ };
736
+ };
737
+ UNICODE: {
738
+ description: string;
739
+ abstract: string;
740
+ links: {
741
+ title: string;
742
+ url: string;
743
+ }[];
744
+ functionParameter: {
745
+ number1: {
746
+ name: string;
747
+ detail: string;
748
+ };
749
+ number2: {
750
+ name: string;
751
+ detail: string;
752
+ };
753
+ };
754
+ };
755
+ UPPER: {
756
+ description: string;
757
+ abstract: string;
758
+ links: {
759
+ title: string;
760
+ url: string;
761
+ }[];
762
+ functionParameter: {
763
+ number1: {
764
+ name: string;
765
+ detail: string;
766
+ };
767
+ number2: {
768
+ name: string;
769
+ detail: string;
770
+ };
771
+ };
772
+ };
773
+ VALUE: {
774
+ description: string;
775
+ abstract: string;
776
+ links: {
777
+ title: string;
778
+ url: string;
779
+ }[];
780
+ functionParameter: {
781
+ number1: {
782
+ name: string;
783
+ detail: string;
784
+ };
785
+ number2: {
786
+ name: string;
787
+ detail: string;
788
+ };
789
+ };
790
+ };
791
+ VALUETOTEXT: {
792
+ description: string;
793
+ abstract: string;
794
+ links: {
795
+ title: string;
796
+ url: string;
797
+ }[];
798
+ functionParameter: {
799
+ number1: {
800
+ name: string;
801
+ detail: string;
802
+ };
803
+ number2: {
804
+ name: string;
805
+ detail: string;
806
+ };
807
+ };
808
+ };
809
+ CALL: {
810
+ description: string;
811
+ abstract: string;
812
+ links: {
813
+ title: string;
814
+ url: string;
815
+ }[];
816
+ functionParameter: {
817
+ number1: {
818
+ name: string;
819
+ detail: string;
820
+ };
821
+ number2: {
822
+ name: string;
823
+ detail: string;
824
+ };
825
+ };
826
+ };
827
+ EUROCONVERT: {
828
+ description: string;
829
+ abstract: string;
830
+ links: {
831
+ title: string;
832
+ url: string;
833
+ }[];
834
+ functionParameter: {
835
+ number1: {
836
+ name: string;
837
+ detail: string;
838
+ };
839
+ number2: {
840
+ name: string;
841
+ detail: string;
842
+ };
843
+ };
844
+ };
845
+ REGISTER_ID: {
846
+ description: string;
847
+ abstract: string;
848
+ links: {
849
+ title: string;
850
+ url: string;
851
+ }[];
852
+ functionParameter: {
853
+ number1: {
854
+ name: string;
855
+ detail: string;
856
+ };
857
+ number2: {
858
+ name: string;
859
+ detail: string;
860
+ };
861
+ };
862
+ };
863
+ };
17
864
  export default _default;