@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
@@ -1857,6 +1857,20 @@ declare const _default: {
1857
1857
  };
1858
1858
  };
1859
1859
  };
1860
+ ISFORMULA: {
1861
+ description: string;
1862
+ abstract: string;
1863
+ links: {
1864
+ title: string;
1865
+ url: string;
1866
+ }[];
1867
+ functionParameter: {
1868
+ reference: {
1869
+ name: string;
1870
+ detail: string;
1871
+ };
1872
+ };
1873
+ };
1860
1874
  ISLOGICAL: {
1861
1875
  description: string;
1862
1876
  abstract: string;
@@ -1955,6 +1969,29 @@ declare const _default: {
1955
1969
  };
1956
1970
  };
1957
1971
  };
1972
+ N: {
1973
+ description: string;
1974
+ abstract: string;
1975
+ links: {
1976
+ title: string;
1977
+ url: string;
1978
+ }[];
1979
+ functionParameter: {
1980
+ value: {
1981
+ name: string;
1982
+ detail: string;
1983
+ };
1984
+ };
1985
+ };
1986
+ NA: {
1987
+ description: string;
1988
+ abstract: string;
1989
+ links: {
1990
+ title: string;
1991
+ url: string;
1992
+ }[];
1993
+ functionParameter: {};
1994
+ };
1958
1995
  TYPE: {
1959
1996
  description: string;
1960
1997
  abstract: string;
@@ -1995,11 +2032,11 @@ declare const _default: {
1995
2032
  url: string;
1996
2033
  }[];
1997
2034
  functionParameter: {
1998
- number1: {
2035
+ array: {
1999
2036
  name: string;
2000
2037
  detail: string;
2001
2038
  };
2002
- number2: {
2039
+ lambda: {
2003
2040
  name: string;
2004
2041
  detail: string;
2005
2042
  };
@@ -2013,11 +2050,11 @@ declare const _default: {
2013
2050
  url: string;
2014
2051
  }[];
2015
2052
  functionParameter: {
2016
- number1: {
2053
+ array: {
2017
2054
  name: string;
2018
2055
  detail: string;
2019
2056
  };
2020
- number2: {
2057
+ lambda: {
2021
2058
  name: string;
2022
2059
  detail: string;
2023
2060
  };
@@ -2194,11 +2231,15 @@ declare const _default: {
2194
2231
  url: string;
2195
2232
  }[];
2196
2233
  functionParameter: {
2197
- number1: {
2234
+ array1: {
2198
2235
  name: string;
2199
2236
  detail: string;
2200
2237
  };
2201
- number2: {
2238
+ array2: {
2239
+ name: string;
2240
+ detail: string;
2241
+ };
2242
+ lambda: {
2202
2243
  name: string;
2203
2244
  detail: string;
2204
2245
  };
@@ -2244,11 +2285,15 @@ declare const _default: {
2244
2285
  url: string;
2245
2286
  }[];
2246
2287
  functionParameter: {
2247
- number1: {
2288
+ initialValue: {
2248
2289
  name: string;
2249
2290
  detail: string;
2250
2291
  };
2251
- number2: {
2292
+ array: {
2293
+ name: string;
2294
+ detail: string;
2295
+ };
2296
+ lambda: {
2252
2297
  name: string;
2253
2298
  detail: string;
2254
2299
  };
@@ -2262,11 +2307,15 @@ declare const _default: {
2262
2307
  url: string;
2263
2308
  }[];
2264
2309
  functionParameter: {
2265
- number1: {
2310
+ initialValue: {
2266
2311
  name: string;
2267
2312
  detail: string;
2268
2313
  };
2269
- number2: {
2314
+ array: {
2315
+ name: string;
2316
+ detail: string;
2317
+ };
2318
+ lambda: {
2270
2319
  name: string;
2271
2320
  detail: string;
2272
2321
  };
@@ -3457,11 +3506,15 @@ declare const _default: {
3457
3506
  url: string;
3458
3507
  }[];
3459
3508
  functionParameter: {
3460
- number1: {
3509
+ array: {
3461
3510
  name: string;
3462
3511
  detail: string;
3463
3512
  };
3464
- number2: {
3513
+ rows: {
3514
+ name: string;
3515
+ detail: string;
3516
+ };
3517
+ columns: {
3465
3518
  name: string;
3466
3519
  detail: string;
3467
3520
  };
@@ -3475,11 +3528,19 @@ declare const _default: {
3475
3528
  url: string;
3476
3529
  }[];
3477
3530
  functionParameter: {
3478
- number1: {
3531
+ array: {
3479
3532
  name: string;
3480
3533
  detail: string;
3481
3534
  };
3482
- number2: {
3535
+ rows: {
3536
+ name: string;
3537
+ detail: string;
3538
+ };
3539
+ columns: {
3540
+ name: string;
3541
+ detail: string;
3542
+ };
3543
+ padWith: {
3483
3544
  name: string;
3484
3545
  detail: string;
3485
3546
  };
@@ -3753,6 +3814,72 @@ declare const _default: {
3753
3814
  };
3754
3815
  };
3755
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
+ };
3756
3883
  TRANSPOSE: {
3757
3884
  description: string;
3758
3885
  abstract: string;
@@ -3833,6 +3960,50 @@ declare const _default: {
3833
3960
  };
3834
3961
  };
3835
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
+ };
3836
4007
  XLOOKUP: {
3837
4008
  description: string;
3838
4009
  abstract: string;
@@ -4871,6 +5042,42 @@ declare const _default: {
4871
5042
  };
4872
5043
  };
4873
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
+ };
4874
5081
  COS: {
4875
5082
  description: string;
4876
5083
  abstract: string;
@@ -5015,6 +5222,34 @@ declare const _default: {
5015
5222
  };
5016
5223
  };
5017
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
+ };
5018
5253
  FLOOR: {
5019
5254
  description: string;
5020
5255
  abstract: string;
@@ -5073,6 +5308,56 @@ declare const _default: {
5073
5308
  };
5074
5309
  };
5075
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
+ };
5076
5361
  LN: {
5077
5362
  description: string;
5078
5363
  abstract: string;
@@ -5119,6 +5404,52 @@ declare const _default: {
5119
5404
  };
5120
5405
  };
5121
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
+ };
5122
5453
  MOD: {
5123
5454
  description: string;
5124
5455
  abstract: string;
@@ -5155,6 +5486,38 @@ declare const _default: {
5155
5486
  };
5156
5487
  };
5157
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
+ };
5158
5521
  ODD: {
5159
5522
  description: string;
5160
5523
  abstract: string;
@@ -5214,6 +5577,24 @@ declare const _default: {
5214
5577
  };
5215
5578
  };
5216
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
+ };
5217
5598
  RADIANS: {
5218
5599
  description: string;
5219
5600
  abstract: string;
@@ -5367,6 +5748,72 @@ declare const _default: {
5367
5748
  };
5368
5749
  };
5369
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
+ };
5370
5817
  SIN: {
5371
5818
  description: string;
5372
5819
  abstract: string;