@univerjs/sheets-formula 0.2.6 → 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 (35) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +324 -377
  3. package/lib/locale/en-US.json +82 -88
  4. package/lib/locale/ru-RU.json +79 -85
  5. package/lib/locale/vi-VN.json +1988 -1483
  6. package/lib/locale/zh-CN.json +122 -128
  7. package/lib/locale/zh-TW.json +206 -244
  8. package/lib/types/controllers/prompt.controller.d.ts +3 -5
  9. package/lib/types/index.d.ts +1 -0
  10. package/lib/types/locale/en-US.d.ts +32 -38
  11. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  12. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  13. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  14. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  15. package/lib/types/locale/function-list/logical/en-US.d.ts +31 -33
  16. package/lib/types/locale/function-list/logical/ja-JP.d.ts +31 -33
  17. package/lib/types/locale/function-list/logical/vi-VN.d.ts +31 -33
  18. package/lib/types/locale/function-list/logical/zh-CN.d.ts +31 -33
  19. package/lib/types/locale/function-list/logical/zh-TW.d.ts +31 -33
  20. package/lib/types/locale/function-list/lookup/en-US.d.ts +1 -5
  21. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +1 -5
  22. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  23. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +1 -5
  24. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +1 -5
  25. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  26. package/lib/types/locale/function-list/math/zh-TW.d.ts +21 -77
  27. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  28. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  29. package/lib/types/locale/ru-RU.d.ts +32 -38
  30. package/lib/types/locale/vi-VN.d.ts +917 -446
  31. package/lib/types/locale/zh-CN.d.ts +32 -38
  32. package/lib/types/locale/zh-TW.d.ts +85 -123
  33. package/lib/types/services/prompt.service.d.ts +5 -1
  34. package/lib/umd/index.js +4 -4
  35. package/package.json +23 -23
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -184,5 +188,413 @@ declare const _default: {
184
188
  };
185
189
  };
186
190
  };
