@univerjs/sheets-formula 0.2.8 → 0.2.10

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 (37) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +908 -451
  3. package/lib/locale/en-US.json +595 -351
  4. package/lib/locale/ru-RU.json +595 -351
  5. package/lib/locale/vi-VN.json +666 -322
  6. package/lib/locale/zh-CN.json +604 -360
  7. package/lib/locale/zh-TW.json +603 -359
  8. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
  9. package/lib/types/controllers/prompt.controller.d.ts +6 -1
  10. package/lib/types/locale/en-US.d.ts +464 -220
  11. package/lib/types/locale/function-list/compatibility/en-US.d.ts +6 -2
  12. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +6 -2
  13. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +6 -2
  14. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +6 -2
  15. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +6 -2
  16. package/lib/types/locale/function-list/engineering/en-US.d.ts +32 -112
  17. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +32 -112
  18. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +32 -112
  19. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +32 -112
  20. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +32 -112
  21. package/lib/types/locale/function-list/financial/en-US.d.ts +364 -52
  22. package/lib/types/locale/function-list/financial/ja-JP.d.ts +364 -52
  23. package/lib/types/locale/function-list/financial/vi-VN.d.ts +412 -46
  24. package/lib/types/locale/function-list/financial/zh-CN.d.ts +364 -52
  25. package/lib/types/locale/function-list/financial/zh-TW.d.ts +364 -52
  26. package/lib/types/locale/function-list/statistical/en-US.d.ts +12 -4
  27. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +12 -4
  28. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +44 -0
  29. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +12 -4
  30. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +12 -4
  31. package/lib/types/locale/ru-RU.d.ts +464 -220
  32. package/lib/types/locale/vi-VN.d.ts +494 -160
  33. package/lib/types/locale/zh-CN.d.ts +464 -220
  34. package/lib/types/locale/zh-TW.d.ts +464 -220
  35. package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -3
  36. package/lib/umd/index.js +4 -4
  37. package/package.json +24 -24
@@ -500,11 +500,27 @@ declare const _default: {
500
500
  url: string;
501
501
  }[];
