@univerjs/sheets-formula 0.2.5 → 0.2.7

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 (44) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +4695 -4511
  3. package/lib/locale/en-US.json +246 -172
  4. package/lib/locale/ru-RU.json +172 -146
  5. package/lib/locale/vi-VN.json +1986 -1481
  6. package/lib/locale/zh-CN.json +287 -213
  7. package/lib/locale/zh-TW.json +371 -329
  8. package/lib/types/controllers/prompt.controller.d.ts +3 -5
  9. package/lib/types/formula-ui-plugin.d.ts +1 -1
  10. package/lib/types/index.d.ts +1 -0
  11. package/lib/types/locale/en-US.d.ts +143 -69
  12. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  13. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  14. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  15. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  16. package/lib/types/locale/function-list/logical/en-US.d.ts +31 -33
  17. package/lib/types/locale/function-list/logical/ja-JP.d.ts +31 -33
  18. package/lib/types/locale/function-list/logical/vi-VN.d.ts +31 -33
  19. package/lib/types/locale/function-list/logical/zh-CN.d.ts +31 -33
  20. package/lib/types/locale/function-list/logical/zh-TW.d.ts +31 -33
  21. package/lib/types/locale/function-list/lookup/en-US.d.ts +54 -26
  22. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +54 -26
  23. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  24. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +54 -26
  25. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +54 -26
  26. package/lib/types/locale/function-list/math/en-US.d.ts +2 -2
  27. package/lib/types/locale/function-list/math/ja-JP.d.ts +2 -2
  28. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  29. package/lib/types/locale/function-list/math/zh-CN.d.ts +2 -2
  30. package/lib/types/locale/function-list/math/zh-TW.d.ts +23 -79
  31. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  32. package/lib/types/locale/function-list/text/en-US.d.ts +56 -8
  33. package/lib/types/locale/function-list/text/ja-JP.d.ts +56 -8
  34. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  35. package/lib/types/locale/function-list/text/zh-CN.d.ts +56 -8
  36. package/lib/types/locale/function-list/text/zh-TW.d.ts +56 -8
  37. package/lib/types/locale/ru-RU.d.ts +87 -61
  38. package/lib/types/locale/vi-VN.d.ts +953 -482
  39. package/lib/types/locale/zh-CN.d.ts +143 -69
  40. package/lib/types/locale/zh-TW.d.ts +196 -154
  41. package/lib/types/services/prompt.service.d.ts +5 -1
  42. package/lib/types/services/render-services/ref-selections.render-service.d.ts +4 -2
  43. package/lib/umd/index.js +4 -4
  44. package/package.json +25 -25
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -92,11 +88,15 @@ declare const _default: {
92
88
  url: string;
93
89
  }[];
