@univerjs/sheets-formula 0.2.11 → 0.2.13

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 (48) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +576 -436
  3. package/lib/locale/en-US.json +208 -193
  4. package/lib/locale/ru-RU.json +208 -193
  5. package/lib/locale/vi-VN.json +539 -44
  6. package/lib/locale/zh-CN.json +216 -201
  7. package/lib/locale/zh-TW.json +222 -207
  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/config.schema.d.ts +32 -0
  12. package/lib/types/controllers/formula-ui.controller.d.ts +4 -13
  13. package/lib/types/controllers/menu.schema.d.ts +2 -0
  14. package/lib/types/controllers/prompt.controller.d.ts +7 -6
  15. package/lib/types/controllers/utils/ref-range-formula.d.ts +6 -0
  16. package/lib/types/formula-ui-plugin.d.ts +8 -5
  17. package/lib/types/locale/en-US.d.ts +106 -91
  18. package/lib/types/locale/function-list/information/en-US.d.ts +3 -20
  19. package/lib/types/locale/function-list/information/ja-JP.d.ts +3 -20
  20. package/lib/types/locale/function-list/information/vi-VN.d.ts +37 -0
  21. package/lib/types/locale/function-list/information/zh-CN.d.ts +3 -20
  22. package/lib/types/locale/function-list/information/zh-TW.d.ts +3 -20
  23. package/lib/types/locale/function-list/logical/en-US.d.ts +22 -10
  24. package/lib/types/locale/function-list/logical/ja-JP.d.ts +22 -10
  25. package/lib/types/locale/function-list/logical/vi-VN.d.ts +22 -10
  26. package/lib/types/locale/function-list/logical/zh-CN.d.ts +22 -10
  27. package/lib/types/locale/function-list/logical/zh-TW.d.ts +22 -10
  28. package/lib/types/locale/function-list/lookup/en-US.d.ts +46 -14
  29. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +46 -14
  30. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +126 -4
  31. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +46 -14
  32. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +46 -14
  33. package/lib/types/locale/function-list/math/en-US.d.ts +35 -47
  34. package/lib/types/locale/function-list/math/ja-JP.d.ts +35 -47
  35. package/lib/types/locale/function-list/math/vi-VN.d.ts +276 -0
  36. package/lib/types/locale/function-list/math/zh-CN.d.ts +35 -47
  37. package/lib/types/locale/function-list/math/zh-TW.d.ts +35 -47
  38. package/lib/types/locale/ru-RU.d.ts +106 -91
  39. package/lib/types/locale/vi-VN.d.ts +461 -14
  40. package/lib/types/locale/zh-CN.d.ts +106 -91
  41. package/lib/types/locale/zh-TW.d.ts +106 -91
  42. package/lib/types/services/description.service.d.ts +4 -4
  43. package/lib/types/services/prompt.service.d.ts +1 -1
  44. package/lib/types/services/register-function.service.d.ts +1 -1
  45. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  46. package/lib/types/views/more-functions/interface.d.ts +1 -1
  47. package/lib/umd/index.js +4 -4
  48. package/package.json +27 -25
@@ -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
  };
@@ -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: {
186
+ name: string;
187
+ detail: string;
188
+ };
189
+ rows: {
182
190
  name: string;
183
191
  detail: string;
184
192
  };
185
- number2: {
193
+ columns: {
194
+ name: string;
195
+ detail: string;
196
+ };
197
+ padWith: {
186
198
  name: string;
187
199
  detail: string;
188
200
  };
@@ -456,6 +468,72 @@ declare const _default: {
456
468
  };
457
469
  };
458
470
  };
471
+ TAKE: {
472
+ description: string;
473
+ abstract: string;
474
+ links: {
475
+ title: string;
476
+ url: string;
477
+ }[];
478
+ functionParameter: {
479
+ array: {
480
+ name: string;
481
+ detail: string;
482
+ };
483
+ rows: {
484
+ name: string;
485
+ detail: string;
486
+ };
487
+ columns: {
488
+ name: string;
489
+ detail: string;
490
+ };
491
+ };
492
+ };
493
+ TOCOL: {
494
+ description: string;
495
+ abstract: string;
496
+ links: {
497
+ title: string;
498
+ url: string;
499
+ }[];
500
+ functionParameter: {
501
+ array: {
502
+ name: string;
503
+ detail: string;
504
+ };
505
+ ignore: {
506
+ name: string;
507
+ detail: string;
508
+ };
509
+ scanByColumn: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ };
514
+ };
515
+ TOROW: {
516
+ description: string;
517
+ abstract: string;
518
+ links: {
519
+ title: string;
520
+ url: string;
521
+ }[];
522
+ functionParameter: {
523
+ array: {
524
+ name: string;
525
+ detail: string;
526
+ };
527
+ ignore: {
528
+ name: string;
529
+ detail: string;
530
+ };
531
+ scanByColumn: {
532
+ name: string;
533
+ detail: string;
534
+ };
535
+ };
536
+ };
459
537
  TRANSPOSE: {
460
538
  description: string;
461
539
  abstract: string;
@@ -536,6 +614,50 @@ declare const _default: {
536
614
  };
537
615
  };
538
616
  };
617
+ WRAPCOLS: {
618
+ description: string;
619
+ abstract: string;
620
+ links: {
621
+ title: string;
622
+ url: string;
623
+ }[];
624
+ functionParameter: {
625
+ vector: {
626
+ name: string;
627
+ detail: string;
628
+ };
629
+ wrapCount: {
630
+ name: string;
631
+ detail: string;
632
+ };
633
+ padWith: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ };
638
+ };
639
+ WRAPROWS: {
640
+ description: string;
641
+ abstract: string;
642
+ links: {
643
+ title: string;
644
+ url: string;
645
+ }[];
646
+ functionParameter: {
647
+ vector: {
648
+ name: string;
649
+ detail: string;
650
+ };
651
+ wrapCount: {
652
+ name: string;
653
+ detail: string;
654
+ };
655
+ padWith: {
656
+ name: string;
657
+ detail: string;
658
+ };
659
+ };
660
+ };
539
661
  XLOOKUP: {
540
662
  description: string;
541
663
  abstract: string;
@@ -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
  };