@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
  };
@@ -684,6 +700,40 @@ declare const _default: {
684
700
  };
685
701
  };
686
702
  };
703
+ MDURATION: {
704
+ description: string;
705
+ abstract: string;
706
+ links: {
707
+ title: string;
708
+ url: string;
709
+ }[];
710
+ functionParameter: {
711
+ settlement: {
712
+ name: string;
713
+ detail: string;
714
+ };
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: {
732
+ name: string;
733
+ detail: string;
734
+ };
735
+ };
736
+ };
687
737
  MIRR: {
688
738
  description: string;
689
739
  abstract: string;
@@ -692,11 +742,15 @@ declare const _default: {
692
742
  url: string;
693
743
  }[];
694
744
  functionParameter: {
695
- number1: {
745
+ values: {
696
746
  name: string;
697
747
  detail: string;
698
748
  };
699
- number2: {
749
+ financeRate: {
750
+ name: string;
751
+ detail: string;
752
+ };
753
+ reinvestRate: {
700
754
  name: string;
701
755
  detail: string;
702
756
  };
@@ -758,11 +812,15 @@ declare const _default: {
758
812
  url: string;
759
813
  }[];
760
814
  functionParameter: {
761
- number1: {
815
+ rate: {
762
816
  name: string;
763
817
  detail: string;
764
818
  };
765
- number2: {
819
+ value1: {
820
+ name: string;
821
+ detail: string;
822
+ };
823
+ value2: {
766
824
  name: string;
767
825
  detail: string;
768
826
  };
@@ -776,11 +834,39 @@ declare const _default: {
776
834
  url: string;
777
835
  }[];
778
836
  functionParameter: {
779
- number1: {
837
+ settlement: {
780
838
  name: string;
781
839
  detail: string;
782
840
  };
783
- 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: {
784
870
  name: string;
785
871
  detail: string;
786
872
  };
@@ -794,11 +880,39 @@ declare const _default: {
794
880
  url: string;
795
881
  }[];
796
882
  functionParameter: {
797
- number1: {
883
+ settlement: {
798
884
  name: string;
799
885
  detail: string;
800
886
  };
801
- 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: {
802
916
  name: string;
803
917
  detail: string;
804
918
  };
@@ -812,11 +926,35 @@ declare const _default: {
812
926
  url: string;
813
927
  }[];
814
928
  functionParameter: {
815
- number1: {
929
+ settlement: {
816
930
  name: string;
817
931
  detail: string;
818
932
  };
819
- 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: {
820
958
  name: string;
821
959
  detail: string;
822
960
  };
@@ -830,11 +968,57 @@ declare const _default: {
830
968
  url: string;
831
969
  }[];
832
970
  functionParameter: {
833
- number1: {
971
+ settlement: {
834
972
  name: string;
835
973
  detail: string;
836
974
  };
837
- 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: {
1000
+ name: string;
1001
+ detail: string;
1002
+ };
1003
+ };
1004
+ };
1005
+ PDURATION: {
1006
+ description: string;
1007
+ abstract: string;
1008
+ links: {
1009
+ title: string;
1010
+ url: string;
1011
+ }[];
1012
+ functionParameter: {
1013
+ rate: {
1014
+ name: string;
1015
+ detail: string;
1016
+ };
1017
+ pv: {
1018
+ name: string;
1019
+ detail: string;
1020
+ };
1021
+ fv: {
838
1022
  name: string;
839
1023
  detail: string;
840
1024
  };
@@ -912,11 +1096,31 @@ declare const _default: {
912
1096
  url: string;
913
1097
  }[];
914
1098
  functionParameter: {
915
- number1: {
1099
+ settlement: {
916
1100
  name: string;
917
1101
  detail: string;
918
1102
  };
919
- 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: {
920
1124
  name: string;
921
1125
  detail: string;
922
1126
  };
@@ -930,11 +1134,23 @@ declare const _default: {
930
1134
  url: string;
931
1135
  }[];
932
1136
  functionParameter: {
933
- number1: {
1137
+ settlement: {
934
1138
  name: string;
935
1139
  detail: string;
936
1140
  };
937
- 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: {
938
1154
  name: string;
939
1155
  detail: string;
940
1156
  };
@@ -948,11 +1164,27 @@ declare const _default: {
948
1164
  url: string;
949
1165
  }[];
950
1166
  functionParameter: {
951
- number1: {
1167
+ settlement: {
952
1168
  name: string;
953
1169
  detail: string;
954
1170
  };
955
- 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: {
956
1188
  name: string;
957
1189
  detail: string;
958
1190
  };
@@ -1030,11 +1262,45 @@ declare const _default: {
1030
1262
  url: string;
1031
1263
  }[];
1032
1264
  functionParameter: {
1033
- number1: {
1265
+ settlement: {
1034
1266
  name: string;
1035
1267
  detail: string;
1036
1268
  };
1037
- 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: {
1282
+ name: string;
1283
+ detail: string;
1284
+ };
1285
+ };
1286
+ };
1287
+ RRI: {
1288
+ description: string;
1289
+ abstract: string;
1290
+ links: {
1291
+ title: string;
1292
+ url: string;
1293
+ }[];
1294
+ functionParameter: {
1295
+ nper: {
1296
+ name: string;
1297
+ detail: string;
1298
+ };
1299
+ pv: {
1300
+ name: string;
1301
+ detail: string;
1302
+ };
1303
+ fv: {
1038
1304
  name: string;
1039
1305
  detail: string;
1040
1306
  };
@@ -1048,11 +1314,15 @@ declare const _default: {
1048
1314
  url: string;
1049
1315
  }[];
1050
1316
  functionParameter: {
1051
- number1: {
1317
+ cost: {
1052
1318
  name: string;
1053
1319
  detail: string;
1054
1320
  };
1055
- number2: {
1321
+ salvage: {
1322
+ name: string;
1323
+ detail: string;
1324
+ };
1325
+ life: {
1056
1326
  name: string;
1057
1327
  detail: string;
1058
1328
  };
@@ -1066,11 +1336,19 @@ declare const _default: {
1066
1336
  url: string;
1067
1337
  }[];
1068
1338
  functionParameter: {
1069
- number1: {
1339
+ cost: {
1070
1340
  name: string;
1071
1341
  detail: string;
1072
1342
  };
1073
- number2: {
1343
+ salvage: {
1344
+ name: string;
1345
+ detail: string;
1346
+ };
1347
+ life: {
1348
+ name: string;
1349
+ detail: string;
1350
+ };
1351
+ per: {
1074
1352
  name: string;
1075
1353
  detail: string;
1076
1354
  };
@@ -1084,11 +1362,15 @@ declare const _default: {
1084
1362
  url: string;
1085
1363
  }[];
1086
1364
  functionParameter: {
1087
- number1: {
1365
+ settlement: {
1088
1366
  name: string;
1089
1367
  detail: string;
1090
1368
  };
1091
- number2: {
1369
+ maturity: {
1370
+ name: string;
1371
+ detail: string;
1372
+ };
1373
+ discount: {
1092
1374
  name: string;
1093
1375
  detail: string;
1094
1376
  };
@@ -1102,11 +1384,15 @@ declare const _default: {
1102
1384
  url: string;
1103
1385
  }[];
1104
1386
  functionParameter: {
1105
- number1: {
1387
+ settlement: {
1106
1388
  name: string;
1107
1389
  detail: string;
1108
1390
  };
1109
- number2: {
1391
+ maturity: {
1392
+ name: string;
1393
+ detail: string;
1394
+ };
1395
+ discount: {
1110
1396
  name: string;
1111
1397
  detail: string;
1112
1398
  };
@@ -1120,11 +1406,15 @@ declare const _default: {
1120
1406
  url: string;
1121
1407
  }[];
1122
1408
  functionParameter: {
1123
- number1: {
1409
+ settlement: {
1124
1410
  name: string;
1125
1411
  detail: string;
1126
1412
  };
1127
- number2: {
1413
+ maturity: {
1414
+ name: string;
1415
+ detail: string;
1416
+ };
1417
+ pr: {
1128
1418
  name: string;
1129
1419
  detail: string;
1130
1420
  };
@@ -1138,11 +1428,31 @@ declare const _default: {
1138
1428
  url: string;
1139
1429
  }[];
1140
1430
  functionParameter: {
1141
- number1: {
1431
+ cost: {
1142
1432
  name: string;
1143
1433
  detail: string;
1144
1434
  };
1145
- 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: {
1146
1456
  name: string;
1147
1457
  detail: string;
1148
1458
  };
@@ -1156,11 +1466,15 @@ declare const _default: {
1156
1466
  url: string;
1157
1467
  }[];
1158
1468
  functionParameter: {
1159
- number1: {
1469
+ values: {
1160
1470
  name: string;
1161
1471
  detail: string;
1162
1472
  };
1163
- number2: {
1473
+ dates: {
1474
+ name: string;
1475
+ detail: string;
1476
+ };
1477
+ guess: {
1164
1478
  name: string;
1165
1479
  detail: string;
1166
1480
  };
@@ -1174,11 +1488,15 @@ declare const _default: {
1174
1488
  url: string;
1175
1489
  }[];
1176
1490
  functionParameter: {
1177
- number1: {
1491
+ rate: {
1178
1492
  name: string;
1179
1493
  detail: string;
1180
1494
  };
1181
- number2: {
1495
+ values: {
1496
+ name: string;
1497
+ detail: string;
1498
+ };
1499
+ dates: {
1182
1500
  name: string;
1183
1501
  detail: string;
1184
1502
  };
@@ -1192,11 +1510,31 @@ declare const _default: {
1192
1510
  url: string;
1193
1511
  }[];
1194
1512
  functionParameter: {
1195
- number1: {
1513
+ settlement: {
1196
1514
  name: string;
1197
1515
  detail: string;
1198
1516
  };
1199
- 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: {
1200
1538
  name: string;
1201
1539
  detail: string;
1202
1540
  };
@@ -1210,11 +1548,23 @@ declare const _default: {
1210
1548
  url: string;
1211
1549
  }[];
1212
1550
  functionParameter: {
1213
- number1: {
1551
+ settlement: {
1214
1552
  name: string;
1215
1553
  detail: string;
1216
1554
  };
1217
- 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: {
1218
1568
  name: string;
1219
1569
  detail: string;
1220
1570
  };
@@ -1228,11 +1578,27 @@ declare const _default: {
1228
1578
  url: string;
1229
1579
  }[];
1230
1580
  functionParameter: {
1231
- number1: {
1581
+ settlement: {
1232
1582
  name: string;
1233
1583
  detail: string;
1234
1584
  };
1235
- 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: {
1236
1602
  name: string;
1237
1603
  detail: string;
1238
1604
  };