502
502
  functionParameter: {
503
- number1: {
503
+ settlement: {
504
504
  name: string;
505
505
  detail: string;
506
506
  };
507
- number2: {
507
+ maturity: {
508
+ name: string;
509
+ detail: string;
510
+ };
511
+ coupon: {
512
+ name: string;
513
+ detail: string;
514
+ };
515
+ yld: {
516
+ name: string;
517
+ detail: string;
518
+ };
519
+ frequency: {
520
+ name: string;
521
+ detail: string;
522
+ };
523
+ basis: {
508
524
  name: string;
509
525
  detail: string;
510
526
  };
@@ -648,11 +664,11 @@ declare const _default: {
648
664
  url: string;
649
665
  }[];
650
666
  functionParameter: {
651
- number1: {
667
+ values: {
652
668
  name: string;
653
669
  detail: string;
654
670
  };
655
- number2: {
671
+ guess: {
656
672
  name: string;
657
673
  detail: string;
658
674
  };
@@ -692,11 +708,27 @@ declare const _default: {
692
708
  url: string;
693
709
  }[];
694
710
  functionParameter: {
695
- number1: {
711
+ settlement: {
696
712
  name: string;
697
713
  detail: string;
698
714
  };
699
- number2: {
715
+ maturity: {
716
+ name: string;
717
+ detail: string;
718
+ };
719
+ coupon: {
720
+ name: string;
721
+ detail: string;
722
+ };
723
+ yld: {
724
+ name: string;
725
+ detail: string;
726
+ };
727
+ frequency: {
728
+ name: string;
729
+ detail: string;
730
+ };
731
+ basis: {
700
732
  name: string;
701
733
  detail: string;
702
734
  };
@@ -710,11 +742,15 @@ declare const _default: {
710
742
  url: string;
711
743
  }[];
712
744
  functionParameter: {
713
- number1: {
745
+ values: {
714
746
  name: string;
715
747
  detail: string;
716
748
  };
717
- number2: {
749
+ financeRate: {
750
+ name: string;
751
+ detail: string;
752
+ };
753
+ reinvestRate: {
718
754
  name: string;
719
755
  detail: string;
720
756
  };
@@ -776,11 +812,15 @@ declare const _default: {
776
812
  url: string;
777
813
  }[];
778
814
  functionParameter: {
779
- number1: {
815
+ rate: {
780
816
  name: string;
781
817
  detail: string;
782
818
  };
783
- number2: {
819
+ value1: {
820
+ name: string;
821
+ detail: string;
822
+ };
823
+ value2: {
784
824
  name: string;
785
825
  detail: string;
786
826
  };
@@ -794,11 +834,39 @@ declare const _default: {
794
834
  url: string;
795
835
  }[];
796
836
  functionParameter: {
797
- number1: {
837
+ settlement: {
798
838
  name: string;
799
839
  detail: string;
800
840
  };
801
- number2: {
841
+ maturity: {
842
+ name: string;
843
+ detail: string;
844
+ };
845
+ issue: {
846
+ name: string;
847
+ detail: string;
848
+ };
849
+ firstCoupon: {
850
+ name: string;
851
+ detail: string;
852
+ };
853
+ rate: {
854
+ name: string;
855
+ detail: string;
856
+ };
857
+ yld: {
858
+ name: string;
859
+ detail: string;
860
+ };
861
+ redemption: {
862
+ name: string;
863
+ detail: string;
864
+ };
865
+ frequency: {
866
+ name: string;
867
+ detail: string;
868
+ };
869
+ basis: {
802
870
  name: string;
803
871
  detail: string;
804
872
  };
@@ -812,11 +880,39 @@ declare const _default: {
812
880
  url: string;
813
881
  }[];
814
882
  functionParameter: {
815
- number1: {
883
+ settlement: {
816
884
  name: string;
817
885
  detail: string;
818
886
  };
819
- number2: {
887
+ maturity: {
888
+ name: string;
889
+ detail: string;
890
+ };
891
+ issue: {
892
+ name: string;
893
+ detail: string;
894
+ };
895
+ firstCoupon: {
896
+ name: string;
897
+ detail: string;
898
+ };
899
+ rate: {
900
+ name: string;
901
+ detail: string;
902
+ };
903
+ pr: {
904
+ name: string;
905
+ detail: string;
906
+ };
907
+ redemption: {
908
+ name: string;
909
+ detail: string;
910
+ };
911
+ frequency: {
912
+ name: string;
913
+ detail: string;
914
+ };
915
+ basis: {
820
916
  name: string;
821
917
  detail: string;
822
918
  };
@@ -830,11 +926,35 @@ declare const _default: {
830
926
  url: string;
831
927
  }[];
832
928
  functionParameter: {
833
- number1: {
929
+ settlement: {
834
930
  name: string;
835
931
  detail: string;
836
932
  };
837
- number2: {
933
+ maturity: {
934
+ name: string;
935
+ detail: string;
936
+ };
937
+ lastInterest: {
938
+ name: string;
939
+ detail: string;
940
+ };
941
+ rate: {
942
+ name: string;
943
+ detail: string;
944
+ };
945
+ yld: {
946
+ name: string;
947
+ detail: string;
948
+ };
949
+ redemption: {
950
+ name: string;
951
+ detail: string;
952
+ };
953
+ frequency: {
954
+ name: string;
955
+ detail: string;
956
+ };
957
+ basis: {
838
958
  name: string;
839
959
  detail: string;
840
960
  };
@@ -848,11 +968,35 @@ declare const _default: {
848
968
  url: string;
849
969
  }[];
850
970
  functionParameter: {
851
- number1: {
971
+ settlement: {
852
972
  name: string;
853
973
  detail: string;
854
974
  };
855
- number2: {
975
+ maturity: {
976
+ name: string;
977
+ detail: string;
978
+ };
979
+ lastInterest: {
980
+ name: string;
981
+ detail: string;
982
+ };
983
+ rate: {
984
+ name: string;
985
+ detail: string;
986
+ };
987
+ pr: {
988
+ name: string;
989
+ detail: string;
990
+ };
991
+ redemption: {
992
+ name: string;
993
+ detail: string;
994
+ };
995
+ frequency: {
996
+ name: string;
997
+ detail: string;
998
+ };
999
+ basis: {
856
1000
  name: string;
857
1001
  detail: string;
858
1002
  };
@@ -866,11 +1010,15 @@ declare const _default: {
866
1010
  url: string;
867
1011
  }[];
868
1012
  functionParameter: {
869
- number1: {
1013
+ rate: {
870
1014
  name: string;
871
1015
  detail: string;
872
1016
  };
873
- number2: {
1017
+ pv: {
1018
+ name: string;
1019
+ detail: string;
1020
+ };
1021
+ fv: {
874
1022
  name: string;
875
1023
  detail: string;
876
1024
  };
@@ -948,11 +1096,31 @@ declare const _default: {
948
1096
  url: string;
949
1097
  }[];
950
1098
  functionParameter: {
951
- number1: {
1099
+ settlement: {
952
1100
  name: string;
953
1101
  detail: string;
954
1102
  };
955
- number2: {
1103
+ maturity: {
1104
+ name: string;
1105
+ detail: string;
1106
+ };
1107
+ rate: {
1108
+ name: string;
1109
+ detail: string;
1110
+ };
1111
+ yld: {
1112
+ name: string;
1113
+ detail: string;
1114
+ };
1115
+ redemption: {
1116
+ name: string;
1117
+ detail: string;
1118
+ };
1119
+ frequency: {
1120
+ name: string;
1121
+ detail: string;
1122
+ };
1123
+ basis: {
956
1124
  name: string;
957
1125
  detail: string;
958
1126
  };
@@ -966,11 +1134,23 @@ declare const _default: {
966
1134
  url: string;
967
1135
  }[];
968
1136
  functionParameter: {
969
- number1: {
1137
+ settlement: {
970
1138
  name: string;
971
1139
  detail: string;
972
1140
  };
973
- number2: {
1141
+ maturity: {
1142
+ name: string;
1143
+ detail: string;
1144
+ };
1145
+ discount: {
1146
+ name: string;
1147
+ detail: string;
1148
+ };
1149
+ redemption: {
1150
+ name: string;
1151
+ detail: string;
1152
+ };
1153
+ basis: {
974
1154
  name: string;
975
1155
  detail: string;
976
1156
  };
@@ -984,11 +1164,27 @@ declare const _default: {
984
1164
  url: string;
985
1165
  }[];
986
1166
  functionParameter: {
987
- number1: {
1167
+ settlement: {
988
1168
  name: string;
989
1169
  detail: string;
990
1170
  };
991
- number2: {
1171
+ maturity: {
1172
+ name: string;
1173
+ detail: string;
1174
+ };
1175
+ issue: {
1176
+ name: string;
1177
+ detail: string;
1178
+ };
1179
+ rate: {
1180
+ name: string;
1181
+ detail: string;
1182
+ };
1183
+ yld: {
1184
+ name: string;
1185
+ detail: string;
1186
+ };
1187
+ basis: {
992
1188
  name: string;
993
1189
  detail: string;
994
1190
  };
@@ -1066,11 +1262,23 @@ declare const _default: {
1066
1262
  url: string;
1067
1263
  }[];
1068
1264
  functionParameter: {
1069
- number1: {
1265
+ settlement: {
1070
1266
  name: string;
1071
1267
  detail: string;
1072
1268
  };
1073
- number2: {
1269
+ maturity: {
1270
+ name: string;
1271
+ detail: string;
1272
+ };
1273
+ investment: {
1274
+ name: string;
1275
+ detail: string;
1276
+ };
1277
+ discount: {
1278
+ name: string;
1279
+ detail: string;
1280
+ };
1281
+ basis: {
1074
1282
  name: string;
1075
1283
  detail: string;
1076
1284
  };
@@ -1084,11 +1292,15 @@ declare const _default: {
1084
1292
  url: string;
1085
1293
  }[];
1086
1294
  functionParameter: {
1087
- number1: {
1295
+ nper: {
1088
1296
  name: string;
1089
1297
  detail: string;
1090
1298
  };
1091
- number2: {
1299
+ pv: {
1300
+ name: string;
1301
+ detail: string;
1302
+ };
1303
+ fv: {
1092
1304
  name: string;
1093
1305
  detail: string;
1094
1306
  };
@@ -1102,11 +1314,15 @@ declare const _default: {
1102
1314
  url: string;
1103
1315
  }[];
1104
1316
  functionParameter: {
1105
- number1: {
1317
+ cost: {
1106
1318
  name: string;
1107
1319
  detail: string;
1108
1320
  };
1109
- number2: {
1321
+ salvage: {
1322
+ name: string;
1323
+ detail: string;
1324
+ };
1325
+ life: {
1110
1326
  name: string;
1111
1327
  detail: string;
1112
1328
  };
@@ -1120,11 +1336,19 @@ declare const _default: {
1120
1336
  url: string;
1121
1337
  }[];
1122
1338
  functionParameter: {
1123
- number1: {
1339
+ cost: {
1124
1340
  name: string;
1125
1341
  detail: string;
1126
1342
  };
1127
- number2: {
1343
+ salvage: {
1344
+ name: string;
1345
+ detail: string;
1346
+ };
1347
+ life: {
1348
+ name: string;
1349
+ detail: string;
1350
+ };
1351
+ per: {
1128
1352
  name: string;
1129
1353
  detail: string;
1130
1354
  };
@@ -1138,11 +1362,15 @@ declare const _default: {
1138
1362
  url: string;
1139
1363
  }[];
1140
1364
  functionParameter: {
1141
- number1: {
1365
+ settlement: {
1142
1366
  name: string;
1143
1367
  detail: string;
1144
1368
  };
1145
- number2: {
1369
+ maturity: {
1370
+ name: string;
1371
+ detail: string;
1372
+ };
1373
+ discount: {
1146
1374
  name: string;
1147
1375
  detail: string;
1148
1376
  };
@@ -1156,11 +1384,15 @@ declare const _default: {
1156
1384
  url: string;
1157
1385
  }[];
1158
1386
  functionParameter: {
1159
- number1: {
1387
+ settlement: {
1160
1388
  name: string;
1161
1389
  detail: string;
1162
1390
  };
1163
- number2: {
1391
+ maturity: {
1392
+ name: string;
1393
+ detail: string;
1394
+ };
1395
+ discount: {
1164
1396
  name: string;
1165
1397
  detail: string;
1166
1398
  };
@@ -1174,11 +1406,15 @@ declare const _default: {
1174
1406
  url: string;
1175
1407
  }[];
1176
1408
  functionParameter: {
1177
- number1: {
1409
+ settlement: {
1178
1410
  name: string;
1179
1411
  detail: string;
1180
1412
  };
1181
- number2: {
1413
+ maturity: {
1414
+ name: string;
1415
+ detail: string;
1416
+ };
1417
+ pr: {
1182
1418
  name: string;
1183
1419
  detail: string;
1184
1420
  };
@@ -1192,11 +1428,31 @@ declare const _default: {
1192
1428
  url: string;
1193
1429
  }[];
1194
1430
  functionParameter: {
1195
- number1: {
1431
+ cost: {
1196
1432
  name: string;
1197
1433
  detail: string;
1198
1434
  };
1199
- number2: {
1435
+ salvage: {
1436
+ name: string;
1437
+ detail: string;
1438
+ };
1439
+ life: {
1440
+ name: string;
1441
+ detail: string;
1442
+ };
1443
+ startPeriod: {
1444
+ name: string;
1445
+ detail: string;
1446
+ };
1447
+ endPeriod: {
1448
+ name: string;
1449
+ detail: string;
1450
+ };
1451
+ factor: {
1452
+ name: string;
1453
+ detail: string;
1454
+ };
1455
+ noSwitch: {
1200
1456
  name: string;
1201
1457
  detail: string;
1202
1458
  };
@@ -1210,11 +1466,15 @@ declare const _default: {
1210
1466
  url: string;
1211
1467
  }[];
1212
1468
  functionParameter: {
1213
- number1: {
1469
+ values: {
1214
1470
  name: string;
1215
1471
  detail: string;
1216
1472
  };
1217
- number2: {
1473
+ dates: {
1474
+ name: string;
1475
+ detail: string;
1476
+ };
1477
+ guess: {
1218
1478
  name: string;
1219
1479
  detail: string;
1220
1480
  };
@@ -1228,11 +1488,15 @@ declare const _default: {
1228
1488
  url: string;
1229
1489
  }[];
1230
1490
  functionParameter: {
1231
- number1: {
1491
+ rate: {
1232
1492
  name: string;
1233
1493
  detail: string;
1234
1494
  };
1235
- number2: {
1495
+ values: {
1496
+ name: string;
1497
+ detail: string;
1498
+ };
1499
+ dates: {
1236
1500
  name: string;
1237
1501
  detail: string;
1238
1502
  };
@@ -1246,11 +1510,31 @@ declare const _default: {
1246
1510
  url: string;
1247
1511
  }[];
1248
1512
  functionParameter: {
1249
- number1: {
1513
+ settlement: {
1250
1514
  name: string;
1251
1515
  detail: string;
1252
1516
  };
1253
- number2: {
1517
+ maturity: {
1518
+ name: string;
1519
+ detail: string;
1520
+ };
1521
+ rate: {
1522
+ name: string;
1523
+ detail: string;
1524
+ };
1525
+ pr: {
1526
+ name: string;
1527
+ detail: string;
1528
+ };
1529
+ redemption: {
1530
+ name: string;
1531
+ detail: string;
1532
+ };
1533
+ frequency: {
1534
+ name: string;
1535
+ detail: string;
1536
+ };
1537
+ basis: {
1254
1538
  name: string;
1255
1539
  detail: string;
1256
1540
  };
@@ -1264,11 +1548,23 @@ declare const _default: {
1264
1548
  url: string;
1265
1549
  }[];
1266
1550
  functionParameter: {
1267
- number1: {
1551
+ settlement: {
1268
1552
  name: string;
1269
1553
  detail: string;
1270
1554
  };
1271
- number2: {
1555
+ maturity: {
1556
+ name: string;
1557
+ detail: string;
1558
+ };
1559
+ pr: {
1560
+ name: string;
1561
+ detail: string;
1562
+ };
1563
+ redemption: {
1564
+ name: string;
1565
+ detail: string;
1566
+ };
1567
+ basis: {
1272
1568
  name: string;
1273
1569
  detail: string;
1274
1570
  };
@@ -1282,11 +1578,27 @@ declare const _default: {
1282
1578
  url: string;
1283
1579
  }[];
1284
1580
  functionParameter: {
1285
- number1: {
1581
+ settlement: {
1286
1582
  name: string;
1287
1583
  detail: string;
1288
1584
  };
1289
- number2: {
1585
+ maturity: {
1586
+ name: string;
1587
+ detail: string;
1588
+ };
1589
+ issue: {
1590
+ name: string;
1591
+ detail: string;
1592
+ };
1593
+ rate: {
1594
+ name: string;
1595
+ detail: string;
1596
+ };
1597
+ pr: {
1598
+ name: string;
1599
+ detail: string;
1600
+ };
1601
+ basis: {
1290
1602
  name: string;
1291
1603
  detail: string;
1292
1604
  };
@@ -1578,11 +1578,15 @@ declare const _default: {
1578
1578
  url: string;
1579
1579
  }[];
1580
1580
  functionParameter: {
1581
- number1: {
1581
+ number: {
1582
1582
  name: string;
1583
1583
  detail: string;
1584
1584
  };
1585
- number2: {
1585
+ ref: {
1586
+ name: string;
1587
+ detail: string;
1588
+ };
1589
+ order: {
1586
1590
  name: string;
1587
1591
  detail: string;
1588
1592
  };
@@ -1596,11 +1600,15 @@ declare const _default: {
1596
1600
  url: string;
1597
1601
  }[];
1598
1602
  functionParameter: {
1599
- number1: {
1603
+ number: {
1600
1604
  name: string;
1601
1605
  detail: string;
1602
1606
  };
1603
- number2: {
1607
+ ref: {
1608
+ name: string;
1609
+ detail: string;
1610
+ };
1611
+ order: {
1604
1612
  name: string;
1605
1613
  detail: string;
1606
1614
  };