@univerjs/sheets-formula 0.2.7 → 0.2.8

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 (103) hide show
  1. package/lib/cjs/index.js +2 -2
  2. package/lib/es/index.js +880 -366
  3. package/lib/locale/en-US.json +616 -332
  4. package/lib/locale/ru-RU.json +616 -332
  5. package/lib/locale/vi-VN.json +624 -340
  6. package/lib/locale/zh-CN.json +624 -340
  7. package/lib/locale/zh-TW.json +624 -340
  8. package/lib/types/commands/commands/formula-clipboard.command.d.ts +0 -1
  9. package/lib/types/commands/commands/insert-function.command.d.ts +0 -1
  10. package/lib/types/commands/mutations/formula.mutation.d.ts +0 -1
  11. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +0 -1
  12. package/lib/types/commands/operations/editor-formula.operation.d.ts +0 -1
  13. package/lib/types/commands/operations/help-function.operation.d.ts +0 -1
  14. package/lib/types/commands/operations/insert-function.operation.d.ts +0 -1
  15. package/lib/types/commands/operations/more-functions.operation.d.ts +0 -1
  16. package/lib/types/commands/operations/reference-absolute.operation.d.ts +0 -1
  17. package/lib/types/commands/operations/search-function.operation.d.ts +0 -1
  18. package/lib/types/common/selection.d.ts +0 -1
  19. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +0 -1
  20. package/lib/types/controllers/active-dirty.controller.d.ts +0 -1
  21. package/lib/types/controllers/array-formula-display.controller.d.ts +0 -1
  22. package/lib/types/controllers/defined-name.controller.d.ts +0 -1
  23. package/lib/types/controllers/formula-alert-render.controller.d.ts +0 -1
  24. package/lib/types/controllers/formula-auto-fill.controller.d.ts +0 -1
  25. package/lib/types/controllers/formula-clipboard.controller.d.ts +0 -1
  26. package/lib/types/controllers/formula-editor-show.controller.d.ts +0 -1
  27. package/lib/types/controllers/formula-render.controller.d.ts +0 -1
  28. package/lib/types/controllers/formula-ui.controller.d.ts +0 -1
  29. package/lib/types/controllers/menu.d.ts +0 -1
  30. package/lib/types/controllers/prompt.controller.d.ts +4 -1
  31. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +0 -1
  32. package/lib/types/controllers/trigger-calculation.controller.d.ts +0 -1
  33. package/lib/types/controllers/update-formula.controller.d.ts +0 -1
  34. package/lib/types/controllers/utils/offset-formula-data.d.ts +0 -1
  35. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -1
  36. package/lib/types/controllers/utils/utils.d.ts +0 -1
  37. package/lib/types/formula-ui-plugin.d.ts +0 -1
  38. package/lib/types/locale/en-US.d.ts +408 -124
  39. package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
  40. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
  41. package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
  42. package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
  43. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
  44. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
  45. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
  46. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
  47. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
  48. package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
  49. package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
  50. package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
  51. package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
  52. package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
  53. package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
  54. package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
  55. package/lib/types/locale/function-list/logical/en-US.d.ts +14 -2
  56. package/lib/types/locale/function-list/logical/ja-JP.d.ts +14 -2
  57. package/lib/types/locale/function-list/logical/ru-RU.d.ts +0 -1
  58. package/lib/types/locale/function-list/logical/vi-VN.d.ts +14 -2
  59. package/lib/types/locale/function-list/logical/zh-CN.d.ts +14 -2
  60. package/lib/types/locale/function-list/logical/zh-TW.d.ts +14 -2
  61. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
  62. package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
  63. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
  64. package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
  65. package/lib/types/locale/ru-RU.d.ts +408 -124
  66. package/lib/types/locale/vi-VN.d.ts +408 -124
  67. package/lib/types/locale/zh-CN.d.ts +408 -124
  68. package/lib/types/locale/zh-TW.d.ts +408 -124
  69. package/lib/types/services/description.service.d.ts +0 -1
  70. package/lib/types/services/formula-common.d.ts +0 -1
  71. package/lib/types/services/formula-ref-range.service.d.ts +0 -1
  72. package/lib/types/services/function-list/array.d.ts +0 -1
  73. package/lib/types/services/function-list/compatibility.d.ts +0 -1
  74. package/lib/types/services/function-list/cube.d.ts +0 -1
  75. package/lib/types/services/function-list/database.d.ts +0 -1
  76. package/lib/types/services/function-list/date.d.ts +0 -1
  77. package/lib/types/services/function-list/engineering.d.ts +0 -1
  78. package/lib/types/services/function-list/financial.d.ts +0 -1
  79. package/lib/types/services/function-list/function-list.d.ts +0 -1
  80. package/lib/types/services/function-list/information.d.ts +0 -1
  81. package/lib/types/services/function-list/logical.d.ts +0 -1
  82. package/lib/types/services/function-list/lookup.d.ts +0 -1
  83. package/lib/types/services/function-list/math.d.ts +0 -1
  84. package/lib/types/services/function-list/statistical.d.ts +0 -1
  85. package/lib/types/services/function-list/text.d.ts +0 -1
  86. package/lib/types/services/function-list/univer.d.ts +0 -1
  87. package/lib/types/services/function-list/web.d.ts +0 -1
  88. package/lib/types/services/prompt.service.d.ts +0 -1
  89. package/lib/types/services/register-function.service.d.ts +0 -1
  90. package/lib/types/services/register-other-formula.service.d.ts +0 -1
  91. package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
  92. package/lib/types/services/render-services/ref-selections.render-service.d.ts +0 -1
  93. package/lib/types/services/utils.d.ts +0 -1
  94. package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
  95. package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
  96. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
  97. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
  98. package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
  99. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
  100. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
  101. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
  102. package/lib/umd/index.js +2 -2
  103. package/package.json +23 -23
