@univerjs/sheets-formula 0.2.4 → 0.2.6

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 (49) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +4882 -4712
  3. package/lib/index.css +1 -1
  4. package/lib/locale/en-US.json +387 -349
  5. package/lib/locale/ru-RU.json +315 -325
  6. package/lib/locale/vi-VN.json +177 -227
  7. package/lib/locale/zh-CN.json +391 -353
  8. package/lib/locale/zh-TW.json +403 -365
  9. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +7 -8
  10. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -2
  11. package/lib/types/controllers/formula-clipboard.controller.d.ts +1 -2
  12. package/lib/types/controllers/formula-ui.controller.d.ts +1 -2
  13. package/lib/types/controllers/menu.d.ts +1 -1
  14. package/lib/types/controllers/prompt.controller.d.ts +3 -0
  15. package/lib/types/controllers/update-formula.controller.d.ts +1 -2
  16. package/lib/types/formula-ui-plugin.d.ts +2 -3
  17. package/lib/types/locale/en-US.d.ts +207 -169
  18. package/lib/types/locale/function-list/date/en-US.d.ts +25 -17
  19. package/lib/types/locale/function-list/date/ja-JP.d.ts +25 -17
  20. package/lib/types/locale/function-list/date/zh-CN.d.ts +25 -17
  21. package/lib/types/locale/function-list/date/zh-TW.d.ts +27 -19
  22. package/lib/types/locale/function-list/information/en-US.d.ts +4 -12
  23. package/lib/types/locale/function-list/information/ja-JP.d.ts +4 -12
  24. package/lib/types/locale/function-list/information/zh-CN.d.ts +4 -12
  25. package/lib/types/locale/function-list/information/zh-TW.d.ts +4 -12
  26. package/lib/types/locale/function-list/lookup/en-US.d.ts +53 -21
  27. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +53 -21
  28. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +53 -21
  29. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +53 -21
  30. package/lib/types/locale/function-list/math/en-US.d.ts +69 -111
  31. package/lib/types/locale/function-list/math/ja-JP.d.ts +69 -111
  32. package/lib/types/locale/function-list/math/zh-CN.d.ts +69 -111
  33. package/lib/types/locale/function-list/math/zh-TW.d.ts +71 -113
  34. package/lib/types/locale/function-list/text/en-US.d.ts +56 -8
  35. package/lib/types/locale/function-list/text/ja-JP.d.ts +56 -8
  36. package/lib/types/locale/function-list/text/zh-CN.d.ts +56 -8
  37. package/lib/types/locale/function-list/text/zh-TW.d.ts +56 -8
  38. package/lib/types/locale/ru-RU.d.ts +151 -161
  39. package/lib/types/locale/vi-VN.d.ts +73 -123
  40. package/lib/types/locale/zh-CN.d.ts +207 -169
  41. package/lib/types/locale/zh-TW.d.ts +211 -173
  42. package/lib/types/services/description.service.d.ts +2 -3
  43. package/lib/types/services/formula-ref-range.service.d.ts +1 -2
  44. package/lib/types/services/prompt.service.d.ts +2 -3
  45. package/lib/types/services/register-function.service.d.ts +2 -3
  46. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  47. package/lib/types/services/render-services/ref-selections.render-service.d.ts +5 -4
  48. package/lib/umd/index.js +4 -4
  49. package/package.json +25 -27
@@ -92,11 +92,15 @@ declare const _default: {
92
92
  url: string;
93
93
  }[];
