@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
@@ -2248,16 +2248,7 @@ declare const _default: {
2248
2248
  title: string;
2249
2249
  url: string;
2250
2250
  }[];
2251
- functionParameter: {
2252
- number1: {
2253
- name: string;
2254
- detail: string;
2255
- };
2256
- number2: {
2257
- name: string;
2258
- detail: string;
2259
- };
2260
- };
2251
+ functionParameter: {};
2261
2252
  };
2262
2253
  IF: {
2263
2254
  description: string;
@@ -2307,11 +2298,11 @@ declare const _default: {
2307
2298
  url: string;
2308
2299
  }[];
2309
2300
  functionParameter: {
2310
- number1: {
2301
+ value: {
2311
2302
  name: string;
2312
2303
  detail: string;
2313
2304
  };
2314
- number2: {
2305
+ valueIfNa: {
2315
2306
  name: string;
2316
2307
  detail: string;
2317
2308
  };
@@ -2325,11 +2316,19 @@ declare const _default: {
2325
2316
  url: string;
2326
2317
  }[];
2327
2318
  functionParameter: {
2328
- number1: {
2319
+ logicalTest1: {
2329
2320
  name: string;
2330
2321
  detail: string;
2331
2322
  };
2332
- number2: {
2323
+ valueIfTrue1: {
2324
+ name: string;
2325
+ detail: string;
2326
+ };
2327
+ logicalTest2: {
2328
+ name: string;
2329
+ detail: string;
2330
+ };
2331
+ valueIfTrue2: {
2333
2332
  name: string;
2334
2333
  detail: string;
2335
2334
  };
@@ -2419,11 +2418,7 @@ declare const _default: {
2419
2418
  url: string;
2420
2419
  }[];
2421
2420
  functionParameter: {
2422
- number1: {
2423
- name: string;
2424
- detail: string;
2425
- };
2426
- number2: {
2421
+ logical: {
2427
2422
  name: string;
2428
2423
  detail: string;
2429
2424
  };
@@ -2491,11 +2486,23 @@ declare const _default: {
2491
2486
  url: string;
2492
2487
  }[];
2493
2488
  functionParameter: {
2494
- number1: {
2489
+ expression: {
2495
2490
  name: string;
2496
2491
  detail: string;
2497
2492
  };
2498
- number2: {
2493
+ value1: {
2494
+ name: string;
2495
+ detail: string;
2496
+ };
2497
+ result1: {
2498
+ name: string;
2499
+ detail: string;
2500
+ };
2501
+ defaultOrValue2: {
2502
+ name: string;
2503
+ detail: string;
2504
+ };
2505
+ result2: {
2499
2506
  name: string;
2500
2507
  detail: string;
2501
2508
  };
@@ -2508,16 +2515,7 @@ declare const _default: {
2508
2515
  title: string;
2509
2516
  url: string;
2510
2517
  }[];
2511
- functionParameter: {
2512
- number1: {
2513
- name: string;
2514
- detail: string;
2515
- };
2516
- number2: {
2517
- name: string;
2518
- detail: string;
2519
- };
2520
- };
2518
+ functionParameter: {};
2521
2519
  };
2522
2520
  XOR: {
2523
2521
  description: string;
@@ -2527,11 +2525,11 @@ declare const _default: {
2527
2525
  url: string;
2528
2526
  }[];
2529
2527
  functionParameter: {
2530
- number1: {
2528
+ logical1: {
2531
2529
  name: string;
2532
2530
  detail: string;
2533
2531
  };
2534
- number2: {
2532
+ logical2: {
2535
2533
  name: string;
2536
2534
  detail: string;
2537
2535
  };
@@ -3001,11 +2999,11 @@ declare const _default: {
3001
2999
  url: string;
3002
3000
  }[];
3003
3001
  functionParameter: {
3004
- number1: {
3002
+ text: {
3005
3003
  name: string;
3006
3004
  detail: string;
3007
3005
  };
3008
- number2: {
3006
+ numberTimes: {
3009
3007
  name: string;
3010
3008
  detail: string;
3011
3009
  };
@@ -3145,11 +3143,27 @@ declare const _default: {
3145
3143
  url: string;
3146
3144
  }[];
3147
3145
  functionParameter: {
3148
- number1: {
3146
+ text: {
3149
3147
  name: string;
3150
3148
  detail: string;
3151
3149
  };
3152
- number2: {
3150
+ delimiter: {
3151
+ name: string;
3152
+ detail: string;
3153
+ };
3154
+ instanceNum: {
3155
+ name: string;
3156
+ detail: string;
3157
+ };
3158
+ matchMode: {
3159
+ name: string;
3160
+ detail: string;
3161
+ };
3162
+ matchEnd: {
3163
+ name: string;
3164
+ detail: string;
3165
+ };
3166
+ ifNotFound: {
3153
3167
  name: string;
3154
3168
  detail: string;
3155
3169
  };
@@ -3163,11 +3177,27 @@ declare const _default: {
3163
3177
  url: string;
3164
3178
  }[];
3165
3179
  functionParameter: {
3166
- number1: {
3180
+ text: {
3167
3181
  name: string;
3168
3182
  detail: string;
3169
3183
  };
3170
- number2: {
3184
+ delimiter: {
3185
+ name: string;
3186
+ detail: string;
3187
+ };
3188
+ instanceNum: {
3189
+ name: string;
3190
+ detail: string;
3191
+ };
3192
+ matchMode: {
3193
+ name: string;
3194
+ detail: string;
3195
+ };
3196
+ matchEnd: {
3197
+ name: string;
3198
+ detail: string;
3199
+ };
3200
+ ifNotFound: {
3171
3201
  name: string;
3172
3202
  detail: string;
3173
3203
  };
@@ -3199,11 +3229,27 @@ declare const _default: {
3199
3229
  url: string;
3200
3230
  }[];
3201
3231
  functionParameter: {
3202
- number1: {
3232
+ text: {
3203
3233
  name: string;
3204
3234
  detail: string;
3205
3235
  };
3206
- number2: {
3236
+ colDelimiter: {
3237
+ name: string;
3238
+ detail: string;
3239
+ };
3240
+ rowDelimiter: {
3241
+ name: string;
3242
+ detail: string;
3243
+ };
3244
+ ignoreEmpty: {
3245
+ name: string;
3246
+ detail: string;
3247
+ };
3248
+ matchMode: {
3249
+ name: string;
3250
+ detail: string;
3251
+ };
3252
+ padWith: {
3207
3253
  name: string;
3208
3254
  detail: string;
3209
3255
  };
@@ -3625,11 +3671,7 @@ declare const _default: {
3625
3671
  url: string;
3626
3672
  }[];
3627
3673
  functionParameter: {
3628
- number1: {
3629
- name: string;
3630
- detail: string;
3631
- };
3632
- number2: {
3674
+ reference: {
3633
3675
  name: string;
3634
3676
  detail: string;
3635
3677
  };
@@ -3665,11 +3707,15 @@ declare const _default: {
3665
3707
  url: string;
3666
3708
  }[];
3667
3709
  functionParameter: {
3668
- number1: {
3710
+ array: {
3669
3711
  name: string;
3670
3712
  detail: string;
3671
3713
  };
3672
- number2: {
3714
+ colNum1: {
3715
+ name: string;
3716
+ detail: string;
3717
+ };
3718
+ colNum2: {
3673
3719
  name: string;
3674
3720
  detail: string;
3675
3721
  };
@@ -3683,11 +3729,15 @@ declare const _default: {
3683
3729
  url: string;
3684
3730
  }[];
3685
3731
  functionParameter: {
3686
- number1: {
3732
+ array: {
3687
3733
  name: string;
3688
3734
  detail: string;
3689
3735
  };
3690
- number2: {
3736
+ rowNum1: {
3737
+ name: string;
3738
+ detail: string;
3739
+ };
3740
+ rowNum2: {
3691
3741
  name: string;
3692
3742
  detail: string;
3693
3743
  };
@@ -3765,11 +3815,15 @@ declare const _default: {
3765
3815
  url: string;
3766
3816
  }[];
3767
3817
  functionParameter: {
3768
- number1: {
3818
+ array: {
3769
3819
  name: string;
3770
3820
  detail: string;
3771
3821
  };
3772
- number2: {
3822
+ include: {
3823
+ name: string;
3824
+ detail: string;
3825
+ };
3826
+ ifEmpty: {
3773
3827
  name: string;
3774
3828
  detail: string;
3775
3829
  };
@@ -3845,11 +3899,11 @@ declare const _default: {
3845
3899
  url: string;
3846
3900
  }[];
3847
3901
  functionParameter: {
3848
- number1: {
3902
+ array1: {
3849
3903
  name: string;
3850
3904
  detail: string;
3851
3905
  };
3852
- number2: {
3906
+ array2: {
3853
3907
  name: string;
3854
3908
  detail: string;
3855
3909
  };
@@ -4063,11 +4117,19 @@ declare const _default: {
4063
4117
  url: string;
4064
4118
  }[];
4065
4119
  functionParameter: {
4066
- number1: {
4120
+ array: {
4067
4121
  name: string;
4068
4122
  detail: string;
4069
4123
  };
4070
- number2: {
4124
+ sortIndex: {
4125
+ name: string;
4126
+ detail: string;
4127
+ };
4128
+ sortOrder: {
4129
+ name: string;
4130
+ detail: string;
4131
+ };
4132
+ byCol: {
4071
4133
  name: string;
4072
4134
  detail: string;
4073
4135
  };
@@ -4081,11 +4143,23 @@ declare const _default: {
4081
4143
  url: string;
4082
4144
  }[];
4083
4145
  functionParameter: {
4084
- number1: {
4146
+ array: {
4085
4147
  name: string;
4086
4148
  detail: string;
4087
4149
  };
4088
- number2: {
4150
+ byArray1: {
4151
+ name: string;
4152
+ detail: string;
4153
+ };
4154
+ sortOrder1: {
4155
+ name: string;
4156
+ detail: string;
4157
+ };
4158
+ byArray2: {
4159
+ name: string;
4160
+ detail: string;
4161
+ };
4162
+ sortOrder2: {
4089
4163
  name: string;
4090
4164
  detail: string;
4091
4165
  };
@@ -4153,11 +4227,7 @@ declare const _default: {
4153
4227
  url: string;
4154
4228
  }[];
4155
4229
  functionParameter: {
4156
- number1: {
4157
- name: string;
4158
- detail: string;
4159
- };
4160
- number2: {
4230
+ array: {
4161
4231
  name: string;
4162
4232
  detail: string;
4163
4233
  };
@@ -4171,11 +4241,15 @@ declare const _default: {
4171
4241
  url: string;
4172
4242
  }[];
4173
4243
  functionParameter: {
4174
- number1: {
4244
+ array: {
4175
4245
  name: string;
4176
4246
  detail: string;
4177
4247
  };
4178
- number2: {
4248
+ byCol: {
4249
+ name: string;
4250
+ detail: string;
4251
+ };
4252
+ exactlyOnce: {
4179
4253
  name: string;
4180
4254
  detail: string;
4181
4255
  };
@@ -4215,11 +4289,11 @@ declare const _default: {
4215
4289
  url: string;
4216
4290
  }[];
4217
4291
  functionParameter: {
4218
- number1: {
4292
+ array1: {
4219
4293
  name: string;
4220
4294
  detail: string;
4221
4295
  };
4222
- number2: {
4296
+ array2: {
4223
4297
  name: string;
4224
4298
  detail: string;
4225
4299
  };
@@ -6427,11 +6501,7 @@ declare const _default: {
6427
6501
  url: string;
6428
6502
  }[];
6429
6503
  functionParameter: {
6430
- number1: {
6431
- name: string;
6432
- detail: string;
6433
- };
6434
- number2: {
6504
+ number: {
6435
6505
  name: string;
6436
6506
  detail: string;
6437
6507
  };
@@ -6481,11 +6551,7 @@ declare const _default: {
6481
6551
  url: string;
6482
6552
  }[];
6483
6553
  functionParameter: {
6484
- number1: {
6485
- name: string;
6486
- detail: string;
6487
- };
6488
- number2: {
6554
+ number: {
6489
6555
  name: string;
6490
6556
  detail: string;
6491
6557
  };
@@ -6499,11 +6565,7 @@ declare const _default: {
6499
6565
  url: string;
6500
6566
  }[];
6501
6567
  functionParameter: {
6502
- number1: {
6503
- name: string;
6504
- detail: string;
6505
- };
6506
- number2: {
6568
+ number: {
6507
6569
  name: string;
6508
6570
  detail: string;
6509
6571
  };
@@ -6517,11 +6579,7 @@ declare const _default: {
6517
6579
  url: string;
6518
6580
  }[];
6519
6581
  functionParameter: {
6520
- number1: {
6521
- name: string;
6522
- detail: string;
6523
- };
6524
- number2: {
6582
+ number: {
6525
6583
  name: string;
6526
6584
  detail: string;
6527
6585
  };
@@ -6535,11 +6593,11 @@ declare const _default: {
6535
6593
  url: string;
6536
6594
  }[];
6537
6595
  functionParameter: {
6538
- number1: {
6596
+ xNum: {
6539
6597
  name: string;
6540
6598
  detail: string;
6541
6599
  };
6542
- number2: {
6600
+ yNum: {
6543
6601
  name: string;
6544
6602
  detail: string;
6545
6603
  };
@@ -6553,11 +6611,7 @@ declare const _default: {
6553
6611
  url: string;
6554
6612
  }[];
6555
6613
  functionParameter: {
6556
- number1: {
6557
- name: string;
6558
- detail: string;
6559
- };
6560
- number2: {
6614
+ number: {
6561
6615
  name: string;
6562
6616
  detail: string;
6563
6617
  };
@@ -6579,6 +6633,10 @@ declare const _default: {
6579
6633
  name: string;
6580
6634
  detail: string;
6581
6635
  };
6636
+ minLength: {
6637
+ name: string;
6638
+ detail: string;
6639
+ };
6582
6640
  };
6583
6641
  };
6584
6642
  CEILING: {
@@ -6683,11 +6741,7 @@ declare const _default: {
6683
6741
  url: string;
6684
6742
  }[];
6685
6743
  functionParameter: {
6686
- number1: {
6687
- name: string;
6688
- detail: string;
6689
- };
6690
- number2: {
6744
+ number: {
6691
6745
  name: string;
6692
6746
  detail: string;
6693
6747
  };
@@ -6701,11 +6755,7 @@ declare const _default: {
6701
6755
  url: string;
6702
6756
  }[];
6703
6757
  functionParameter: {
6704
- number1: {
6705
- name: string;
6706
- detail: string;
6707
- };
6708
- number2: {
6758
+ number: {
6709
6759
  name: string;
6710
6760
  detail: string;
6711
6761
  };
@@ -6719,11 +6769,7 @@ declare const _default: {
6719
6769
  url: string;
6720
6770
  }[];
6721
6771
  functionParameter: {
6722
- number1: {
6723
- name: string;
6724
- detail: string;
6725
- };
6726
- number2: {
6772
+ number: {
6727
6773
  name: string;
6728
6774
  detail: string;
6729
6775
  };
@@ -6737,11 +6783,7 @@ declare const _default: {
6737
6783
  url: string;
6738
6784
  }[];
6739
6785
  functionParameter: {
6740
- number1: {
6741
- name: string;
6742
- detail: string;
6743
- };
6744
- number2: {
6786
+ number: {
6745
6787
  name: string;
6746
6788
  detail: string;
6747
6789
  };
@@ -6755,11 +6797,7 @@ declare const _default: {
6755
6797
  url: string;
6756
6798
  }[];
6757
6799
  functionParameter: {
6758
- number1: {
6759
- name: string;
6760
- detail: string;
6761
- };
6762
- number2: {
6800
+ number: {
6763
6801
  name: string;
6764
6802
  detail: string;
6765
6803
  };
@@ -6773,11 +6811,7 @@ declare const _default: {
6773
6811
  url: string;
6774
6812
  }[];
6775
6813
  functionParameter: {
6776
- number1: {
6777
- name: string;
6778
- detail: string;
6779
- };
6780
- number2: {
6814
+ number: {
6781
6815
  name: string;
6782
6816
  detail: string;
6783
6817
  };
@@ -7491,11 +7525,7 @@ declare const _default: {
7491
7525
  url: string;
7492
7526
  }[];
7493
7527
  functionParameter: {
7494
- number1: {
7495
- name: string;
7496
- detail: string;
7497
- };
7498
- number2: {
7528
+ number: {
7499
7529
  name: string;
7500
7530
  detail: string;
7501
7531
  };
@@ -7509,11 +7539,7 @@ declare const _default: {
7509
7539
  url: string;
7510
7540
  }[];
7511
7541
  functionParameter: {
7512
- number1: {
7513
- name: string;
7514
- detail: string;
7515
- };
7516
- number2: {
7542
+ number: {
7517
7543
  name: string;
7518
7544
  detail: string;
7519
7545
  };
@@ -7737,11 +7763,7 @@ declare const _default: {
7737
7763
  url: string;
7738
7764
  }[];
7739
7765
  functionParameter: {
7740
- number1: {
7741
- name: string;
7742
- detail: string;
7743
- };
7744
- number2: {
7766
+ number: {
7745
7767
  name: string;
7746
7768
  detail: string;
7747
7769
  };
@@ -7755,11 +7777,7 @@ declare const _default: {
7755
7777
  url: string;
7756
7778
  }[];
7757
7779
  functionParameter: {
7758
- number1: {
7759
- name: string;
7760
- detail: string;
7761
- };
7762
- number2: {
7780
+ number: {
7763
7781
  name: string;
7764
7782
  detail: string;
7765
7783
  };
@@ -7773,11 +7791,11 @@ declare const _default: {
7773
7791
  url: string;
7774
7792
  }[];
7775
7793
  functionParameter: {
7776
- number1: {
7794
+ number: {
7777
7795
  name: string;
7778
7796
  detail: string;
7779
7797
  };
7780
- number2: {
7798
+ numDigits: {
7781
7799
  name: string;
7782
7800
  detail: string;
7783
7801
  };
@@ -7995,11 +8013,15 @@ declare const _default: {
7995
8013
  url: string;
7996
8014
  }[];
7997
8015
  functionParameter: {
7998
- number1: {
8016
+ startDate: {
7999
8017
  name: string;
8000
8018
  detail: string;
8001
8019
  };
8002
- number2: {
8020
+ endDate: {
8021
+ name: string;
8022
+ detail: string;
8023
+ };
8024
+ holidays: {
8003
8025
  name: string;
8004
8026
  detail: string;
8005
8027
  };
@@ -8013,11 +8035,19 @@ declare const _default: {
8013
8035
  url: string;
8014
8036
  }[];
8015
8037
  functionParameter: {
8016
- number1: {
8038
+ startDate: {
8017
8039
  name: string;
8018
8040
  detail: string;
8019
8041
  };
8020
- number2: {
8042
+ endDate: {
8043
+ name: string;
8044
+ detail: string;
8045
+ };
8046
+ weekend: {
8047
+ name: string;
8048
+ detail: string;
8049
+ };
8050
+ holidays: {
8021
8051
  name: string;
8022
8052
  detail: string;
8023
8053
  };
@@ -8135,11 +8165,15 @@ declare const _default: {
8135
8165
  url: string;
8136
8166
  }[];
8137
8167
  functionParameter: {
8138
- number1: {
8168
+ startDate: {
8139
8169
  name: string;
8140
8170
  detail: string;
8141
8171
  };
8142
- number2: {
8172
+ days: {
8173
+ name: string;
8174
+ detail: string;
8175
+ };
8176
+ holidays: {
8143
8177
  name: string;
8144
8178
  detail: string;
8145
8179
  };
@@ -8153,11 +8187,19 @@ declare const _default: {
8153
8187
  url: string;
8154
8188
  }[];
8155
8189
  functionParameter: {
8156
- number1: {
8190
+ startDate: {
8157
8191
  name: string;
8158
8192
  detail: string;
8159
8193
  };
8160
- number2: {
8194
+ days: {
8195
+ name: string;
8196
+ detail: string;
8197
+ };
8198
+ weekend: {
8199
+ name: string;
8200
+ detail: string;
8201
+ };
8202
+ holidays: {
8161
8203
  name: string;
8162
8204
  detail: string;
8163
8205
  };