@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
  };
@@ -490,11 +710,11 @@ declare const _default: {
490
710
  url: string;
491
711
  }[];
492
712
  functionParameter: {
493
- number1: {
713
+ effectRate: {
494
714
  name: string;
495
715
  detail: string;
496
716
  };
497
- number2: {
717
+ npery: {
498
718
  name: string;
499
719
  detail: string;
500
720
  };
@@ -508,11 +728,23 @@ declare const _default: {
508
728
  url: string;
509
729
  }[];
510
730
  functionParameter: {
511
- number1: {
731
+ rate: {
512
732
  name: string;
513
733
  detail: string;
514
734
  };
515
- number2: {
735
+ pmt: {
736
+ name: string;
737
+ detail: string;
738
+ };
739
+ pv: {
740
+ name: string;
741
+ detail: string;
742
+ };
743
+ fv: {
744
+ name: string;
745
+ detail: string;
746
+ };
747
+ type: {
516
748
  name: string;
517
749
  detail: string;
518
750
  };
@@ -616,11 +848,23 @@ declare const _default: {
616
848
  url: string;
617
849
  }[];
618
850
  functionParameter: {
619
- number1: {
851
+ rate: {
620
852
  name: string;
621
853
  detail: string;
622
854
  };
623
- number2: {
855
+ nper: {
856
+ name: string;
857
+ detail: string;
858
+ };
859
+ pv: {
860
+ name: string;
861
+ detail: string;
862
+ };
863
+ fv: {
864
+ name: string;
865
+ detail: string;
866
+ };
867
+ type: {
624
868
  name: string;
625
869
  detail: string;
626
870
  };
@@ -634,11 +878,27 @@ declare const _default: {
634
878
  url: string;
635
879
  }[];
636
880
  functionParameter: {
637
- number1: {
881
+ rate: {
638
882
  name: string;
639
883
  detail: string;
640
884
  };
641
- number2: {
885
+ per: {
886
+ name: string;
887
+ detail: string;
888
+ };
889
+ nper: {
890
+ name: string;
891
+ detail: string;
892
+ };
893
+ pv: {
894
+ name: string;
895
+ detail: string;
896
+ };
897
+ fv: {
898
+ name: string;
899
+ detail: string;
900
+ };
901
+ type: {
642
902
  name: string;
643
903
  detail: string;
644
904
  };
@@ -706,11 +966,23 @@ declare const _default: {
706
966
  url: string;
707
967
  }[];
708
968
  functionParameter: {
709
- number1: {
969
+ rate: {
710
970
  name: string;
711
971
  detail: string;
712
972
  };
713
- number2: {
973
+ nper: {
974
+ name: string;
975
+ detail: string;
976
+ };
977
+ pmt: {
978
+ name: string;
979
+ detail: string;
980
+ };
981
+ fv: {
982
+ name: string;
983
+ detail: string;
984
+ };
985
+ type: {
714
986
  name: string;
715
987
  detail: string;
716
988
  };
@@ -724,11 +996,27 @@ declare const _default: {
724
996
  url: string;
725
997
  }[];
726
998
  functionParameter: {
727
- number1: {
999
+ nper: {
728
1000
  name: string;
729
1001
  detail: string;
730
1002
  };
731
- number2: {
1003
+ pmt: {
1004
+ name: string;
1005
+ detail: string;
1006
+ };
1007
+ pv: {
1008
+ name: string;
1009
+ detail: string;
1010
+ };
1011
+ fv: {
1012
+ name: string;
1013
+ detail: string;
1014
+ };
1015
+ type: {
1016
+ name: string;
1017
+ detail: string;
1018
+ };
1019
+ guess: {
732
1020
  name: string;
733
1021
  detail: string;
734
1022
  };