@@ -22,11 +22,35 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ issue: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ firstInterest: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ settlement: {
34
+ name: string;
35
+ detail: string;
36
+ };
37
+ rate: {
38
+ name: string;
39
+ detail: string;
40
+ };
41
+ par: {
42
+ name: string;
43
+ detail: string;
44
+ };
45
+ frequency: {
46
+ name: string;
47
+ detail: string;
48
+ };
49
+ basis: {
50
+ name: string;
51
+ detail: string;
52
+ };
53
+ calcMethod: {
30
54
  name: string;
31
55
  detail: string;
32
56
  };
@@ -40,11 +64,23 @@ declare const _default: {
40
64
  url: string;
41
65
  }[];
42
66
  functionParameter: {
43
- number1: {
67
+ issue: {
44
68
  name: string;
45
69
  detail: string;
46
70
  };
47
- number2: {
71
+ settlement: {
72
+ name: string;
73
+ detail: string;
74
+ };
75
+ rate: {
76
+ name: string;
77
+ detail: string;
78
+ };
79
+ par: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ basis: {
48
84
  name: string;
49
85
  detail: string;
50
86
  };
@@ -76,11 +112,31 @@ declare const _default: {
76
112
  url: string;
77
113
  }[];
78
114
  functionParameter: {
79
- number1: {
115
+ cost: {
80
116
  name: string;
81
117
  detail: string;
82
118
  };
83
- number2: {
119
+ datePurchased: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ firstPeriod: {
124
+ name: string;
125
+ detail: string;
126
+ };
127
+ salvage: {
128
+ name: string;
129
+ detail: string;
130
+ };
131
+ period: {
132
+ name: string;
133
+ detail: string;
134
+ };
135
+ rate: {
136
+ name: string;
137
+ detail: string;
138
+ };
139
+ basis: {
84
140
  name: string;
85
141
  detail: string;
86
142
  };
@@ -94,11 +150,19 @@ declare const _default: {
94
150
  url: string;
95
151
  }[];
96
152
  functionParameter: {
97
- number1: {
153
+ settlement: {
98
154
  name: string;
99
155
  detail: string;
100
156
  };
101
- number2: {
157
+ maturity: {
158
+ name: string;
159
+ detail: string;
160
+ };
161
+ frequency: {
162
+ name: string;
163
+ detail: string;
164
+ };
165
+ basis: {
102
166
  name: string;
103
167
  detail: string;
104
168
  };
@@ -112,11 +176,19 @@ declare const _default: {
112
176
  url: string;
113
177
  }[];
114
178
  functionParameter: {
115
- number1: {
179
+ settlement: {
116
180
  name: string;
117
181
  detail: string;
118
182
  };
119
- number2: {
183
+ maturity: {
184
+ name: string;
185
+ detail: string;
186
+ };
187
+ frequency: {
188
+ name: string;
189
+ detail: string;
190
+ };
191
+ basis: {
120
192
  name: string;
121
193
  detail: string;
122
194
  };
@@ -130,11 +202,19 @@ declare const _default: {
130
202
  url: string;
131
203
  }[];
132
204
  functionParameter: {
133
- number1: {
205
+ settlement: {
134
206
  name: string;
135
207
  detail: string;
136
208
  };
137
- number2: {
209
+ maturity: {
210
+ name: string;
211
+ detail: string;
212
+ };
213
+ frequency: {
214
+ name: string;
215
+ detail: string;
216
+ };
217
+ basis: {
138
218
  name: string;
139
219
  detail: string;
140
220
  };
@@ -148,11 +228,19 @@ declare const _default: {
148
228
  url: string;
149
229
  }[];
150
230
  functionParameter: {
151
- number1: {
231
+ settlement: {
152
232
  name: string;
153
233
  detail: string;
154
234
  };
155
- number2: {
235
+ maturity: {
236
+ name: string;
237
+ detail: string;
238
+ };
239
+ frequency: {
240
+ name: string;
241
+ detail: string;
242
+ };
243
+ basis: {
156
244
  name: string;
157
245
  detail: string;
158
246
  };
@@ -166,11 +254,19 @@ declare const _default: {
166
254
  url: string;
167
255
  }[];
168
256
  functionParameter: {
169
- number1: {
257
+ settlement: {
170
258
  name: string;
171
259
  detail: string;
172
260
  };
173
- number2: {
261
+ maturity: {
262
+ name: string;
263
+ detail: string;
264
+ };
265
+ frequency: {
266
+ name: string;
267
+ detail: string;
268
+ };
269
+ basis: {
174
270
  name: string;
175
271
  detail: string;
176
272
  };
@@ -184,11 +280,19 @@ declare const _default: {
184
280
  url: string;
185
281
  }[];
186
282
  functionParameter: {
187
- number1: {
283
+ settlement: {
188
284
  name: string;
189
285
  detail: string;
190
286
  };
191
- number2: {
287
+ maturity: {
288
+ name: string;
289
+ detail: string;
290
+ };
291
+ frequency: {
292
+ name: string;
293
+ detail: string;
294
+ };
295
+ basis: {
192
296
  name: string;
193
297
  detail: string;
194
298
  };
@@ -202,11 +306,27 @@ declare const _default: {
202
306
  url: string;
203
307
  }[];
204
308
  functionParameter: {
205
- number1: {
309
+ rate: {
206
310
  name: string;
207
311
  detail: string;
208
312
  };
209
- number2: {
313
+ nper: {
314
+ name: string;
315
+ detail: string;
316
+ };
317
+ pv: {
318
+ name: string;
319
+ detail: string;
320
+ };
321
+ startPeriod: {
322
+ name: string;
323
+ detail: string;
324
+ };
325
+ endPeriod: {
326
+ name: string;
327
+ detail: string;
328
+ };
329
+ type: {
210
330
  name: string;
211
331
  detail: string;
212
332
  };
@@ -220,11 +340,27 @@ declare const _default: {
220
340
  url: string;
221
341
  }[];
222
342
  functionParameter: {
223
- number1: {
343
+ rate: {
224
344
  name: string;
225
345
  detail: string;
226
346
  };
227
- number2: {
347
+ nper: {
348
+ name: string;
349
+ detail: string;
350
+ };
351
+ pv: {
352
+ name: string;
353
+ detail: string;
354
+ };
355
+ startPeriod: {
356
+ name: string;
357
+ detail: string;
358
+ };
359
+ endPeriod: {
360
+ name: string;
361
+ detail: string;
362
+ };
363
+ type: {
228
364
  name: string;
229
365
  detail: string;
230
366
  };
@@ -238,11 +374,23 @@ declare const _default: {
238
374
  url: string;
239
375
  }[];
240
376
  functionParameter: {
241
- number1: {
377
+ cost: {
242
378
  name: string;
243
379
  detail: string;
244
380
  };
245
- number2: {
381
+ salvage: {
382
+ name: string;
383
+ detail: string;
384
+ };
385
+ life: {
386
+ name: string;
387
+ detail: string;
388
+ };
389
+ period: {
390
+ name: string;
391
+ detail: string;
392
+ };
393
+ month: {
246
394
  name: string;
247
395
  detail: string;
248
396
  };
@@ -256,11 +404,23 @@ declare const _default: {
256
404
  url: string;
257
405
  }[];
258
406
  functionParameter: {
259
- number1: {
407
+ cost: {
260
408
  name: string;
261
409
  detail: string;
262
410
  };
263
- number2: {
411
+ salvage: {
412
+ name: string;
413
+ detail: string;
414
+ };
415
+ life: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ period: {
420
+ name: string;
421
+ detail: string;
422
+ };
423
+ factor: {
264
424
  name: string;
265
425
  detail: string;
266
426
  };
@@ -274,11 +434,23 @@ declare const _default: {
274
434
  url: string;
275
435
  }[];
276
436
  functionParameter: {
277
- number1: {
437
+ settlement: {
278
438
  name: string;
279
439
  detail: string;
280
440
  };
281
- number2: {
441
+ maturity: {
442
+ name: string;
443
+ detail: string;
444
+ };
445
+ pr: {
446
+ name: string;
447
+ detail: string;
448
+ };
449
+ redemption: {
450
+ name: string;
451
+ detail: string;
452
+ };
453
+ basis: {
282
454
  name: string;
283
455
  detail: string;
284
456
  };
@@ -292,11 +464,11 @@ declare const _default: {
292
464
  url: string;
293
465
  }[];
294
466
  functionParameter: {
295
- number1: {
467
+ fractionalDollar: {
296
468
  name: string;
297
469
  detail: string;
298
470
  };
299
- number2: {
471
+ fraction: {
300
472
  name: string;
301
473
  detail: string;
302
474
  };
@@ -310,11 +482,11 @@ declare const _default: {
310
482
  url: string;
311
483
  }[];
312
484
  functionParameter: {
313
- number1: {
485
+ decimalDollar: {
314
486
  name: string;
315
487
  detail: string;
316
488
  };
317
- number2: {
489
+ fraction: {
318
490
  name: string;
319
491
  detail: string;
320
492
  };
@@ -346,11 +518,11 @@ declare const _default: {
346
518
  url: string;
347
519
  }[];
348
520
  functionParameter: {
349
- number1: {
521
+ nominalRate: {
350
522
  name: string;
351
523
  detail: string;
352
524
  };
353
- number2: {
525
+ npery: {
354
526
  name: string;
355
527
  detail: string;
356
528
  };
@@ -364,11 +536,23 @@ declare const _default: {
364
536
  url: string;
365
537
  }[];
366
538
  functionParameter: {
367
- number1: {
539
+ rate: {
368
540
  name: string;
369
541
  detail: string;
370
542
  };
371
- number2: {
543
+ nper: {
544
+ name: string;
545
+ detail: string;
546
+ };
547
+ pmt: {
548
+ name: string;
549
+ detail: string;
550
+ };
551
+ pv: {
552
+ name: string;
553
+ detail: string;
554
+ };
555
+ type: {
372
556
  name: string;
373
557
  detail: string;
374
558
  };
@@ -382,11 +566,11 @@ declare const _default: {
382
566
  url: string;
383
567
  }[];
384
568
  functionParameter: {
385
- number1: {
569
+ principal: {
386
570
  name: string;
387
571
  detail: string;
388
572
  };
389
- number2: {
573
+ schedule: {
390
574
  name: string;
391
575
  detail: string;
392
576
  };
@@ -400,11 +584,23 @@ declare const _default: {
400
584
  url: string;
401
585
  }[];
402
586
  functionParameter: {
403
- number1: {
587
+ settlement: {
404
588
  name: string;
405
589
  detail: string;
406
590
  };
407
- number2: {
591
+ maturity: {
592
+ name: string;
593
+ detail: string;
594
+ };
595
+ investment: {
596
+ name: string;
597
+ detail: string;
598
+ };
599
+ redemption: {
600
+ name: string;
601
+ detail: string;
602
+ };
603
+ basis: {
408
604
  name: string;
409
605
  detail: string;
410
606
  };
@@ -418,11 +614,27 @@ declare const _default: {
418
614
  url: string;
419
615
  }[];
420
616
  functionParameter: {
421
- number1: {
617
+ rate: {
422
618
  name: string;
423
619
  detail: string;
424
620
  };
425
- number2: {
621
+ per: {
622
+ name: string;
623
+ detail: string;
624
+ };
625
+ nper: {
626
+ name: string;
627
+ detail: string;
628
+ };
629
+ pv: {
630
+ name: string;
631
+ detail: string;
632
+ };
633
+ fv: {
634
+ name: string;
635
+ detail: string;
636
+ };
637
+ type: {
426
638
  name: string;
427
639
  detail: string;
428
640
  };
@@ -454,11 +666,19 @@ declare const _default: {
454
666
  url: string;
455
667
  }[];
456
668
  functionParameter: {
457
- number1: {
669
+ rate: {
458
670
  name: string;
459
671
  detail: string;
460
672
  };
461
- number2: {
673
+ per: {
674
+ name: string;
675
+ detail: string;
676
+ };
677
+ nper: {
678
+ name: string;
679
+ detail: string;
680
+ };
681
+ pv: {
462
682
  name: string;
463
683
  detail: string;
464
684
  };
@@ -508,11 +728,11 @@ declare const _default: {
508
728
  url: string;
509
729
  }[];
510
730
  functionParameter: {
511
- number1: {
731
+ effectRate: {
512
732
  name: string;
513
733
  detail: string;
514
734
  };
515
- number2: {
735
+ npery: {
516
736
  name: string;
517
737
  detail: string;
518
738
  };
@@ -526,11 +746,23 @@ declare const _default: {
526
746
  url: string;
527
747
  }[];
528
748
  functionParameter: {
529
- number1: {
749
+ rate: {
530
750
  name: string;
531
751
  detail: string;
532
752
  };
533
- number2: {
753
+ pmt: {
754
+ name: string;
755
+ detail: string;
756
+ };
757
+ pv: {
758
+ name: string;
759
+ detail: string;
760
+ };
761
+ fv: {
762
+ name: string;
763
+ detail: string;
764
+ };
765
+ type: {
534
766
  name: string;
535
767
  detail: string;
536
768
  };
@@ -652,11 +884,23 @@ declare const _default: {
652
884
  url: string;
653
885
  }[];
654
886
  functionParameter: {
655
- number1: {
887
+ rate: {
656
888
  name: string;
657
889
  detail: string;
658
890
  };
659
- number2: {
891
+ nper: {
892
+ name: string;
893
+ detail: string;
894
+ };
895
+ pv: {
896
+ name: string;
897
+ detail: string;
898
+ };
899
+ fv: {
900
+ name: string;
901
+ detail: string;
902
+ };
903
+ type: {
660
904
  name: string;
661
905
  detail: string;
662
906
  };
@@ -670,11 +914,27 @@ declare const _default: {
670
914
  url: string;
671
915
  }[];
672
916
  functionParameter: {
673
- number1: {
917
+ rate: {
674
918
  name: string;
675
919
  detail: string;
676
920
  };
677
- number2: {
921
+ per: {
922
+ name: string;
923
+ detail: string;
924
+ };
925
+ nper: {
926
+ name: string;
927
+ detail: string;
928
+ };
929
+ pv: {
930
+ name: string;
931
+ detail: string;
932
+ };
933
+ fv: {
934
+ name: string;
935
+ detail: string;
936
+ };
937
+ type: {
678
938
  name: string;
679
939
  detail: string;
680
940
  };
@@ -742,11 +1002,23 @@ declare const _default: {
742
1002
  url: string;
743
1003
  }[];
744
1004
  functionParameter: {
745
- number1: {
1005
+ rate: {
746
1006
  name: string;
747
1007
  detail: string;
748
1008
  };
749
- number2: {
1009
+ nper: {
1010
+ name: string;
1011
+ detail: string;
1012
+ };
1013
+ pmt: {
1014
+ name: string;
1015
+ detail: string;
1016
+ };
1017
+ fv: {
1018
+ name: string;
1019
+ detail: string;
1020
+ };
1021
+ type: {
750
1022
  name: string;
751
1023
  detail: string;
752
1024
  };
@@ -760,11 +1032,27 @@ declare const _default: {
760
1032
  url: string;
761
1033
  }[];
762
1034
  functionParameter: {
763
- number1: {
1035
+ nper: {
764
1036
  name: string;
765
1037
  detail: string;
766
1038
  };
767
- number2: {
1039
+ pmt: {
1040
+ name: string;
1041
+ detail: string;
1042
+ };
1043
+ pv: {
1044
+ name: string;
1045
+ detail: string;
1046
+ };
1047
+ fv: {
1048
+ name: string;
1049
+ detail: string;
1050
+ };
1051
+ type: {
1052
+ name: string;
1053
+ detail: string;
1054
+ };
1055
+ guess: {
768
1056
  name: string;
769
1057
  detail: string;
770
1058
  };
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;