94
90
  functionParameter: {
95
- number1: {
91
+ array: {
96
92
  name: string;
97
93
  detail: string;
98
94
  };
99
- number2: {
95
+ colNum1: {
96
+ name: string;
97
+ detail: string;
98
+ };
99
+ colNum2: {
100
100
  name: string;
101
101
  detail: string;
102
102
  };
@@ -110,11 +110,15 @@ declare const _default: {
110
110
  url: string;
111
111
  }[];
112
112
  functionParameter: {
113
- number1: {
113
+ array: {
114
114
  name: string;
115
115
  detail: string;
116
116
  };
117
- number2: {
117
+ rowNum1: {
118
+ name: string;
119
+ detail: string;
120
+ };
121
+ rowNum2: {
118
122
  name: string;
119
123
  detail: string;
120
124
  };
@@ -192,11 +196,15 @@ declare const _default: {
192
196
  url: string;
193
197
  }[];
194
198
  functionParameter: {
195
- number1: {
199
+ array: {
196
200
  name: string;
197
201
  detail: string;
198
202
  };
199
- number2: {
203
+ include: {
204
+ name: string;
205
+ detail: string;
206
+ };
207
+ ifEmpty: {
200
208
  name: string;
201
209
  detail: string;
202
210
  };
@@ -272,11 +280,11 @@ declare const _default: {
272
280
  url: string;
273
281
  }[];
274
282
  functionParameter: {
275
- number1: {
283
+ array1: {
276
284
  name: string;
277
285
  detail: string;
278
286
  };
279
- number2: {
287
+ array2: {
280
288
  name: string;
281
289
  detail: string;
282
290
  };
@@ -490,11 +498,19 @@ declare const _default: {
490
498
  url: string;
491
499
  }[];
492
500
  functionParameter: {
493
- number1: {
501
+ array: {
494
502
  name: string;
495
503
  detail: string;
496
504
  };
497
- number2: {
505
+ sortIndex: {
506
+ name: string;
507
+ detail: string;
508
+ };
509
+ sortOrder: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ byCol: {
498
514
  name: string;
499
515
  detail: string;
500
516
  };
@@ -508,11 +524,23 @@ declare const _default: {
508
524
  url: string;
509
525
  }[];
510
526
  functionParameter: {
511
- number1: {
527
+ array: {
512
528
  name: string;
513
529
  detail: string;
514
530
  };
515
- number2: {
531
+ byArray1: {
532
+ name: string;
533
+ detail: string;
534
+ };
535
+ sortOrder1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ byArray2: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ sortOrder2: {
516
544
  name: string;
517
545
  detail: string;
518
546
  };
@@ -580,11 +608,7 @@ declare const _default: {
580
608
  url: string;
581
609
  }[];
582
610
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
611
+ array: {
588
612
  name: string;
589
613
  detail: string;
590
614
  };
@@ -598,11 +622,15 @@ declare const _default: {
598
622
  url: string;
599
623
  }[];
600
624
  functionParameter: {
601
- number1: {
625
+ array: {
602
626
  name: string;
603
627
  detail: string;
604
628
  };
605
- number2: {
629
+ byCol: {
630
+ name: string;
631
+ detail: string;
632
+ };
633
+ exactlyOnce: {
606
634
  name: string;
607
635
  detail: string;
608
636
  };
@@ -642,11 +670,11 @@ declare const _default: {
642
670
  url: string;
643
671
  }[];
644
672
  functionParameter: {
645
- number1: {
673
+ array1: {
646
674
  name: string;
647
675
  detail: string;
648
676
  };
649
- number2: {
677
+ array2: {
650
678
  name: string;
651
679
  detail: string;
652
680
  };
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -92,11 +88,15 @@ declare const _default: {
92
88
  url: string;
93
89
  }[];
94
90
  functionParameter: {
95
- number1: {
91
+ array: {
96
92
  name: string;
97
93
  detail: string;
98
94
  };
99
- number2: {
95
+ colNum1: {
96
+ name: string;
97
+ detail: string;
98
+ };
99
+ colNum2: {
100
100
  name: string;
101
101
  detail: string;
102
102
  };
@@ -110,11 +110,15 @@ declare const _default: {
110
110
  url: string;
111
111
  }[];
112
112
  functionParameter: {
113
- number1: {
113
+ array: {
114
114
  name: string;
115
115
  detail: string;
116
116
  };
117
- number2: {
117
+ rowNum1: {
118
+ name: string;
119
+ detail: string;
120
+ };
121
+ rowNum2: {
118
122
  name: string;
119
123
  detail: string;
120
124
  };
@@ -192,11 +196,15 @@ declare const _default: {
192
196
  url: string;
193
197
  }[];
194
198
  functionParameter: {
195
- number1: {
199
+ array: {
196
200
  name: string;
197
201
  detail: string;
198
202
  };
199
- number2: {
203
+ include: {
204
+ name: string;
205
+ detail: string;
206
+ };
207
+ ifEmpty: {
200
208
  name: string;
201
209
  detail: string;
202
210
  };
@@ -272,11 +280,11 @@ declare const _default: {
272
280
  url: string;
273
281
  }[];
274
282
  functionParameter: {
275
- number1: {
283
+ array1: {
276
284
  name: string;
277
285
  detail: string;
278
286
  };
279
- number2: {
287
+ array2: {
280
288
  name: string;
281
289
  detail: string;
282
290
  };
@@ -490,11 +498,19 @@ declare const _default: {
490
498
  url: string;
491
499
  }[];
492
500
  functionParameter: {
493
- number1: {
501
+ array: {
494
502
  name: string;
495
503
  detail: string;
496
504
  };
497
- number2: {
505
+ sortIndex: {
506
+ name: string;
507
+ detail: string;
508
+ };
509
+ sortOrder: {
510
+ name: string;
511
+ detail: string;
512
+ };
513
+ byCol: {
498
514
  name: string;
499
515
  detail: string;
500
516
  };
@@ -508,11 +524,23 @@ declare const _default: {
508
524
  url: string;
509
525
  }[];
510
526
  functionParameter: {
511
- number1: {
527
+ array: {
512
528
  name: string;
513
529
  detail: string;
514
530
  };
515
- number2: {
531
+ byArray1: {
532
+ name: string;
533
+ detail: string;
534
+ };
535
+ sortOrder1: {
536
+ name: string;
537
+ detail: string;
538
+ };
539
+ byArray2: {
540
+ name: string;
541
+ detail: string;
542
+ };
543
+ sortOrder2: {
516
544
  name: string;
517
545
  detail: string;
518
546
  };
@@ -580,11 +608,7 @@ declare const _default: {
580
608
  url: string;
581
609
  }[];
582
610
  functionParameter: {
583
- number1: {
584
- name: string;
585
- detail: string;
586
- };
587
- number2: {
611
+ array: {
588
612
  name: string;
589
613
  detail: string;
590
614
  };
@@ -598,11 +622,15 @@ declare const _default: {
598
622
  url: string;
599
623
  }[];
600
624
  functionParameter: {
601
- number1: {
625
+ array: {
602
626
  name: string;
603
627
  detail: string;
604
628
  };
605
- number2: {
629
+ byCol: {
630
+ name: string;
631
+ detail: string;
632
+ };
633
+ exactlyOnce: {
606
634
  name: string;
607
635
  detail: string;
608
636
  };
@@ -642,11 +670,11 @@ declare const _default: {
642
670
  url: string;
643
671
  }[];
644
672
  functionParameter: {
645
- number1: {
673
+ array1: {
646
674
  name: string;
647
675
  detail: string;
648
676
  };
649
- number2: {
677
+ array2: {
650
678
  name: string;
651
679
  detail: string;
652
680
  };