@univerjs/sheets-formula 0.2.12 → 0.2.14

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 (40) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +328 -236
  3. package/lib/locale/en-US.json +201 -169
  4. package/lib/locale/ru-RU.json +201 -169
  5. package/lib/locale/vi-VN.json +496 -44
  6. package/lib/locale/zh-CN.json +209 -177
  7. package/lib/locale/zh-TW.json +213 -181
  8. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +6 -6
  9. package/lib/types/common/plugin-name.d.ts +1 -1
  10. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -1
  11. package/lib/types/controllers/prompt.controller.d.ts +7 -6
  12. package/lib/types/controllers/utils/ref-range-formula.d.ts +6 -0
  13. package/lib/types/formula-ui-plugin.d.ts +3 -3
  14. package/lib/types/locale/en-US.d.ts +103 -71
  15. package/lib/types/locale/function-list/logical/en-US.d.ts +22 -10
  16. package/lib/types/locale/function-list/logical/ja-JP.d.ts +22 -10
  17. package/lib/types/locale/function-list/logical/vi-VN.d.ts +22 -10
  18. package/lib/types/locale/function-list/logical/zh-CN.d.ts +22 -10
  19. package/lib/types/locale/function-list/logical/zh-TW.d.ts +22 -10
  20. package/lib/types/locale/function-list/lookup/en-US.d.ts +46 -14
  21. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +46 -14
  22. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +126 -4
  23. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +46 -14
  24. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +46 -14
  25. package/lib/types/locale/function-list/math/en-US.d.ts +35 -47
  26. package/lib/types/locale/function-list/math/ja-JP.d.ts +35 -47
  27. package/lib/types/locale/function-list/math/vi-VN.d.ts +276 -0
  28. package/lib/types/locale/function-list/math/zh-CN.d.ts +35 -47
  29. package/lib/types/locale/function-list/math/zh-TW.d.ts +35 -47
  30. package/lib/types/locale/ru-RU.d.ts +103 -71
  31. package/lib/types/locale/vi-VN.d.ts +424 -14
  32. package/lib/types/locale/zh-CN.d.ts +103 -71
  33. package/lib/types/locale/zh-TW.d.ts +103 -71
  34. package/lib/types/services/description.service.d.ts +1 -1
  35. package/lib/types/services/prompt.service.d.ts +1 -1
  36. package/lib/types/services/register-function.service.d.ts +1 -1
  37. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  38. package/lib/types/views/more-functions/interface.d.ts +1 -1
  39. package/lib/umd/index.js +4 -4
  40. package/package.json +26 -24
@@ -238,6 +238,42 @@ declare const _default: {
238
238
  };
239
239
  };
240
240
  };
241
+ COMBIN: {
242
+ description: string;
243
+ abstract: string;
244
+ links: {
245
+ title: string;
246
+ url: string;
247
+ }[];
248
+ functionParameter: {
249
+ number: {
250
+ name: string;
251
+ detail: string;
252
+ };
253
+ numberChosen: {
254
+ name: string;
255
+ detail: string;
256
+ };
257
+ };
258
+ };
259
+ COMBINA: {
260
+ description: string;
261
+ abstract: string;
262
+ links: {
263
+ title: string;
264
+ url: string;
265
+ }[];
266
+ functionParameter: {
267
+ number: {
268
+ name: string;
269
+ detail: string;
270
+ };
271
+ numberChosen: {
272
+ name: string;
273
+ detail: string;
274
+ };
275
+ };
276
+ };
241
277
  COS: {
242
278
  description: string;
243
279
  abstract: string;
@@ -382,6 +418,34 @@ declare const _default: {
382
418
  };
383
419
  };
384
420
  };