94
94
  functionParameter: {
95
- number1: {
95
+ array: {
96
96
  name: string;
97
97
  detail: string;
98
98
  };
99
- number2: {
99
+ colNum1: {
100
+ name: string;
101
+ detail: string;
102
+ };
103
+ colNum2: {
100
104
  name: string;
101
105
  detail: string;
102
106
  };
@@ -110,11 +114,15 @@ declare const _default: {
110
114
  url: string;
111
115
  }[];
112
116
  functionParameter: {
113
- number1: {
117
+ array: {
114
118
  name: string;
115
119
  detail: string;
116
120
  };
117
- number2: {
121
+ rowNum1: {
122
+ name: string;
123
+ detail: string;
124
+ };
125
+ rowNum2: {
118
126
  name: string;
119
127
  detail: string;
120
128
  };
@@ -192,11 +200,15 @@ declare const _default: {
192
200
  url: string;
193
201
  }[];
194
202
  functionParameter: {
195
- number1: {
203
+ array: {
196
204
  name: string;
197
205
  detail: string;
198
206
  };
199
- number2: {
207
+ include: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ ifEmpty: {
200
212
  name: string;
201
213
  detail: string;
202
214
  };
@@ -272,11 +284,11 @@ declare const _default: {
272
284
  url: string;
273
285
  }[];
274
286
  functionParameter: {
275
- number1: {
287
+ array1: {
276
288
  name: string;
277
289
  detail: string;
278
290
  };
279
- number2: {
291
+ array2: {
280
292
  name: string;
281
293
  detail: string;
282
294
  };
@@ -490,11 +502,19 @@ declare const _default: {
490
502
  url: string;
491
503
  }[];
492
504
  functionParameter: {
493
- number1: {
505
+ array: {
494
506
  name: string;
495
507
  detail: string;
496
508
  };
497
- number2: {
509
+ sortIndex: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ sortOrder: {
514
+ name: string;
515
+ detail: string;
516
+ };
517
+ byCol: {
498
518
  name: string;
499
519
  detail: string;
500
520
  };
@@ -508,11 +528,23 @@ declare const _default: {
508
528
  url: string;
509
529
  }[];
510
530
  functionParameter: {
511
- number1: {
531
+ array: {
512
532
  name: string;
513
533
  detail: string;
514
534
  };
515
- number2: {
535
+ byArray1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ sortOrder1: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ byArray2: {
544
+ name: string;
545
+ detail: string;
546
+ };
547
+ sortOrder2: {
516
548
  name: string;
517
549
  detail: string;
518
550
  };
@@ -580,11 +612,7 @@ declare const _default: {
580
612
  url: string;
581
613
  }[];
582
614
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
615
+ array: {
588
616
  name: string;
589
617
  detail: string;
590
618
  };
@@ -598,11 +626,15 @@ declare const _default: {
598
626
  url: string;
599
627
  }[];
600
628
  functionParameter: {
601
- number1: {
629
+ array: {
602
630
  name: string;
603
631
  detail: string;
604
632
  };
605
- number2: {
633
+ byCol: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ exactlyOnce: {
606
638
  name: string;
607
639
  detail: string;
608
640
  };
@@ -642,11 +674,11 @@ declare const _default: {
642
674
  url: string;
643
675
  }[];
644
676
  functionParameter: {
645
- number1: {
677
+ array1: {
646
678
  name: string;
647
679
  detail: string;
648
680
  };
649
- number2: {
681
+ array2: {
650
682
  name: string;
651
683
  detail: string;
652
684
  };
@@ -92,11 +92,15 @@ declare const _default: {
92
92
  url: string;
93
93
  }[];
94
94
  functionParameter: {
95
- number1: {
95
+ array: {
96
96
  name: string;
97
97
  detail: string;
98
98
  };
99
- number2: {
99
+ colNum1: {
100
+ name: string;
101
+ detail: string;
102
+ };
103
+ colNum2: {
100
104
  name: string;
101
105
  detail: string;
102
106
  };
@@ -110,11 +114,15 @@ declare const _default: {
110
114
  url: string;
111
115
  }[];
112
116
  functionParameter: {
113
- number1: {
117
+ array: {
114
118
  name: string;
115
119
  detail: string;
116
120
  };
117
- number2: {
121
+ rowNum1: {
122
+ name: string;
123
+ detail: string;
124
+ };
125
+ rowNum2: {
118
126
  name: string;
119
127
  detail: string;
120
128
  };
@@ -192,11 +200,15 @@ declare const _default: {
192
200
  url: string;
193
201
  }[];
194
202
  functionParameter: {
195
- number1: {
203
+ array: {
196
204
  name: string;
197
205
  detail: string;
198
206
  };
199
- number2: {
207
+ include: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ ifEmpty: {
200
212
  name: string;
201
213
  detail: string;
202
214
  };
@@ -272,11 +284,11 @@ declare const _default: {
272
284
  url: string;
273
285
  }[];
274
286
  functionParameter: {
275
- number1: {
287
+ array1: {
276
288
  name: string;
277
289
  detail: string;
278
290
  };
279
- number2: {
291
+ array2: {
280
292
  name: string;
281
293
  detail: string;
282
294
  };
@@ -490,11 +502,19 @@ declare const _default: {
490
502
  url: string;
491
503
  }[];
492
504
  functionParameter: {
493
- number1: {
505
+ array: {
494
506
  name: string;
495
507
  detail: string;
496
508
  };
497
- number2: {
509
+ sortIndex: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ sortOrder: {
514
+ name: string;
515
+ detail: string;
516
+ };
517
+ byCol: {
498
518
  name: string;
499
519
  detail: string;
500
520
  };
@@ -508,11 +528,23 @@ declare const _default: {
508
528
  url: string;
509
529
  }[];
510
530
  functionParameter: {
511
- number1: {
531
+ array: {
512
532
  name: string;
513
533
  detail: string;
514
534
  };
515
- number2: {
535
+ byArray1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ sortOrder1: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ byArray2: {
544
+ name: string;
545
+ detail: string;
546
+ };
547
+ sortOrder2: {
516
548
  name: string;
517
549
  detail: string;
518
550
  };
@@ -580,11 +612,7 @@ declare const _default: {
580
612
  url: string;
581
613
  }[];
582
614
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
615
+ array: {
588
616
  name: string;
589
617
  detail: string;
590
618
  };
@@ -598,11 +626,15 @@ declare const _default: {
598
626
  url: string;
599
627
  }[];
600
628
  functionParameter: {
601
- number1: {
629
+ array: {
602
630
  name: string;
603
631
  detail: string;
604
632
  };
605
- number2: {
633
+ byCol: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ exactlyOnce: {
606
638
  name: string;
607
639
  detail: string;
608
640
  };
@@ -642,11 +674,11 @@ declare const _default: {
642
674
  url: string;
643
675
  }[];
644
676
  functionParameter: {
645
- number1: {
677
+ array1: {
646
678
  name: string;
647
679
  detail: string;
648
680
  };
649
- number2: {
681
+ array2: {
650
682
  name: string;
651
683
  detail: string;
652
684
  };
@@ -92,11 +92,15 @@ declare const _default: {
92
92
  url: string;
93
93
  }[];
94
94
  functionParameter: {
95
- number1: {
95
+ array: {
96
96
  name: string;
97
97
  detail: string;
98
98
  };
99
- number2: {
99
+ colNum1: {
100
+ name: string;
101
+ detail: string;
102
+ };
103
+ colNum2: {
100
104
  name: string;
101
105
  detail: string;
102
106
  };
@@ -110,11 +114,15 @@ declare const _default: {
110
114
  url: string;
111
115
  }[];
112
116
  functionParameter: {
113
- number1: {
117
+ array: {
114
118
  name: string;
115
119
  detail: string;
116
120
  };
117
- number2: {
121
+ rowNum1: {
122
+ name: string;
123
+ detail: string;
124
+ };
125
+ rowNum2: {
118
126
  name: string;
119
127
  detail: string;
120
128
  };
@@ -192,11 +200,15 @@ declare const _default: {
192
200
  url: string;
193
201
  }[];
194
202
  functionParameter: {
195
- number1: {
203
+ array: {
196
204
  name: string;
197
205
  detail: string;
198
206
  };
199
- number2: {
207
+ include: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ ifEmpty: {
200
212
  name: string;
201
213
  detail: string;
202
214
  };
@@ -272,11 +284,11 @@ declare const _default: {
272
284
  url: string;
273
285
  }[];
274
286
  functionParameter: {
275
- number1: {
287
+ array1: {
276
288
  name: string;
277
289
  detail: string;
278
290
  };
279
- number2: {
291
+ array2: {
280
292
  name: string;
281
293
  detail: string;
282
294
  };
@@ -490,11 +502,19 @@ declare const _default: {
490
502
  url: string;
491
503
  }[];
492
504
  functionParameter: {
493
- number1: {
505
+ array: {
494
506
  name: string;
495
507
  detail: string;
496
508
  };
497
- number2: {
509
+ sortIndex: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ sortOrder: {
514
+ name: string;
515
+ detail: string;
516
+ };
517
+ byCol: {
498
518
  name: string;
499
519
  detail: string;
500
520
  };
@@ -508,11 +528,23 @@ declare const _default: {
508
528
  url: string;
509
529
  }[];
510
530
  functionParameter: {
511
- number1: {
531
+ array: {
512
532
  name: string;
513
533
  detail: string;
514
534
  };
515
- number2: {
535
+ byArray1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ sortOrder1: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ byArray2: {
544
+ name: string;
545
+ detail: string;
546
+ };
547
+ sortOrder2: {
516
548
  name: string;
517
549
  detail: string;
518
550
  };
@@ -580,11 +612,7 @@ declare const _default: {
580
612
  url: string;
581
613
  }[];
582
614
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
615
+ array: {
588
616
  name: string;
589
617
  detail: string;
590
618
  };
@@ -598,11 +626,15 @@ declare const _default: {
598
626
  url: string;
599
627
  }[];
600
628
  functionParameter: {
601
- number1: {
629
+ array: {
602
630
  name: string;
603
631
  detail: string;
604
632
  };
605
- number2: {
633
+ byCol: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ exactlyOnce: {
606
638
  name: string;
607
639
  detail: string;
608
640
  };
@@ -642,11 +674,11 @@ declare const _default: {
642
674
  url: string;
643
675
  }[];
644
676
  functionParameter: {
645
- number1: {
677
+ array1: {
646
678
  name: string;
647
679
  detail: string;
648
680
  };
649
- number2: {
681
+ array2: {
650
682
  name: string;
651
683
  detail: string;
652
684
  };
@@ -92,11 +92,15 @@ declare const _default: {
92
92
  url: string;
93
93
  }[];
94
94
  functionParameter: {
95
- number1: {
95
+ array: {
96
96
  name: string;
97
97
  detail: string;
98
98
  };
99
- number2: {
99
+ colNum1: {
100
+ name: string;
101
+ detail: string;
102
+ };
103
+ colNum2: {
100
104
  name: string;
101
105
  detail: string;
102
106
  };
@@ -110,11 +114,15 @@ declare const _default: {
110
114
  url: string;
111
115
  }[];
112
116
  functionParameter: {
113
- number1: {
117
+ array: {
114
118
  name: string;
115
119
  detail: string;
116
120
  };
117
- number2: {
121
+ rowNum1: {
122
+ name: string;
123
+ detail: string;
124
+ };
125
+ rowNum2: {
118
126
  name: string;
119
127
  detail: string;
120
128
  };
@@ -192,11 +200,15 @@ declare const _default: {
192
200
  url: string;
193
201
  }[];
194
202
  functionParameter: {
195
- number1: {
203
+ array: {
196
204
  name: string;
197
205
  detail: string;
198
206
  };
199
- number2: {
207
+ include: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ ifEmpty: {
200
212
  name: string;
201
213
  detail: string;
202
214
  };
@@ -272,11 +284,11 @@ declare const _default: {
272
284
  url: string;
273
285
  }[];
274
286
  functionParameter: {
275
- number1: {
287
+ array1: {
276
288
  name: string;
277
289
  detail: string;
278
290
  };
279
- number2: {
291
+ array2: {
280
292
  name: string;
281
293
  detail: string;
282
294
  };
@@ -490,11 +502,19 @@ declare const _default: {
490
502
  url: string;
491
503
  }[];
492
504
  functionParameter: {
493
- number1: {
505
+ array: {
494
506
  name: string;
495
507
  detail: string;
496
508
  };
497
- number2: {
509
+ sortIndex: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ sortOrder: {
514
+ name: string;
515
+ detail: string;
516
+ };
517
+ byCol: {
498
518
  name: string;
499
519
  detail: string;
500
520
  };
@@ -508,11 +528,23 @@ declare const _default: {
508
528
  url: string;
509
529
  }[];
510
530
  functionParameter: {
511
- number1: {
531
+ array: {
512
532
  name: string;
513
533
  detail: string;
514
534
  };
515
- number2: {
535
+ byArray1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ sortOrder1: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ byArray2: {
544
+ name: string;
545
+ detail: string;
546
+ };
547
+ sortOrder2: {
516
548
  name: string;
517
549
  detail: string;
518
550
  };
@@ -580,11 +612,7 @@ declare const _default: {
580
612
  url: string;
581
613
  }[];
582
614
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
615
+ array: {
588
616
  name: string;
589
617
  detail: string;
590
618
  };
@@ -598,11 +626,15 @@ declare const _default: {
598
626
  url: string;
599
627
  }[];
600
628
  functionParameter: {
601
- number1: {
629
+ array: {
602
630
  name: string;
603
631
  detail: string;
604
632
  };
605
- number2: {
633
+ byCol: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ exactlyOnce: {
606
638
  name: string;
607
639
  detail: string;
608
640
  };
@@ -642,11 +674,11 @@ declare const _default: {
642
674
  url: string;
643
675
  }[];
644
676
  functionParameter: {
645
- number1: {
677
+ array1: {
646
678
  name: string;
647
679
  detail: string;
648
680
  };
649
- number2: {
681
+ array2: {
650
682
  name: string;
651
683
  detail: string;
652
684
  };