@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
@@ -160,11 +160,15 @@ declare const _default: {
160
160
  url: string;
161
161
  }[];
162
162
  functionParameter: {
163
- number1: {
163
+ array: {
164
164
  name: string;
165
165
  detail: string;
166
166
  };
167
- number2: {
167
+ rows: {
168
+ name: string;
169
+ detail: string;
170
+ };
171
+ columns: {
168
172
  name: string;
169
173
  detail: string;
170
174
  };
@@ -178,11 +182,19 @@ declare const _default: {
178
182
  url: string;
179
183
  }[];
180
184
  functionParameter: {
181
- number1: {
185
+ array: {
182
186
  name: string;
183
187
  detail: string;
184
188
  };
185
- number2: {
189
+ rows: {
190
+ name: string;
191
+ detail: string;
192
+ };
193
+ columns: {
194
+ name: string;
195
+ detail: string;
196
+ };
197
+ padWith: {
186
198
  name: string;
187
199
  detail: string;
188
200
  };
@@ -554,11 +566,15 @@ declare const _default: {
554
566
  url: string;
555
567
  }[];
556
568
  functionParameter: {
557
- number1: {
569
+ array: {
558
570
  name: string;
559
571
  detail: string;
560
572
  };
561
- number2: {
573
+ rows: {
574
+ name: string;
575
+ detail: string;
576
+ };
577
+ columns: {
562
578
  name: string;
563
579
  detail: string;
564
580
  };
@@ -572,11 +588,15 @@ declare const _default: {
572
588
  url: string;
573
589
  }[];
574
590
  functionParameter: {
575
- number1: {
591
+ array: {
576
592
  name: string;
577
593
  detail: string;
578
594
  };
579
- number2: {
595
+ ignore: {
596
+ name: string;
597
+ detail: string;
598
+ };
599
+ scanByColumn: {
580
600
  name: string;
581
601
  detail: string;
582
602
  };
@@ -590,11 +610,15 @@ declare const _default: {
590
610
  url: string;
591
611
  }[];
592
612
  functionParameter: {
593
- number1: {
613
+ array: {
594
614
  name: string;
595
615
  detail: string;
596
616
  };
597
- number2: {
617
+ ignore: {
618
+ name: string;
619
+ detail: string;
620
+ };
621
+ scanByColumn: {
598
622
  name: string;
599
623
  detail: string;
600
624
  };
@@ -688,11 +712,15 @@ declare const _default: {
688
712
  url: string;
689
713
  }[];
690
714
  functionParameter: {
691
- number1: {
715
+ vector: {
692
716
  name: string;
693
717
  detail: string;
694
718
  };
695
- number2: {
719
+ wrapCount: {
720
+ name: string;
721
+ detail: string;
722
+ };
723
+ padWith: {
696
724
  name: string;
697
725
  detail: string;
698
726
  };
@@ -706,11 +734,15 @@ declare const _default: {
706
734
  url: string;
707
735
  }[];
708
736
  functionParameter: {
709
- number1: {
737
+ vector: {
710
738
  name: string;
711
739
  detail: string;
712
740
  };
713
- number2: {
741
+ wrapCount: {
742
+ name: string;
743
+ detail: string;
744
+ };
745
+ padWith: {
714
746
  name: string;
715
747
  detail: string;
716
748
  };
@@ -160,11 +160,15 @@ declare const _default: {
160
160
  url: string;
161
161
  }[];
162
162
  functionParameter: {
163
- number1: {
163
+ array: {
164
164
  name: string;
165
165
  detail: string;
166
166
  };
167
- number2: {
167
+ rows: {
168
+ name: string;
169
+ detail: string;
170
+ };
171
+ columns: {
168
172
  name: string;
169
173
  detail: string;
170
174
  };
@@ -178,11 +182,19 @@ declare const _default: {
178
182
  url: string;
179
183
  }[];
180
184
  functionParameter: {
181
- number1: {
185
+ array: {
182
186
  name: string;
183
187
  detail: string;
184
188
  };
185
- number2: {
189
+ rows: {
190
+ name: string;
191
+ detail: string;
192
+ };
193
+ columns: {
194
+ name: string;
195
+ detail: string;
196
+ };
197
+ padWith: {
186
198
  name: string;
187
199
  detail: string;
188
200
  };
@@ -554,11 +566,15 @@ declare const _default: {
554
566
  url: string;
555
567
  }[];
556
568
  functionParameter: {
557
- number1: {
569
+ array: {
558
570
  name: string;
559
571
  detail: string;
560
572
  };
561
- number2: {
573
+ rows: {
574
+ name: string;
575
+ detail: string;
576
+ };
577
+ columns: {
562
578
  name: string;
563
579
  detail: string;
564
580
  };
@@ -572,11 +588,15 @@ declare const _default: {
572
588
  url: string;
573
589
  }[];
574
590
  functionParameter: {
575
- number1: {
591
+ array: {
576
592
  name: string;
577
593
  detail: string;
578
594
  };
579
- number2: {
595
+ ignore: {
596
+ name: string;
597
+ detail: string;
598
+ };
599
+ scanByColumn: {
580
600
  name: string;
581
601
  detail: string;
582
602
  };
@@ -590,11 +610,15 @@ declare const _default: {
590
610
  url: string;
591
611
  }[];
592
612
  functionParameter: {
593
- number1: {
613
+ array: {
594
614
  name: string;
595
615
  detail: string;
596
616
  };
597
- number2: {
617
+ ignore: {
618
+ name: string;
619
+ detail: string;
620
+ };
621
+ scanByColumn: {
598
622
  name: string;
599
623
  detail: string;
600
624
  };
@@ -688,11 +712,15 @@ declare const _default: {
688
712
  url: string;
689
713
  }[];
690
714
  functionParameter: {
691
- number1: {
715
+ vector: {
692
716
  name: string;
693
717
  detail: string;
694
718
  };
695
- number2: {
719
+ wrapCount: {
720
+ name: string;
721
+ detail: string;
722
+ };
723
+ padWith: {
696
724
  name: string;
697
725
  detail: string;
698
726
  };
@@ -706,11 +734,15 @@ declare const _default: {
706
734
  url: string;
707
735
  }[];
708
736
  functionParameter: {
709
- number1: {
737
+ vector: {
710
738
  name: string;
711
739
  detail: string;
712
740
  };
713
- number2: {
741
+ wrapCount: {
742
+ name: string;
743
+ detail: string;
744
+ };
745
+ padWith: {
714
746
  name: string;
715
747
  detail: string;
716
748
  };
@@ -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
  };