@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
@@ -2032,11 +2032,11 @@ declare const _default: {
2032
2032
  url: string;
2033
2033
  }[];
2034
2034
  functionParameter: {
2035
- number1: {
2035
+ array: {
2036
2036
  name: string;
2037
2037
  detail: string;
2038
2038
  };
2039
- number2: {
2039
+ lambda: {
2040
2040
  name: string;
2041
2041
  detail: string;
2042
2042
  };
@@ -2050,11 +2050,11 @@ declare const _default: {
2050
2050
  url: string;
2051
2051
  }[];
2052
2052
  functionParameter: {
2053
- number1: {
2053
+ array: {
2054
2054
  name: string;
2055
2055
  detail: string;
2056
2056
  };
2057
- number2: {
2057
+ lambda: {
2058
2058
  name: string;
2059
2059
  detail: string;
2060
2060
  };
@@ -2231,11 +2231,15 @@ declare const _default: {
2231
2231
  url: string;
2232
2232
  }[];
2233
2233
  functionParameter: {
2234
- number1: {
2234
+ array1: {
2235
2235
  name: string;
2236
2236
  detail: string;
2237
2237
  };
2238
- number2: {
2238
+ array2: {
2239
+ name: string;
2240
+ detail: string;
2241
+ };
2242
+ lambda: {
2239
2243
  name: string;
2240
2244
  detail: string;
2241
2245
  };
@@ -2281,11 +2285,15 @@ declare const _default: {
2281
2285
  url: string;
2282
2286
  }[];
2283
2287
  functionParameter: {
2284
- number1: {
2288
+ initialValue: {
2285
2289
  name: string;
2286
2290
  detail: string;
2287
2291
  };
2288
- number2: {
2292
+ array: {
2293
+ name: string;
2294
+ detail: string;
2295
+ };
2296
+ lambda: {
2289
2297
  name: string;
2290
2298
  detail: string;
2291
2299
  };
@@ -2299,11 +2307,15 @@ declare const _default: {
2299
2307
  url: string;
2300
2308
  }[];
2301
2309
  functionParameter: {
2302
- number1: {
2310
+ initialValue: {
2303
2311
  name: string;
2304
2312
  detail: string;
2305
2313
  };
2306
- number2: {
2314
+ array: {
2315
+ name: string;
2316
+ detail: string;
2317
+ };
2318
+ lambda: {
2307
2319
  name: string;
2308
2320
  detail: string;
2309
2321
  };
@@ -3494,11 +3506,15 @@ declare const _default: {
3494
3506
  url: string;
3495
3507
  }[];
3496
3508
  functionParameter: {
3497
- number1: {
3509
+ array: {
3498
3510
  name: string;
3499
3511
  detail: string;
3500
3512
  };
3501
- number2: {
3513
+ rows: {
3514
+ name: string;
3515
+ detail: string;
3516
+ };
3517
+ columns: {
3502
3518
  name: string;
3503
3519
  detail: string;
3504
3520
  };
@@ -3512,11 +3528,19 @@ declare const _default: {
3512
3528
  url: string;
3513
3529
  }[];
3514
3530
  functionParameter: {
3515
- number1: {
3531
+ array: {
3516
3532
  name: string;
3517
3533
  detail: string;
3518
3534
  };
3519
- number2: {
3535
+ rows: {
3536
+ name: string;
3537
+ detail: string;
3538
+ };
3539
+ columns: {
3540
+ name: string;
3541
+ detail: string;
3542
+ };
3543
+ padWith: {
3520
3544
  name: string;
3521
3545
  detail: string;
3522
3546
  };
@@ -3790,6 +3814,72 @@ declare const _default: {
3790
3814
  };
3791
3815
  };
3792
3816
  };
3817
+ TAKE: {
3818
+ description: string;
3819
+ abstract: string;
3820
+ links: {
3821
+ title: string;
3822
+ url: string;
3823
+ }[];
3824
+ functionParameter: {
3825
+ array: {
3826
+ name: string;
3827
+ detail: string;
3828
+ };
3829
+ rows: {
3830
+ name: string;
3831
+ detail: string;
3832
+ };
3833
+ columns: {
3834
+ name: string;
3835
+ detail: string;
3836
+ };
3837
+ };
3838
+ };
3839
+ TOCOL: {
3840
+ description: string;
3841
+ abstract: string;
3842
+ links: {
3843
+ title: string;
3844
+ url: string;
3845
+ }[];
3846
+ functionParameter: {
3847
+ array: {
3848
+ name: string;
3849
+ detail: string;
3850
+ };
3851
+ ignore: {
3852
+ name: string;
3853
+ detail: string;
3854
+ };
3855
+ scanByColumn: {
3856
+ name: string;
3857
+ detail: string;
3858
+ };
3859
+ };
3860
+ };
3861
+ TOROW: {
3862
+ description: string;
3863
+ abstract: string;
3864
+ links: {
3865
+ title: string;
3866
+ url: string;
3867
+ }[];
3868
+ functionParameter: {
3869
+ array: {
3870
+ name: string;
3871
+ detail: string;
3872
+ };
3873
+ ignore: {
3874
+ name: string;
3875
+ detail: string;
3876
+ };
3877
+ scanByColumn: {
3878
+ name: string;
3879
+ detail: string;
3880
+ };
3881
+ };
3882
+ };
3793
3883
  TRANSPOSE: {
3794
3884
  description: string;
3795
3885
  abstract: string;
@@ -3870,6 +3960,50 @@ declare const _default: {
3870
3960
  };
3871
3961
  };
3872
3962
  };
3963
+ WRAPCOLS: {
3964
+ description: string;
3965
+ abstract: string;
3966
+ links: {
3967
+ title: string;
3968
+ url: string;
3969
+ }[];
3970
+ functionParameter: {
3971
+ vector: {
3972
+ name: string;
3973
+ detail: string;
3974
+ };
3975
+ wrapCount: {
3976
+ name: string;
3977
+ detail: string;
3978
+ };
3979
+ padWith: {
3980
+ name: string;
3981
+ detail: string;
3982
+ };
3983
+ };
3984
+ };
3985
+ WRAPROWS: {
3986
+ description: string;
3987
+ abstract: string;
3988
+ links: {
3989
+ title: string;
3990
+ url: string;
3991
+ }[];
3992
+ functionParameter: {
3993
+ vector: {
3994
+ name: string;
3995
+ detail: string;
3996
+ };
3997
+ wrapCount: {
3998
+ name: string;
3999
+ detail: string;
4000
+ };
4001
+ padWith: {
4002
+ name: string;
4003
+ detail: string;
4004
+ };
4005
+ };
4006
+ };
3873
4007
  XLOOKUP: {
3874
4008
  description: string;
3875
4009
  abstract: string;
@@ -4908,6 +5042,42 @@ declare const _default: {
4908
5042
  };
4909
5043
  };
4910
5044
  };
5045
+ COMBIN: {
5046
+ description: string;
5047
+ abstract: string;
5048
+ links: {
5049
+ title: string;
5050
+ url: string;
5051
+ }[];
5052
+ functionParameter: {
5053
+ number: {
5054
+ name: string;
5055
+ detail: string;
5056
+ };
5057
+ numberChosen: {
5058
+ name: string;
5059
+ detail: string;
5060
+ };
5061
+ };
5062
+ };
5063
+ COMBINA: {
5064
+ description: string;
5065
+ abstract: string;
5066
+ links: {
5067
+ title: string;
5068
+ url: string;
5069
+ }[];
5070
+ functionParameter: {
5071
+ number: {
5072
+ name: string;
5073
+ detail: string;
5074
+ };
5075
+ numberChosen: {
5076
+ name: string;
5077
+ detail: string;
5078
+ };
5079
+ };
5080
+ };
4911
5081
  COS: {
4912
5082
  description: string;
4913
5083
  abstract: string;
@@ -5052,6 +5222,34 @@ declare const _default: {
5052
5222
  };
5053
5223
  };
5054
5224
  };
5225
+ FACT: {
5226
+ description: string;
5227
+ abstract: string;
5228
+ links: {
5229
+ title: string;
5230
+ url: string;
5231
+ }[];
5232
+ functionParameter: {
5233
+ number: {
5234
+ name: string;
5235
+ detail: string;
5236
+ };
5237
+ };
5238
+ };
5239
+ FACTDOUBLE: {
5240
+ description: string;
5241
+ abstract: string;
5242
+ links: {
5243
+ title: string;
5244
+ url: string;
5245
+ }[];
5246
+ functionParameter: {
5247
+ number: {
5248
+ name: string;
5249
+ detail: string;
5250
+ };
5251
+ };
5252
+ };
5055
5253
  FLOOR: {
5056
5254
  description: string;
5057
5255
  abstract: string;
@@ -5110,6 +5308,56 @@ declare const _default: {
5110
5308
  };
5111
5309
  };
5112
5310
  };
5311
+ GCD: {
5312
+ description: string;
5313
+ abstract: string;
5314
+ links: {
5315
+ title: string;
5316
+ url: string;
5317
+ }[];
5318
+ functionParameter: {
5319
+ number1: {
5320
+ name: string;
5321
+ detail: string;
5322
+ };
5323
+ number2: {
5324
+ name: string;
5325
+ detail: string;
5326
+ };
5327
+ };
5328
+ };
5329
+ INT: {
5330
+ description: string;
5331
+ abstract: string;
5332
+ links: {
5333
+ title: string;
5334
+ url: string;
5335
+ }[];
5336
+ functionParameter: {
5337
+ number: {
5338
+ name: string;
5339
+ detail: string;
5340
+ };
5341
+ };
5342
+ };
5343
+ LCM: {
5344
+ description: string;
5345
+ abstract: string;
5346
+ links: {
5347
+ title: string;
5348
+ url: string;
5349
+ }[];
5350
+ functionParameter: {
5351
+ number1: {
5352
+ name: string;
5353
+ detail: string;
5354
+ };
5355
+ number2: {
5356
+ name: string;
5357
+ detail: string;
5358
+ };
5359
+ };
5360
+ };
5113
5361
  LN: {
5114
5362
  description: string;
5115
5363
  abstract: string;
@@ -5156,6 +5404,52 @@ declare const _default: {
5156
5404
  };
5157
5405
  };
5158
5406
  };
5407
+ MDETERM: {
5408
+ description: string;
5409
+ abstract: string;
5410
+ links: {
5411
+ title: string;
5412
+ url: string;
5413
+ }[];
5414
+ functionParameter: {
5415
+ array: {
5416
+ name: string;
5417
+ detail: string;
5418
+ };
5419
+ };
5420
+ };
5421
+ MINVERSE: {
5422
+ description: string;
5423
+ abstract: string;
5424
+ links: {
5425
+ title: string;
5426
+ url: string;
5427
+ }[];
5428
+ functionParameter: {
5429
+ array: {
5430
+ name: string;
5431
+ detail: string;
5432
+ };
5433
+ };
5434
+ };
5435
+ MMULT: {
5436
+ description: string;
5437
+ abstract: string;
5438
+ links: {
5439
+ title: string;
5440
+ url: string;
5441
+ }[];
5442
+ functionParameter: {
5443
+ array1: {
5444
+ name: string;
5445
+ detail: string;
5446
+ };
5447
+ array2: {
5448
+ name: string;
5449
+ detail: string;
5450
+ };
5451
+ };
5452
+ };
5159
5453
  MOD: {
5160
5454
  description: string;
5161
5455
  abstract: string;
@@ -5192,6 +5486,38 @@ declare const _default: {
5192
5486
  };
5193
5487
  };
5194
5488
  };
5489
+ MULTINOMIAL: {
5490
+ description: string;
5491
+ abstract: string;
5492
+ links: {
5493
+ title: string;
5494
+ url: string;
5495
+ }[];
5496
+ functionParameter: {
5497
+ number1: {
5498
+ name: string;
5499
+ detail: string;
5500
+ };
5501
+ number2: {
5502
+ name: string;
5503
+ detail: string;
5504
+ };
5505
+ };
5506
+ };
5507
+ MUNIT: {
5508
+ description: string;
5509
+ abstract: string;
5510
+ links: {
5511
+ title: string;
5512
+ url: string;
5513
+ }[];
5514
+ functionParameter: {
5515
+ dimension: {
5516
+ name: string;
5517
+ detail: string;
5518
+ };
5519
+ };
5520
+ };
5195
5521
  ODD: {
5196
5522
  description: string;
5197
5523
  abstract: string;
@@ -5251,6 +5577,24 @@ declare const _default: {
5251
5577
  };
5252
5578
  };
5253
5579
  };
5580
+ QUOTIENT: {
5581
+ description: string;
5582
+ abstract: string;
5583
+ links: {
5584
+ title: string;
5585
+ url: string;
5586
+ }[];
5587
+ functionParameter: {
5588
+ numerator: {
5589
+ name: string;
5590
+ detail: string;
5591
+ };
5592
+ denominator: {
5593
+ name: string;
5594
+ detail: string;
5595
+ };
5596
+ };
5597
+ };
5254
5598
  RADIANS: {
5255
5599
  description: string;
5256
5600
  abstract: string;
@@ -5404,6 +5748,72 @@ declare const _default: {
5404
5748
  };
5405
5749
  };
5406
5750
  };
5751
+ SERIESSUM: {
5752
+ description: string;
5753
+ abstract: string;
5754
+ links: {
5755
+ title: string;
5756
+ url: string;
5757
+ }[];
5758
+ functionParameter: {
5759
+ x: {
5760
+ name: string;
5761
+ detail: string;
5762
+ };
5763
+ n: {
5764
+ name: string;
5765
+ detail: string;
5766
+ };
5767
+ m: {
5768
+ name: string;
5769
+ detail: string;
5770
+ };
5771
+ coefficients: {
5772
+ name: string;
5773
+ detail: string;
5774
+ };
5775
+ };
5776
+ };
5777
+ SEQUENCE: {
5778
+ description: string;
5779
+ abstract: string;
5780
+ links: {
5781
+ title: string;
5782
+ url: string;
5783
+ }[];
5784
+ functionParameter: {
5785
+ rows: {
5786
+ name: string;
5787
+ detail: string;
5788
+ };
5789
+ columns: {
5790
+ name: string;
5791
+ detail: string;
5792
+ };
5793
+ start: {
5794
+ name: string;
5795
+ detail: string;
5796
+ };
5797
+ step: {
5798
+ name: string;
5799
+ detail: string;
5800
+ };
5801
+ };
5802
+ };
5803
+ SIGN: {
5804
+ description: string;
5805
+ abstract: string;
5806
+ links: {
5807
+ title: string;
5808
+ url: string;
5809
+ }[];
5810
+ functionParameter: {
5811
+ number: {
5812
+ name: string;
5813
+ detail: string;
5814
+ };
5815
+ };
5816
+ };
5407
5817
  SIN: {
5408
5818
  description: string;
5409
5819
  abstract: string;