421
+ FACT: {
422
+ description: string;
423
+ abstract: string;
424
+ links: {
425
+ title: string;
426
+ url: string;
427
+ }[];
428
+ functionParameter: {
429
+ number: {
430
+ name: string;
431
+ detail: string;
432
+ };
433
+ };
434
+ };
435
+ FACTDOUBLE: {
436
+ description: string;
437
+ abstract: string;
438
+ links: {
439
+ title: string;
440
+ url: string;
441
+ }[];
442
+ functionParameter: {
443
+ number: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ };
448
+ };
385
449
  FLOOR: {
386
450
  description: string;
387
451
  abstract: string;
@@ -440,6 +504,56 @@ declare const _default: {
440
504
  };
441
505
  };
442
506
  };
507
+ GCD: {
508
+ description: string;
509
+ abstract: string;
510
+ links: {
511
+ title: string;
512
+ url: string;
513
+ }[];
514
+ functionParameter: {
515
+ number1: {
516
+ name: string;
517
+ detail: string;
518
+ };
519
+ number2: {
520
+ name: string;
521
+ detail: string;
522
+ };
523
+ };
524
+ };
525
+ INT: {
526
+ description: string;
527
+ abstract: string;
528
+ links: {
529
+ title: string;
530
+ url: string;
531
+ }[];
532
+ functionParameter: {
533
+ number: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ };
538
+ };
539
+ LCM: {
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
+ };
443
557
  LN: {
444
558
  description: string;
445
559
  abstract: string;
@@ -486,6 +600,52 @@ declare const _default: {
486
600
  };
487
601
  };
488
602
  };
603
+ MDETERM: {
604
+ description: string;
605
+ abstract: string;
606
+ links: {
607
+ title: string;
608
+ url: string;
609
+ }[];
610
+ functionParameter: {
611
+ array: {
612
+ name: string;
613
+ detail: string;
614
+ };
615
+ };
616
+ };
617
+ MINVERSE: {
618
+ description: string;
619
+ abstract: string;
620
+ links: {
621
+ title: string;
622
+ url: string;
623
+ }[];
624
+ functionParameter: {
625
+ array: {
626
+ name: string;
627
+ detail: string;
628
+ };
629
+ };
630
+ };
631
+ MMULT: {
632
+ description: string;
633
+ abstract: string;
634
+ links: {
635
+ title: string;
636
+ url: string;
637
+ }[];
638
+ functionParameter: {
639
+ array1: {
640
+ name: string;
641
+ detail: string;
642
+ };
643
+ array2: {
644
+ name: string;
645
+ detail: string;
646
+ };
647
+ };
648
+ };
489
649
  MOD: {
490
650
  description: string;
491
651
  abstract: string;
@@ -522,6 +682,38 @@ declare const _default: {
522
682
  };
523
683
  };
524
684
  };
685
+ MULTINOMIAL: {
686
+ description: string;
687
+ abstract: string;
688
+ links: {
689
+ title: string;
690
+ url: string;
691
+ }[];
692
+ functionParameter: {
693
+ number1: {
694
+ name: string;
695
+ detail: string;
696
+ };
697
+ number2: {
698
+ name: string;
699
+ detail: string;
700
+ };
701
+ };
702
+ };
703
+ MUNIT: {
704
+ description: string;
705
+ abstract: string;
706
+ links: {
707
+ title: string;
708
+ url: string;
709
+ }[];
710
+ functionParameter: {
711
+ dimension: {
712
+ name: string;
713
+ detail: string;
714
+ };
715
+ };
716
+ };
525
717
  ODD: {
526
718
  description: string;
527
719
  abstract: string;
@@ -581,6 +773,24 @@ declare const _default: {
581
773
  };
582
774
  };
583
775
  };
776
+ QUOTIENT: {
777
+ description: string;
778
+ abstract: string;
779
+ links: {
780
+ title: string;
781
+ url: string;
782
+ }[];
783
+ functionParameter: {
784
+ numerator: {
785
+ name: string;
786
+ detail: string;
787
+ };
788
+ denominator: {
789
+ name: string;
790
+ detail: string;
791
+ };
792
+ };
793
+ };
584
794
  RADIANS: {
585
795
  description: string;
586
796
  abstract: string;
@@ -734,6 +944,72 @@ declare const _default: {
734
944
  };
735
945
  };
