@univerjs/sheets-formula 0.2.7 → 0.2.9

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 (113) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +974 -409
  3. package/lib/locale/en-US.json +646 -350
  4. package/lib/locale/ru-RU.json +646 -350
  5. package/lib/locale/vi-VN.json +682 -346
  6. package/lib/locale/zh-CN.json +654 -358
  7. package/lib/locale/zh-TW.json +654 -358
  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 +7 -4
  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 +10 -2
  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 +426 -130
  39. package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
  40. package/lib/types/locale/function-list/compatibility/en-US.d.ts +6 -2
  41. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +6 -2
  42. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
  43. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +6 -2
  44. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +6 -2
  45. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +6 -2
  46. package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
  47. package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
  48. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
  49. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
  50. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
  51. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
  52. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
  53. package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
  54. package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
  55. package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
  56. package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
  57. package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
  58. package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
  59. package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
  60. package/lib/types/locale/function-list/logical/en-US.d.ts +14 -2
  61. package/lib/types/locale/function-list/logical/ja-JP.d.ts +14 -2
  62. package/lib/types/locale/function-list/logical/ru-RU.d.ts +0 -1
  63. package/lib/types/locale/function-list/logical/vi-VN.d.ts +14 -2
  64. package/lib/types/locale/function-list/logical/zh-CN.d.ts +14 -2
  65. package/lib/types/locale/function-list/logical/zh-TW.d.ts +14 -2
  66. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
  67. package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
  68. package/lib/types/locale/function-list/statistical/en-US.d.ts +12 -4
  69. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +12 -4
  70. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
  71. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +44 -0
  72. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +12 -4
  73. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +12 -4
  74. package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
  75. package/lib/types/locale/ru-RU.d.ts +426 -130
  76. package/lib/types/locale/vi-VN.d.ts +458 -126
  77. package/lib/types/locale/zh-CN.d.ts +426 -130
  78. package/lib/types/locale/zh-TW.d.ts +426 -130
  79. package/lib/types/services/description.service.d.ts +0 -1
  80. package/lib/types/services/formula-common.d.ts +0 -1
  81. package/lib/types/services/formula-ref-range.service.d.ts +0 -1
  82. package/lib/types/services/function-list/array.d.ts +0 -1
  83. package/lib/types/services/function-list/compatibility.d.ts +0 -1
  84. package/lib/types/services/function-list/cube.d.ts +0 -1
  85. package/lib/types/services/function-list/database.d.ts +0 -1
  86. package/lib/types/services/function-list/date.d.ts +0 -1
  87. package/lib/types/services/function-list/engineering.d.ts +0 -1
  88. package/lib/types/services/function-list/financial.d.ts +0 -1
  89. package/lib/types/services/function-list/function-list.d.ts +0 -1
  90. package/lib/types/services/function-list/information.d.ts +0 -1
  91. package/lib/types/services/function-list/logical.d.ts +0 -1
  92. package/lib/types/services/function-list/lookup.d.ts +0 -1
  93. package/lib/types/services/function-list/math.d.ts +0 -1
  94. package/lib/types/services/function-list/statistical.d.ts +0 -1
  95. package/lib/types/services/function-list/text.d.ts +0 -1
  96. package/lib/types/services/function-list/univer.d.ts +0 -1
  97. package/lib/types/services/function-list/web.d.ts +0 -1
  98. package/lib/types/services/prompt.service.d.ts +0 -1
  99. package/lib/types/services/register-function.service.d.ts +0 -1
  100. package/lib/types/services/register-other-formula.service.d.ts +0 -1
  101. package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
  102. package/lib/types/services/render-services/ref-selections.render-service.d.ts +8 -4
  103. package/lib/types/services/utils.d.ts +0 -1
  104. package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
  105. package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
  106. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
  107. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
  108. package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
  109. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
  110. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
  111. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
  112. package/lib/umd/index.js +4 -4
  113. package/package.json +23 -23
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;
@@ -526,11 +526,15 @@ declare const _default: {
526
526
  url: string;
527
527
  }[];