191
+ FILTER: {
192
+ description: string;
193
+ abstract: string;
194
+ links: {
195
+ title: string;
196
+ url: string;
197
+ }[];
198
+ functionParameter: {
199
+ array: {
200
+ name: string;
201
+ detail: string;
202
+ };
203
+ include: {
204
+ name: string;
205
+ detail: string;
206
+ };
207
+ ifEmpty: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ };
212
+ };
213
+ HLOOKUP: {
214
+ description: string;
215
+ abstract: string;
216
+ links: {
217
+ title: string;
218
+ url: string;
219
+ }[];
220
+ functionParameter: {
221
+ lookupValue: {
222
+ name: string;
223
+ detail: string;
224
+ };
225
+ tableArray: {
226
+ name: string;
227
+ detail: string;
228
+ };
229
+ rowIndexNum: {
230
+ name: string;
231
+ detail: string;
232
+ };
233
+ rangeLookup: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ };
238
+ };
239
+ HSTACK: {
240
+ description: string;
241
+ abstract: string;
242
+ links: {
243
+ title: string;
244
+ url: string;
245
+ }[];
246
+ functionParameter: {
247
+ array1: {
248
+ name: string;
249
+ detail: string;
250
+ };
251
+ array2: {
252
+ name: string;
253
+ detail: string;
254
+ };
255
+ };
256
+ };
257
+ INDEX: {
258
+ description: string;
259
+ abstract: string;
260
+ links: {
261
+ title: string;
262
+ url: string;
263
+ }[];
264
+ functionParameter: {
265
+ reference: {
266
+ name: string;
267
+ detail: string;
268
+ };
269
+ rowNum: {
270
+ name: string;
271
+ detail: string;
272
+ };
273
+ columnNum: {
274
+ name: string;
275
+ detail: string;
276
+ };
277
+ areaNum: {
278
+ name: string;
279
+ detail: string;
280
+ };
281
+ };
282
+ };
283
+ INDIRECT: {
284
+ description: string;
285
+ abstract: string;
286
+ links: {
287
+ title: string;
288
+ url: string;
289
+ }[];
290
+ functionParameter: {
291
+ refText: {
292
+ name: string;
293
+ detail: string;
294
+ };
295
+ a1: {
296
+ name: string;
297
+ detail: string;
298
+ };
299
+ };
300
+ };
301
+ LOOKUP: {
302
+ description: string;
303
+ abstract: string;
304
+ links: {
305
+ title: string;
306
+ url: string;
307
+ }[];
308
+ functionParameter: {
309
+ lookupValue: {
310
+ name: string;
311
+ detail: string;
312
+ };
313
+ lookupVectorOrArray: {
314
+ name: string;
315
+ detail: string;
316
+ };
317
+ resultVector: {
318
+ name: string;
319
+ detail: string;
320
+ };
321
+ };
322
+ };
323
+ MATCH: {
324
+ description: string;
325
+ abstract: string;
326
+ links: {
327
+ title: string;
328
+ url: string;
329
+ }[];
330
+ functionParameter: {
331
+ lookupValue: {
332
+ name: string;
333
+ detail: string;
334
+ };
335
+ lookupArray: {
336
+ name: string;
337
+ detail: string;
338
+ };
339
+ matchType: {
340
+ name: string;
341
+ detail: string;
342
+ };
343
+ };
344
+ };
345
+ OFFSET: {
346
+ description: string;
347
+ abstract: string;
348
+ links: {
349
+ title: string;
350
+ url: string;
351
+ }[];
352
+ functionParameter: {
353
+ reference: {
354
+ name: string;
355
+ detail: string;
356
+ };
357
+ rows: {
358
+ name: string;
359
+ detail: string;
360
+ };
361
+ cols: {
362
+ name: string;
363
+ detail: string;
364
+ };
365
+ height: {
366
+ name: string;
367
+ detail: string;
368
+ };
369
+ width: {
370
+ name: string;
371
+ detail: string;
372
+ };
373
+ };
374
+ };
375
+ ROW: {
376
+ description: string;
377
+ abstract: string;
378
+ links: {
379
+ title: string;
380
+ url: string;
381
+ }[];
382
+ functionParameter: {
383
+ reference: {
384
+ name: string;
385
+ detail: string;
386
+ };
387
+ };
388
+ };
389
+ ROWS: {
390
+ description: string;
391
+ abstract: string;
392
+ links: {
393
+ title: string;
394
+ url: string;
395
+ }[];
396
+ functionParameter: {
397
+ array: {
398
+ name: string;
399
+ detail: string;
400
+ };
401
+ };
402
+ };
403
+ SORT: {
404
+ description: string;
405
+ abstract: string;
406
+ links: {
407
+ title: string;
408
+ url: string;
409
+ }[];
410
+ functionParameter: {
411
+ array: {
412
+ name: string;
413
+ detail: string;
414
+ };
415
+ sortIndex: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ sortOrder: {
420
+ name: string;
421
+ detail: string;
422
+ };
423
+ byCol: {
424
+ name: string;
425
+ detail: string;
426
+ };
427
+ };
428
+ };
429
+ SORTBY: {
430
+ description: string;
431
+ abstract: string;
432
+ links: {
433
+ title: string;
434
+ url: string;
435
+ }[];
436
+ functionParameter: {
437
+ array: {
438
+ name: string;
439
+ detail: string;
440
+ };
441
+ byArray1: {
442
+ name: string;
443
+ detail: string;
444
+ };
445
+ sortOrder1: {
446
+ name: string;
447
+ detail: string;
448
+ };
449
+ byArray2: {
450
+ name: string;
451
+ detail: string;
452
+ };
453
+ sortOrder2: {
454
+ name: string;
455
+ detail: string;
456
+ };
457
+ };
458
+ };
459
+ TRANSPOSE: {
460
+ description: string;
461
+ abstract: string;
462
+ links: {
463
+ title: string;
464
+ url: string;
465
+ }[];
466
+ functionParameter: {
467
+ array: {
468
+ name: string;
469
+ detail: string;
470
+ };
471
+ };
472
+ };
473
+ UNIQUE: {
474
+ description: string;
475
+ abstract: string;
476
+ links: {
477
+ title: string;
478
+ url: string;
479
+ }[];
480
+ functionParameter: {
481
+ array: {
482
+ name: string;
483
+ detail: string;
484
+ };
485
+ byCol: {
486
+ name: string;
487
+ detail: string;
488
+ };
489
+ exactlyOnce: {
490
+ name: string;
491
+ detail: string;
492
+ };
493
+ };
494
+ };
495
+ VLOOKUP: {
496
+ description: string;
497
+ abstract: string;
498
+ links: {
499
+ title: string;
500
+ url: string;
501
+ }[];
502
+ functionParameter: {
503
+ lookupValue: {
504
+ name: string;
505
+ detail: string;
506
+ };
507
+ tableArray: {
508
+ name: string;
509
+ detail: string;
510
+ };
511
+ colIndexNum: {
512
+ name: string;
513
+ detail: string;
514
+ };
515
+ rangeLookup: {
516
+ name: string;
517
+ detail: string;
518
+ };
519
+ };
520
+ };
521
+ VSTACK: {
522
+ description: string;
523
+ abstract: string;
524
+ links: {
525
+ title: string;
526
+ url: string;
527
+ }[];
528
+ functionParameter: {
529
+ array1: {
530
+ name: string;
531
+ detail: string;
532
+ };
533
+ array2: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ };
538
+ };
539
+ XLOOKUP: {
540
+ description: string;
541
+ abstract: string;
542
+ links: {
543
+ title: string;
544
+ url: string;
545
+ }[];
546
+ functionParameter: {
547
+ lookupValue: {
548
+ name: string;
549
+ detail: string;
550
+ };
551
+ lookupArray: {
552
+ name: string;
553
+ detail: string;
554
+ };
555
+ returnArray: {
556
+ name: string;
557
+ detail: string;
558
+ };
559
+ ifNotFound: {
560
+ name: string;
561
+ detail: string;
562
+ };
563
+ matchMode: {
564
+ name: string;
565
+ detail: string;
566
+ };
567
+ searchMode: {
568
+ name: string;
569
+ detail: string;
570
+ };
571
+ };
572
+ };
573
+ XMATCH: {
574
+ description: string;
575
+ abstract: string;
576
+ links: {
577
+ title: string;
578
+ url: string;
579
+ }[];
580
+ functionParameter: {
581
+ lookupValue: {
582
+ name: string;
583
+ detail: string;
584
+ };
585
+ lookupArray: {
586
+ name: string;
587
+ detail: string;
588
+ };
589
+ matchMode: {
590
+ name: string;
591
+ detail: string;
592
+ };
593
+ searchMode: {
594
+ name: string;
595
+ detail: string;
596
+ };
597
+ };
598
+ };
187
599
  };
188
600
  export default _default;
@@ -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
  };
@@ -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
  };