736
946
  };
947
+ SERIESSUM: {
948
+ description: string;
949
+ abstract: string;
950
+ links: {
951
+ title: string;
952
+ url: string;
953
+ }[];
954
+ functionParameter: {
955
+ x: {
956
+ name: string;
957
+ detail: string;
958
+ };
959
+ n: {
960
+ name: string;
961
+ detail: string;
962
+ };
963
+ m: {
964
+ name: string;
965
+ detail: string;
966
+ };
967
+ coefficients: {
968
+ name: string;
969
+ detail: string;
970
+ };
971
+ };
972
+ };
973
+ SEQUENCE: {
974
+ description: string;
975
+ abstract: string;
976
+ links: {
977
+ title: string;
978
+ url: string;
979
+ }[];
980
+ functionParameter: {
981
+ rows: {
982
+ name: string;
983
+ detail: string;
984
+ };
985
+ columns: {
986
+ name: string;
987
+ detail: string;
988
+ };
989
+ start: {
990
+ name: string;
991
+ detail: string;
992
+ };
993
+ step: {
994
+ name: string;
995
+ detail: string;
996
+ };
997
+ };
998
+ };
999
+ SIGN: {
1000
+ description: string;
1001
+ abstract: string;
1002
+ links: {
1003
+ title: string;
1004
+ url: string;
1005
+ }[];
1006
+ functionParameter: {
1007
+ number: {
1008
+ name: string;
1009
+ detail: string;
1010
+ };
1011
+ };
1012
+ };
737
1013
  SIN: {
738
1014
  description: string;
739
1015
  abstract: string;
@@ -282,11 +282,11 @@ declare const _default: {
282
282
  url: string;
283
283
  }[];
284
284
  functionParameter: {
285
- number1: {
285
+ number: {
286
286
  name: string;
287
287
  detail: string;
288
288
  };
289
- number2: {
289
+ numberChosen: {
290
290
  name: string;
291
291
  detail: string;
292
292
  };
@@ -300,11 +300,11 @@ declare const _default: {
300
300
  url: string;
301
301
  }[];
302
302
  functionParameter: {
303
- number1: {
303
+ number: {
304
304
  name: string;
305
305
  detail: string;
306
306
  };
307
- number2: {
307
+ numberChosen: {
308
308
  name: string;
309
309
  detail: string;
310
310
  };
@@ -462,11 +462,7 @@ declare const _default: {
462
462
  url: string;
463
463
  }[];
464
464
  functionParameter: {
465
- number1: {
466
- name: string;
467
- detail: string;
468
- };
469
- number2: {
465
+ number: {
470
466
  name: string;
471
467
  detail: string;
472
468
  };
@@ -480,11 +476,7 @@ declare const _default: {
480
476
  url: string;
481
477
  }[];
482
478
  functionParameter: {
483
- number1: {
484
- name: string;
485
- detail: string;
486
- };
487
- number2: {
479
+ number: {
488
480
  name: string;
489
481
  detail: string;
490
482
  };
@@ -574,11 +566,7 @@ declare const _default: {
574
566
  url: string;
575
567
  }[];
576
568
  functionParameter: {
577
- number1: {
578
- name: string;
579
- detail: string;
580
- };
581
- number2: {
569
+ number: {
582
570
  name: string;
583
571
  detail: string;
584
572
  };
@@ -692,11 +680,7 @@ declare const _default: {
692
680
  url: string;
693
681
  }[];
694
682
  functionParameter: {
695
- number1: {
696
- name: string;
697
- detail: string;
698
- };
699
- number2: {
683
+ array: {
700
684
  name: string;
701
685
  detail: string;
702
686
  };
@@ -710,11 +694,7 @@ declare const _default: {
710
694
  url: string;
711
695
  }[];
712
696
  functionParameter: {
713
- number1: {
714
- name: string;
715
- detail: string;
716
- };
717
- number2: {
697
+ array: {
718
698
  name: string;
719
699
  detail: string;
720
700
  };
@@ -728,11 +708,11 @@ declare const _default: {
728
708
  url: string;
729
709
  }[];
730
710
  functionParameter: {
731
- number1: {
711
+ array1: {
732
712
  name: string;
733
713
  detail: string;
734
714
  };
735
- number2: {
715
+ array2: {
736
716
  name: string;
737
717
  detail: string;
738
718
  };
@@ -800,11 +780,7 @@ declare const _default: {
800
780
  url: string;
801
781
  }[];
802
782
  functionParameter: {
803
- number1: {
804
- name: string;
805
- detail: string;
806
- };
807
- number2: {
783
+ dimension: {
808
784
  name: string;
809
785
  detail: string;
810
786
  };
@@ -877,11 +853,11 @@ declare const _default: {
877
853
  url: string;
878
854
  }[];
879
855
  functionParameter: {
880
- number1: {
856
+ numerator: {
881
857
  name: string;
882
858
  detail: string;
883
859
  };
884
- number2: {
860
+ denominator: {
885
861
  name: string;
886
862
  detail: string;
887
863
  };
@@ -1066,11 +1042,19 @@ declare const _default: {
1066
1042
  url: string;
1067
1043
  }[];
1068
1044
  functionParameter: {
1069
- number1: {
1045
+ x: {
1070
1046
  name: string;
1071
1047
  detail: string;
1072
1048
  };
1073
- number2: {
1049
+ n: {
1050
+ name: string;
1051
+ detail: string;
1052
+ };
1053
+ m: {
1054
+ name: string;
1055
+ detail: string;
1056
+ };
1057
+ coefficients: {
1074
1058
  name: string;
1075
1059
  detail: string;
1076
1060
  };
@@ -1084,11 +1068,19 @@ declare const _default: {
1084
1068
  url: string;
1085
1069
  }[];
1086
1070
  functionParameter: {
1087
- number1: {
1071
+ rows: {
1088
1072
  name: string;
1089
1073
  detail: string;
1090
1074
  };
1091
- number2: {
1075
+ columns: {
1076
+ name: string;
1077
+ detail: string;
1078
+ };
1079
+ start: {
1080
+ name: string;
1081
+ detail: string;
1082
+ };
1083
+ step: {
1092
1084
  name: string;
1093
1085
  detail: string;
1094
1086
  };
@@ -1102,11 +1094,7 @@ declare const _default: {
1102
1094
  url: string;
1103
1095
  }[];
1104
1096
  functionParameter: {
1105
- number1: {
1106
- name: string;
1107
- detail: string;
1108
- };
1109
- number2: {
1097
+ number: {
1110
1098
  name: string;
1111
1099
  detail: string;
1112
1100
  };
@@ -282,11 +282,11 @@ declare const _default: {
282
282
  url: string;
283
283
  }[];
284
284
  functionParameter: {
285
- number1: {
285
+ number: {
286
286
  name: string;
287
287
  detail: string;
288
288
  };
289
- number2: {
289
+ numberChosen: {
290
290
  name: string;
291
291
  detail: string;
292
292
  };
@@ -300,11 +300,11 @@ declare const _default: {
300
300
  url: string;
301
301
  }[];
302
302
  functionParameter: {
303
- number1: {
303
+ number: {
304
304
  name: string;
305
305
  detail: string;
306
306
  };
307
- number2: {
307
+ numberChosen: {
308
308
  name: string;
309
309
  detail: string;
310
310
  };
@@ -462,11 +462,7 @@ declare const _default: {
462
462
  url: string;
463
463
  }[];
464
464
  functionParameter: {
465
- number1: {
466
- name: string;
467
- detail: string;
468
- };
469
- number2: {
465
+ number: {
470
466
  name: string;
471
467
  detail: string;
472
468
  };
@@ -480,11 +476,7 @@ declare const _default: {
480
476
  url: string;
481
477
  }[];
482
478
  functionParameter: {
483
- number1: {
484
- name: string;
485
- detail: string;
486
- };
487
- number2: {
479
+ number: {
488
480
  name: string;
489
481
  detail: string;
490
482
  };
@@ -574,11 +566,7 @@ declare const _default: {
574
566
  url: string;
575
567
  }[];
576
568
  functionParameter: {
577
- number1: {
578
- name: string;
579
- detail: string;
580
- };
581
- number2: {
569
+ number: {
582
570
  name: string;
583
571
  detail: string;
584
572
  };
@@ -692,11 +680,7 @@ declare const _default: {
692
680
  url: string;
693
681
  }[];
694
682
  functionParameter: {
695
- number1: {
696
- name: string;
697
- detail: string;
698
- };
699
- number2: {
683
+ array: {
700
684
  name: string;
701
685
  detail: string;
702
686
  };
@@ -710,11 +694,7 @@ declare const _default: {
710
694
  url: string;
711
695
  }[];
712
696
  functionParameter: {
713
- number1: {
714
- name: string;
715
- detail: string;
716
- };
717
- number2: {
697
+ array: {
718
698
  name: string;
719
699
  detail: string;
720
700
  };
@@ -728,11 +708,11 @@ declare const _default: {
728
708
  url: string;
729
709
  }[];
730
710
  functionParameter: {
731
- number1: {
711
+ array1: {
732
712
  name: string;
733
713
  detail: string;
734
714
  };
735
- number2: {
715
+ array2: {
736
716
  name: string;
737
717
  detail: string;
738
718
  };
@@ -800,11 +780,7 @@ declare const _default: {
800
780
  url: string;
801
781
  }[];
802
782
  functionParameter: {
803
- number1: {
804
- name: string;
805
- detail: string;
806
- };
807
- number2: {
783
+ dimension: {
808
784
  name: string;
809
785
  detail: string;
810
786
  };
@@ -877,11 +853,11 @@ declare const _default: {
877
853
  url: string;
878
854
  }[];
879
855
  functionParameter: {
880
- number1: {
856
+ numerator: {
881
857
  name: string;
882
858
  detail: string;
883
859
  };
884
- number2: {
860
+ denominator: {
885
861
  name: string;
886
862
  detail: string;
887
863
  };
@@ -1066,11 +1042,19 @@ declare const _default: {
1066
1042
  url: string;
1067
1043
  }[];
1068
1044
  functionParameter: {
1069
- number1: {
1045
+ x: {
1070
1046
  name: string;
1071
1047
  detail: string;
1072
1048
  };
1073
- number2: {
1049
+ n: {
1050
+ name: string;
1051
+ detail: string;
1052
+ };
1053
+ m: {
1054
+ name: string;
1055
+ detail: string;
1056
+ };
1057
+ coefficients: {
1074
1058
  name: string;
1075
1059
  detail: string;
1076
1060
  };
@@ -1084,11 +1068,19 @@ declare const _default: {
1084
1068
  url: string;
1085
1069
  }[];
1086
1070
  functionParameter: {
1087
- number1: {
1071
+ rows: {
1088
1072
  name: string;
1089
1073
  detail: string;
1090
1074
  };
1091
- number2: {
1075
+ columns: {
1076
+ name: string;
1077
+ detail: string;
1078
+ };
1079
+ start: {
1080
+ name: string;
1081
+ detail: string;
1082
+ };
1083
+ step: {
1092
1084
  name: string;
1093
1085
  detail: string;
1094
1086
  };
@@ -1102,11 +1094,7 @@ declare const _default: {
1102
1094
  url: string;
1103
1095
  }[];
1104
1096
  functionParameter: {
1105
- number1: {
1106
- name: string;
1107
- detail: string;
1108
- };
1109
- number2: {
1097
+ number: {
1110
1098
  name: string;
1111
1099
  detail: string;
1112
1100
  };