528
528
  functionParameter: {
529
- number1: {
529
+ number: {
530
530
  name: string;
531
531
  detail: string;
532
532
  };
533
- number2: {
533
+ ref: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ order: {
534
538
  name: string;
535
539
  detail: string;
536
540
  };
@@ -526,11 +526,15 @@ declare const _default: {
526
526
  url: string;
527
527
  }[];
528
528
  functionParameter: {
529
- number1: {
529
+ number: {
530
530
  name: string;
531
531
  detail: string;
532
532
  };
533
- number2: {
533
+ ref: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ order: {
534
538
  name: string;
535
539
  detail: string;
536
540
  };
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;
@@ -526,11 +526,15 @@ declare const _default: {
526
526
  url: string;
527
527
  }[];
528
528
  functionParameter: {
529
- number1: {
529
+ number: {
530
530
  name: string;
531
531
  detail: string;
532
532
  };
533
- number2: {
533
+ ref: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ order: {
534
538
  name: string;
535
539
  detail: string;
536
540
  };
@@ -526,11 +526,15 @@ declare const _default: {
526
526
  url: string;
527
527
  }[];
528
528
  functionParameter: {
529
- number1: {
529
+ number: {
530
530
  name: string;
531
531
  detail: string;
532
532
  };
533
- number2: {
533
+ ref: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ order: {
534
538
  name: string;
535
539
  detail: string;
536
540
  };
@@ -526,11 +526,15 @@ declare const _default: {
526
526
  url: string;
527
527
  }[];
528
528
  functionParameter: {
529
- number1: {
529
+ number: {
530
530
  name: string;
531
531
  detail: string;
532
532
  };
533
- number2: {
533
+ ref: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ order: {
534
538
  name: string;
535
539
  detail: string;
536
540
  };
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;
@@ -22,11 +22,11 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ x: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ n: {
30
30
  name: string;
31
31
  detail: string;
32
32
  };
@@ -40,11 +40,11 @@ declare const _default: {
40
40
  url: string;
41
41
  }[];
42
42
  functionParameter: {
43
- number1: {
43
+ x: {
44
44
  name: string;
45
45
  detail: string;
46
46
  };
47
- number2: {
47
+ n: {
48
48
  name: string;
49
49
  detail: string;
50
50
  };
@@ -58,11 +58,11 @@ declare const _default: {
58
58
  url: string;
59
59
  }[];
60
60
  functionParameter: {
61
- number1: {
61
+ x: {
62
62
  name: string;
63
63
  detail: string;
64
64
  };
65
- number2: {
65
+ n: {
66
66
  name: string;
67
67
  detail: string;
68
68
  };
@@ -76,11 +76,11 @@ declare const _default: {
76
76
  url: string;
77
77
  }[];
78
78
  functionParameter: {
79
- number1: {
79
+ x: {
80
80
  name: string;
81
81
  detail: string;
82
82
  };
83
- number2: {
83
+ n: {
84
84
  name: string;
85
85
  detail: string;
86
86
  };
@@ -94,11 +94,7 @@ declare const _default: {
94
94
  url: string;
95
95
  }[];
96
96
  functionParameter: {
97
- number1: {
98
- name: string;
99
- detail: string;
100
- };
101
- number2: {
97
+ number: {
102
98
  name: string;
103
99
  detail: string;
104
100
  };
@@ -112,11 +108,11 @@ declare const _default: {
112
108
  url: string;
113
109
  }[];
114
110
  functionParameter: {
115
- number1: {
111
+ number: {
116
112
  name: string;
117
113
  detail: string;
118
114
  };
119
- number2: {
115
+ places: {
120
116
  name: string;
121
117
  detail: string;
122
118
  };
@@ -130,11 +126,11 @@ declare const _default: {
130
126
  url: string;
131
127
  }[];
132
128
  functionParameter: {
133
- number1: {
129
+ number: {
134
130
  name: string;
135
131
  detail: string;
136
132
  };
137
- number2: {
133
+ places: {
138
134
  name: string;
139
135
  detail: string;
140
136
  };
@@ -166,11 +162,11 @@ declare const _default: {
166
162
  url: string;
167
163
  }[];
168
164
  functionParameter: {
169
- number1: {
165
+ number: {
170
166
  name: string;
171
167
  detail: string;
172
168
  };
173
- number2: {
169
+ shiftAmount: {
174
170
  name: string;
175
171
  detail: string;
176
172
  };
@@ -202,11 +198,11 @@ declare const _default: {
202
198
  url: string;
203
199
  }[];
204
200
  functionParameter: {
205
- number1: {
201
+ number: {
206
202
  name: string;
207
203
  detail: string;
208
204
  };
209
- number2: {
205
+ shiftAmount: {
210
206
  name: string;
211
207
  detail: string;
212
208
  };
@@ -238,11 +234,15 @@ declare const _default: {
238
234
  url: string;
239
235
  }[];
240
236
  functionParameter: {
241
- number1: {
237
+ realNum: {
242
238
  name: string;
243
239
  detail: string;
244
240
  };
245
- number2: {
241
+ iNum: {
242
+ name: string;
243
+ detail: string;
244
+ };
245
+ suffix: {
246
246
  name: string;
247
247
  detail: string;
248
248
  };
@@ -256,11 +256,15 @@ declare const _default: {
256
256
  url: string;
257
257
  }[];
258
258
  functionParameter: {
259
- number1: {
259
+ number: {
260
260
  name: string;
261
261
  detail: string;
262
262
  };
263
- number2: {
263
+ fromUnit: {
264
+ name: string;
265
+ detail: string;
266
+ };
267
+ toUnit: {
264
268
  name: string;
265
269
  detail: string;
266
270
  };
@@ -274,11 +278,11 @@ declare const _default: {
274
278
  url: string;
275
279
  }[];
276
280
  functionParameter: {
277
- number1: {
281
+ number: {
278
282
  name: string;
279
283
  detail: string;
280
284
  };
281
- number2: {
285
+ places: {
282
286
  name: string;
283
287
  detail: string;
284
288
  };
@@ -292,11 +296,11 @@ declare const _default: {
292
296
  url: string;
293
297
  }[];
294
298
  functionParameter: {
295
- number1: {
299
+ number: {
296
300
  name: string;
297
301
  detail: string;
298
302
  };
299
- number2: {
303
+ places: {
300
304
  name: string;
301
305
  detail: string;
302
306
  };
@@ -310,11 +314,11 @@ declare const _default: {
310
314
  url: string;
311
315
  }[];
312
316
  functionParameter: {
313
- number1: {
317
+ number: {
314
318
  name: string;
315
319
  detail: string;
316
320
  };
317
- number2: {
321
+ places: {
318
322
  name: string;
319
323
  detail: string;
320
324
  };
@@ -346,11 +350,11 @@ declare const _default: {
346
350
  url: string;
347
351
  }[];
348
352
  functionParameter: {
349
- number1: {
353
+ lowerLimit: {
350
354
  name: string;
351
355
  detail: string;
352
356
  };
353
- number2: {
357
+ upperLimit: {
354
358
  name: string;
355
359
  detail: string;
356
360
  };
@@ -364,11 +368,7 @@ declare const _default: {
364
368
  url: string;
365
369
  }[];
366
370
  functionParameter: {
367
- number1: {
368
- name: string;
369
- detail: string;
370
- };
371
- number2: {
371
+ x: {
372
372
  name: string;
373
373
  detail: string;
374
374
  };
@@ -382,11 +382,7 @@ declare const _default: {
382
382
  url: string;
383
383
  }[];
384
384
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
385
+ x: {
390
386
  name: string;
391
387
  detail: string;
392
388
  };
@@ -400,11 +396,7 @@ declare const _default: {
400
396
  url: string;
401
397
  }[];
402
398
  functionParameter: {
403
- number1: {
404
- name: string;
405
- detail: string;
406
- };
407
- number2: {
399
+ x: {
408
400
  name: string;
409
401
  detail: string;
410
402
  };
@@ -436,11 +428,11 @@ declare const _default: {
436
428
  url: string;
437
429
  }[];
438
430
  functionParameter: {
439
- number1: {
431
+ number: {
440
432
  name: string;
441
433
  detail: string;
442
434
  };
443
- number2: {
435
+ places: {
444
436
  name: string;
445
437
  detail: string;
446
438
  };
@@ -454,11 +446,7 @@ declare const _default: {
454
446
  url: string;
455
447
  }[];
456
448
  functionParameter: {
457
- number1: {
458
- name: string;
459
- detail: string;
460
- };
461
- number2: {
449
+ number: {
462
450
  name: string;
463
451
  detail: string;
464
452
  };
@@ -472,11 +460,11 @@ declare const _default: {
472
460
  url: string;
473
461
  }[];
474
462
  functionParameter: {
475
- number1: {
463
+ number: {
476
464
  name: string;
477
465
  detail: string;
478
466
  };
479
- number2: {
467
+ places: {
480
468
  name: string;
481
469
  detail: string;
482
470
  };
@@ -940,11 +928,11 @@ declare const _default: {
940
928
  url: string;
941
929
  }[];
942
930
  functionParameter: {
943
- number1: {
931
+ number: {
944
932
  name: string;
945
933
  detail: string;
946
934
  };
947
- number2: {
935
+ places: {
948
936
  name: string;
949
937
  detail: string;
950
938
  };
@@ -958,11 +946,7 @@ declare const _default: {
958
946
  url: string;
959
947
  }[];
960
948
  functionParameter: {
961
- number1: {
962
- name: string;
963
- detail: string;
964
- };
965
- number2: {
949
+ number: {
966
950
  name: string;
967
951
  detail: string;
968
952
  };
@@ -976,11 +960,11 @@ declare const _default: {
976
960
  url: string;
977
961
  }[];
978
962
  functionParameter: {
979
- number1: {
963
+ number: {
980
964
  name: string;
981
965
  detail: string;
982
966
  };
983
- number2: {
967
+ places: {
984
968
  name: string;
985
969
  detail: string;
986
970
  };