@univerjs/sheets-formula 0.2.4 → 0.2.5

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 (41) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +610 -677
  3. package/lib/index.css +1 -1
  4. package/lib/locale/en-US.json +222 -264
  5. package/lib/locale/ru-RU.json +222 -264
  6. package/lib/locale/vi-VN.json +171 -221
  7. package/lib/locale/zh-CN.json +226 -268
  8. package/lib/locale/zh-TW.json +238 -280
  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 +1 -2
  17. package/lib/types/locale/en-US.d.ts +96 -138
  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/math/en-US.d.ts +67 -109
  27. package/lib/types/locale/function-list/math/ja-JP.d.ts +67 -109
  28. package/lib/types/locale/function-list/math/zh-CN.d.ts +67 -109
  29. package/lib/types/locale/function-list/math/zh-TW.d.ts +69 -111
  30. package/lib/types/locale/ru-RU.d.ts +96 -138
  31. package/lib/types/locale/vi-VN.d.ts +71 -121
  32. package/lib/types/locale/zh-CN.d.ts +96 -138
  33. package/lib/types/locale/zh-TW.d.ts +100 -142
  34. package/lib/types/services/description.service.d.ts +2 -3
  35. package/lib/types/services/formula-ref-range.service.d.ts +1 -2
  36. package/lib/types/services/prompt.service.d.ts +2 -3
  37. package/lib/types/services/register-function.service.d.ts +2 -3
  38. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  39. package/lib/types/services/render-services/ref-selections.render-service.d.ts +1 -2
  40. package/lib/umd/index.js +4 -4
  41. package/package.json +21 -23
@@ -1869,11 +1869,11 @@ declare const _default: {
1869
1869
  url: string;
1870
1870
  }[];
1871
1871
  functionParameter: {
1872
- number1: {
1872
+ infoType: {
1873
1873
  name: string;
1874
1874
  detail: string;
1875
1875
  };
1876
- number2: {
1876
+ reference: {
1877
1877
  name: string;
1878
1878
  detail: string;
1879
1879
  };
@@ -1887,11 +1887,7 @@ declare const _default: {
1887
1887
  url: string;
1888
1888
  }[];
1889
1889
  functionParameter: {
1890
- number1: {
1891
- name: string;
1892
- detail: string;
1893
- };
1894
- number2: {
1890
+ errorVal: {
1895
1891
  name: string;
1896
1892
  detail: string;
1897
1893
  };
@@ -2185,11 +2181,7 @@ declare const _default: {
2185
2181
  url: string;
2186
2182
  }[];
2187
2183
  functionParameter: {
2188
- number1: {
2189
- name: string;
2190
- detail: string;
2191
- };
2192
- number2: {
2184
+ value: {
2193
2185
  name: string;
2194
2186
  detail: string;
2195
2187
  };
@@ -6581,11 +6573,11 @@ declare const _default: {
6581
6573
  url: string;
6582
6574
  }[];
6583
6575
  functionParameter: {
6584
- number1: {
6576
+ number: {
6585
6577
  name: string;
6586
6578
  detail: string;
6587
6579
  };
6588
- number2: {
6580
+ significance: {
6589
6581
  name: string;
6590
6582
  detail: string;
6591
6583
  };
@@ -6599,11 +6591,15 @@ declare const _default: {
6599
6591
  url: string;
6600
6592
  }[];
6601
6593
  functionParameter: {
6602
- number1: {
6594
+ number: {
6603
6595
  name: string;
6604
6596
  detail: string;
6605
6597
  };
6606
- number2: {
6598
+ significance: {
6599
+ name: string;
6600
+ detail: string;
6601
+ };
6602
+ mode: {
6607
6603
  name: string;
6608
6604
  detail: string;
6609
6605
  };
@@ -6617,11 +6613,11 @@ declare const _default: {
6617
6613
  url: string;
6618
6614
  }[];
6619
6615
  functionParameter: {
6620
- number1: {
6616
+ number: {
6621
6617
  name: string;
6622
6618
  detail: string;
6623
6619
  };
6624
- number2: {
6620
+ significance: {
6625
6621
  name: string;
6626
6622
  detail: string;
6627
6623
  };
@@ -6755,11 +6751,11 @@ declare const _default: {
6755
6751
  url: string;
6756
6752
  }[];
6757
6753
  functionParameter: {
6758
- number1: {
6754
+ text: {
6759
6755
  name: string;
6760
6756
  detail: string;
6761
6757
  };
6762
- number2: {
6758
+ radix: {
6763
6759
  name: string;
6764
6760
  detail: string;
6765
6761
  };
@@ -6773,11 +6769,7 @@ declare const _default: {
6773
6769
  url: string;
6774
6770
  }[];
6775
6771
  functionParameter: {
6776
- number1: {
6777
- name: string;
6778
- detail: string;
6779
- };
6780
- number2: {
6772
+ angle: {
6781
6773
  name: string;
6782
6774
  detail: string;
6783
6775
  };
@@ -6791,11 +6783,7 @@ declare const _default: {
6791
6783
  url: string;
6792
6784
  }[];
6793
6785
  functionParameter: {
6794
- number1: {
6795
- name: string;
6796
- detail: string;
6797
- };
6798
- number2: {
6786
+ number: {
6799
6787
  name: string;
6800
6788
  detail: string;
6801
6789
  };
@@ -6809,11 +6797,7 @@ declare const _default: {
6809
6797
  url: string;
6810
6798
  }[];
6811
6799
  functionParameter: {
6812
- number1: {
6813
- name: string;
6814
- detail: string;
6815
- };
6816
- number2: {
6800
+ number: {
6817
6801
  name: string;
6818
6802
  detail: string;
6819
6803
  };
@@ -6863,11 +6847,11 @@ declare const _default: {
6863
6847
  url: string;
6864
6848
  }[];
6865
6849
  functionParameter: {
6866
- number1: {
6850
+ number: {
6867
6851
  name: string;
6868
6852
  detail: string;
6869
6853
  };
6870
- number2: {
6854
+ significance: {
6871
6855
  name: string;
6872
6856
  detail: string;
6873
6857
  };
@@ -6881,11 +6865,15 @@ declare const _default: {
6881
6865
  url: string;
6882
6866
  }[];
6883
6867
  functionParameter: {
6884
- number1: {
6868
+ number: {
6885
6869
  name: string;
6886
6870
  detail: string;
6887
6871
  };
6888
- number2: {
6872
+ significance: {
6873
+ name: string;
6874
+ detail: string;
6875
+ };
6876
+ mode: {
6889
6877
  name: string;
6890
6878
  detail: string;
6891
6879
  };
@@ -6899,11 +6887,11 @@ declare const _default: {
6899
6887
  url: string;
6900
6888
  }[];
6901
6889
  functionParameter: {
6902
- number1: {
6890
+ number: {
6903
6891
  name: string;
6904
6892
  detail: string;
6905
6893
  };
6906
- number2: {
6894
+ significance: {
6907
6895
  name: string;
6908
6896
  detail: string;
6909
6897
  };
@@ -6989,11 +6977,7 @@ declare const _default: {
6989
6977
  url: string;
6990
6978
  }[];
6991
6979
  functionParameter: {
6992
- number1: {
6993
- name: string;
6994
- detail: string;
6995
- };
6996
- number2: {
6980
+ number: {
6997
6981
  name: string;
6998
6982
  detail: string;
6999
6983
  };
@@ -7007,11 +6991,11 @@ declare const _default: {
7007
6991
  url: string;
7008
6992
  }[];
7009
6993
  functionParameter: {
7010
- number1: {
6994
+ number: {
7011
6995
  name: string;
7012
6996
  detail: string;
7013
6997
  };
7014
- number2: {
6998
+ base: {
7015
6999
  name: string;
7016
7000
  detail: string;
7017
7001
  };
@@ -7025,11 +7009,7 @@ declare const _default: {
7025
7009
  url: string;
7026
7010
  }[];
7027
7011
  functionParameter: {
7028
- number1: {
7029
- name: string;
7030
- detail: string;
7031
- };
7032
- number2: {
7012
+ number: {
7033
7013
  name: string;
7034
7014
  detail: string;
7035
7015
  };
@@ -7115,11 +7095,11 @@ declare const _default: {
7115
7095
  url: string;
7116
7096
  }[];
7117
7097
  functionParameter: {
7118
- number1: {
7098
+ number: {
7119
7099
  name: string;
7120
7100
  detail: string;
7121
7101
  };
7122
- number2: {
7102
+ multiple: {
7123
7103
  name: string;
7124
7104
  detail: string;
7125
7105
  };
@@ -7169,11 +7149,7 @@ declare const _default: {
7169
7149
  url: string;
7170
7150
  }[];
7171
7151
  functionParameter: {
7172
- number1: {
7173
- name: string;
7174
- detail: string;
7175
- };
7176
- number2: {
7152
+ number: {
7177
7153
  name: string;
7178
7154
  detail: string;
7179
7155
  };
@@ -7186,16 +7162,7 @@ declare const _default: {
7186
7162
  title: string;
7187
7163
  url: string;
7188
7164
  }[];
7189
- functionParameter: {
7190
- number1: {
7191
- name: string;
7192
- detail: string;
7193
- };
7194
- number2: {
7195
- name: string;
7196
- detail: string;
7197
- };
7198
- };
7165
+ functionParameter: {};
7199
7166
  };
7200
7167
  POWER: {
7201
7168
  description: string;
@@ -7259,11 +7226,7 @@ declare const _default: {
7259
7226
  url: string;
7260
7227
  }[];
7261
7228
  functionParameter: {
7262
- number1: {
7263
- name: string;
7264
- detail: string;
7265
- };
7266
- number2: {
7229
+ angle: {
7267
7230
  name: string;
7268
7231
  detail: string;
7269
7232
  };
@@ -7276,16 +7239,7 @@ declare const _default: {
7276
7239
  title: string;
7277
7240
  url: string;
7278
7241
  }[];
7279
- functionParameter: {
7280
- number1: {
7281
- name: string;
7282
- detail: string;
7283
- };
7284
- number2: {
7285
- name: string;
7286
- detail: string;
7287
- };
7288
- };
7242
+ functionParameter: {};
7289
7243
  };
7290
7244
  RANDARRAY: {
7291
7245
  description: string;
@@ -7295,11 +7249,23 @@ declare const _default: {
7295
7249
  url: string;
7296
7250
  }[];
7297
7251
  functionParameter: {
7298
- number1: {
7252
+ rows: {
7299
7253
  name: string;
7300
7254
  detail: string;
7301
7255
  };
7302
- number2: {
7256
+ columns: {
7257
+ name: string;
7258
+ detail: string;
7259
+ };
7260
+ min: {
7261
+ name: string;
7262
+ detail: string;
7263
+ };
7264
+ max: {
7265
+ name: string;
7266
+ detail: string;
7267
+ };
7268
+ wholeNumber: {
7303
7269
  name: string;
7304
7270
  detail: string;
7305
7271
  };
@@ -7313,11 +7279,11 @@ declare const _default: {
7313
7279
  url: string;
7314
7280
  }[];
7315
7281
  functionParameter: {
7316
- number1: {
7282
+ bottom: {
7317
7283
  name: string;
7318
7284
  detail: string;
7319
7285
  };
7320
- number2: {
7286
+ top: {
7321
7287
  name: string;
7322
7288
  detail: string;
7323
7289
  };
@@ -7349,11 +7315,11 @@ declare const _default: {
7349
7315
  url: string;
7350
7316
  }[];
7351
7317
  functionParameter: {
7352
- number1: {
7318
+ number: {
7353
7319
  name: string;
7354
7320
  detail: string;
7355
7321
  };
7356
- number2: {
7322
+ numDigits: {
7357
7323
  name: string;
7358
7324
  detail: string;
7359
7325
  };
@@ -7367,11 +7333,11 @@ declare const _default: {
7367
7333
  url: string;
7368
7334
  }[];
7369
7335
  functionParameter: {
7370
- number1: {
7336
+ number: {
7371
7337
  name: string;
7372
7338
  detail: string;
7373
7339
  };
7374
- number2: {
7340
+ numDigits: {
7375
7341
  name: string;
7376
7342
  detail: string;
7377
7343
  };
@@ -7385,11 +7351,11 @@ declare const _default: {
7385
7351
  url: string;
7386
7352
  }[];
7387
7353
  functionParameter: {
7388
- number1: {
7354
+ number: {
7389
7355
  name: string;
7390
7356
  detail: string;
7391
7357
  };
7392
- number2: {
7358
+ numDigits: {
7393
7359
  name: string;
7394
7360
  detail: string;
7395
7361
  };
@@ -7403,11 +7369,7 @@ declare const _default: {
7403
7369
  url: string;
7404
7370
  }[];
7405
7371
  functionParameter: {
7406
- number1: {
7407
- name: string;
7408
- detail: string;
7409
- };
7410
- number2: {
7372
+ number: {
7411
7373
  name: string;
7412
7374
  detail: string;
7413
7375
  };
@@ -7421,11 +7383,7 @@ declare const _default: {
7421
7383
  url: string;
7422
7384
  }[];
7423
7385
  functionParameter: {
7424
- number1: {
7425
- name: string;
7426
- detail: string;
7427
- };
7428
- number2: {
7386
+ number: {
7429
7387
  name: string;
7430
7388
  detail: string;
7431
7389
  };
@@ -7521,11 +7479,7 @@ declare const _default: {
7521
7479
  url: string;
7522
7480
  }[];
7523
7481
  functionParameter: {
7524
- number1: {
7525
- name: string;
7526
- detail: string;
7527
- };
7528
- number2: {
7482
+ number: {
7529
7483
  name: string;
7530
7484
  detail: string;
7531
7485
  };
@@ -7539,11 +7493,7 @@ declare const _default: {
7539
7493
  url: string;
7540
7494
  }[];
7541
7495
  functionParameter: {
7542
- number1: {
7543
- name: string;
7544
- detail: string;
7545
- };
7546
- number2: {
7496
+ number: {
7547
7497
  name: string;
7548
7498
  detail: string;
7549
7499
  };
@@ -7685,11 +7635,11 @@ declare const _default: {
7685
7635
  url: string;
7686
7636
  }[];
7687
7637
  functionParameter: {
7688
- number1: {
7638
+ arrayX: {
7689
7639
  name: string;
7690
7640
  detail: string;
7691
7641
  };
7692
- number2: {
7642
+ arrayY: {
7693
7643
  name: string;
7694
7644
  detail: string;
7695
7645
  };
@@ -7703,11 +7653,11 @@ declare const _default: {
7703
7653
  url: string;
7704
7654
  }[];
7705
7655
  functionParameter: {
7706
- number1: {
7656
+ arrayX: {
7707
7657
  name: string;
7708
7658
  detail: string;
7709
7659
  };
7710
- number2: {
7660
+ arrayY: {
7711
7661
  name: string;
7712
7662
  detail: string;
7713
7663
  };
@@ -7721,11 +7671,11 @@ declare const _default: {
7721
7671
  url: string;
7722
7672
  }[];
7723
7673
  functionParameter: {
7724
- number1: {
7674
+ arrayX: {
7725
7675
  name: string;
7726
7676
  detail: string;
7727
7677
  };
7728
- number2: {
7678
+ arrayY: {
7729
7679
  name: string;
7730
7680
  detail: string;
7731
7681
  };
@@ -7807,11 +7757,15 @@ declare const _default: {
7807
7757
  url: string;
7808
7758
  }[];
7809
7759
  functionParameter: {
7810
- number1: {
7760
+ startDate: {
7811
7761
  name: string;
7812
7762
  detail: string;
7813
7763
  };
7814
- number2: {
7764
+ endDate: {
7765
+ name: string;
7766
+ detail: string;
7767
+ };
7768
+ method: {
7815
7769
  name: string;
7816
7770
  detail: string;
7817
7771
  };
@@ -7853,11 +7807,11 @@ declare const _default: {
7853
7807
  url: string;
7854
7808
  }[];
7855
7809
  functionParameter: {
7856
- number1: {
7810
+ endDate: {
7857
7811
  name: string;
7858
7812
  detail: string;
7859
7813
  };
7860
- number2: {
7814
+ startDate: {
7861
7815
  name: string;
7862
7816
  detail: string;
7863
7817
  };
@@ -7871,11 +7825,15 @@ declare const _default: {
7871
7825
  url: string;
7872
7826
  }[];
7873
7827
  functionParameter: {
7874
- number1: {
7828
+ startDate: {
7875
7829
  name: string;
7876
7830
  detail: string;
7877
7831
  };
7878
- number2: {
7832
+ endDate: {
7833
+ name: string;
7834
+ detail: string;
7835
+ };
7836
+ method: {
7879
7837
  name: string;
7880
7838
  detail: string;
7881
7839
  };
@@ -7907,11 +7865,11 @@ declare const _default: {
7907
7865
  url: string;
7908
7866
  }[];
7909
7867
  functionParameter: {
7910
- number1: {
7868
+ startDate: {
7911
7869
  name: string;
7912
7870
  detail: string;
7913
7871
  };
7914
- number2: {
7872
+ months: {
7915
7873
  name: string;
7916
7874
  detail: string;
7917
7875
  };
@@ -7939,11 +7897,7 @@ declare const _default: {
7939
7897
  url: string;
7940
7898
  }[];
7941
7899
  functionParameter: {
7942
- number1: {
7943
- name: string;
7944
- detail: string;
7945
- };
7946
- number2: {
7900
+ date: {
7947
7901
  name: string;
7948
7902
  detail: string;
7949
7903
  };
@@ -8119,11 +8073,11 @@ declare const _default: {
8119
8073
  url: string;
8120
8074
  }[];
8121
8075
  functionParameter: {
8122
- number1: {
8076
+ serialNumber: {
8123
8077
  name: string;
8124
8078
  detail: string;
8125
8079
  };
8126
- number2: {
8080
+ returnType: {
8127
8081
  name: string;
8128
8082
  detail: string;
8129
8083
  };
@@ -8199,11 +8153,15 @@ declare const _default: {
8199
8153
  url: string;
8200
8154
  }[];
8201
8155
  functionParameter: {
8202
- number1: {
8156
+ startDate: {
8203
8157
  name: string;
8204
8158
  detail: string;
8205
8159
  };
8206
- number2: {
8160
+ endDate: {
8161
+ name: string;
8162
+ detail: string;
8163
+ };
8164
+ basis: {
8207
8165
  name: string;
8208
8166
  detail: string;
8209
8167
  };