@univerjs/sheets-formula 0.2.6 → 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 (117) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +1185 -724
  3. package/lib/locale/en-US.json +706 -428
  4. package/lib/locale/ru-RU.json +703 -425
  5. package/lib/locale/vi-VN.json +2644 -1855
  6. package/lib/locale/zh-CN.json +750 -472
  7. package/lib/locale/zh-TW.json +834 -588
  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 +3 -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/index.d.ts +1 -0
  39. package/lib/types/locale/en-US.d.ts +440 -162
  40. package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
  41. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
  42. package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
  43. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  44. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  45. package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
  46. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
  47. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
  48. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
  49. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
  50. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
  51. package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
  52. package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
  53. package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
  54. package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
  55. package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
  56. package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
  57. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  58. package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
  59. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  60. package/lib/types/locale/function-list/logical/en-US.d.ts +45 -35
  61. package/lib/types/locale/function-list/logical/ja-JP.d.ts +45 -35
  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 +45 -35
  64. package/lib/types/locale/function-list/logical/zh-CN.d.ts +45 -35
  65. package/lib/types/locale/function-list/logical/zh-TW.d.ts +45 -35
  66. package/lib/types/locale/function-list/lookup/en-US.d.ts +1 -5
  67. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +1 -5
  68. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
  69. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  70. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +1 -5
  71. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +1 -5
  72. package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
  73. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  74. package/lib/types/locale/function-list/math/zh-TW.d.ts +21 -77
  75. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
  76. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  77. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  78. package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
  79. package/lib/types/locale/ru-RU.d.ts +440 -162
  80. package/lib/types/locale/vi-VN.d.ts +1378 -623
  81. package/lib/types/locale/zh-CN.d.ts +440 -162
  82. package/lib/types/locale/zh-TW.d.ts +493 -247
  83. package/lib/types/services/description.service.d.ts +0 -1
  84. package/lib/types/services/formula-common.d.ts +0 -1
  85. package/lib/types/services/formula-ref-range.service.d.ts +0 -1
  86. package/lib/types/services/function-list/array.d.ts +0 -1
  87. package/lib/types/services/function-list/compatibility.d.ts +0 -1
  88. package/lib/types/services/function-list/cube.d.ts +0 -1
  89. package/lib/types/services/function-list/database.d.ts +0 -1
  90. package/lib/types/services/function-list/date.d.ts +0 -1
  91. package/lib/types/services/function-list/engineering.d.ts +0 -1
  92. package/lib/types/services/function-list/financial.d.ts +0 -1
  93. package/lib/types/services/function-list/function-list.d.ts +0 -1
  94. package/lib/types/services/function-list/information.d.ts +0 -1
  95. package/lib/types/services/function-list/logical.d.ts +0 -1
  96. package/lib/types/services/function-list/lookup.d.ts +0 -1
  97. package/lib/types/services/function-list/math.d.ts +0 -1
  98. package/lib/types/services/function-list/statistical.d.ts +0 -1
  99. package/lib/types/services/function-list/text.d.ts +0 -1
  100. package/lib/types/services/function-list/univer.d.ts +0 -1
  101. package/lib/types/services/function-list/web.d.ts +0 -1
  102. package/lib/types/services/prompt.service.d.ts +5 -2
  103. package/lib/types/services/register-function.service.d.ts +0 -1
  104. package/lib/types/services/register-other-formula.service.d.ts +0 -1
  105. package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
  106. package/lib/types/services/render-services/ref-selections.render-service.d.ts +0 -1
  107. package/lib/types/services/utils.d.ts +0 -1
  108. package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
  109. package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
  110. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
  111. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
  112. package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
  113. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
  114. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
  115. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
  116. package/lib/umd/index.js +4 -4
  117. package/package.json +24 -24
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -92,11 +88,15 @@ declare const _default: {
92
88
  url: string;
93
89
  }[];
94
90
  functionParameter: {
95
- number1: {
91
+ array: {
96
92
  name: string;
97
93
  detail: string;
98
94
  };
99
- number2: {
95
+ colNum1: {
96
+ name: string;
97
+ detail: string;
98
+ };
99
+ colNum2: {
100
100
  name: string;
101
101
  detail: string;
102
102
  };
@@ -110,11 +110,15 @@ declare const _default: {
110
110
  url: string;
111
111
  }[];
112
112
  functionParameter: {
113
- number1: {
113
+ array: {
114
114
  name: string;
115
115
  detail: string;
116
116
  };
117
- number2: {
117
+ rowNum1: {
118
+ name: string;
119
+ detail: string;
120
+ };
121
+ rowNum2: {
118
122
  name: string;
119
123
  detail: string;
120
124
  };
@@ -184,5 +188,413 @@ declare const _default: {
184
188
  };
185
189
  };
186
190
  };
191
+ FILTER: {
192
+ description: string;
193
+ abstract: string;
194
+ links: {
195
+ title: string;
196
+ url: string;
197
+ }[];
198
+ functionParameter: {
199
+ array: {
200
+ name: string;
201
+ detail: string;
202
+ };
203
+ include: {
204
+ name: string;
205
+ detail: string;
206
+ };
207
+ ifEmpty: {
208
+ name: string;
209
+ detail: string;
210
+ };
211
+ };
212
+ };
213
+ HLOOKUP: {
214
+ description: string;
215
+ abstract: string;
216
+ links: {
217
+ title: string;
218
+ url: string;
219
+ }[];
220
+ functionParameter: {
221
+ lookupValue: {
222
+ name: string;
223
+ detail: string;
224
+ };
225
+ tableArray: {
226
+ name: string;
227
+ detail: string;
228
+ };
229
+ rowIndexNum: {
230
+ name: string;
231
+ detail: string;
232
+ };
233
+ rangeLookup: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ };
238
+ };
239
+ HSTACK: {
240
+ description: string;
241
+ abstract: string;
242
+ links: {
243
+ title: string;
244
+ url: string;
245
+ }[];
246
+ functionParameter: {
247
+ array1: {
248
+ name: string;
249
+ detail: string;
250
+ };
251
+ array2: {
252
+ name: string;
253
+ detail: string;
254
+ };
255
+ };
256
+ };
257
+ INDEX: {
258
+ description: string;
259
+ abstract: string;
260
+ links: {
261
+ title: string;
262
+ url: string;
263
+ }[];
264
+ functionParameter: {
265
+ reference: {
266
+ name: string;
267
+ detail: string;
268
+ };
269
+ rowNum: {
270
+ name: string;
271
+ detail: string;
272
+ };
273
+ columnNum: {
274
+ name: string;
275
+ detail: string;
276
+ };
277
+ areaNum: {
278
+ name: string;
279
+ detail: string;
280
+ };
281
+ };
282
+ };
283
+ INDIRECT: {
284
+ description: string;
285
+ abstract: string;
286
+ links: {
287
+ title: string;
288
+ url: string;
289
+ }[];
290
+ functionParameter: {
291
+ refText: {
292
+ name: string;
293
+ detail: string;
294
+ };
295
+ a1: {
296
+ name: string;
297
+ detail: string;
298
+ };
299
+ };
300
+ };
301
+ LOOKUP: {
302
+ description: string;
303
+ abstract: string;
304
+ links: {
305
+ title: string;
306
+ url: string;
307
+ }[];
308
+ functionParameter: {
309
+ lookupValue: {
310
+ name: string;
311
+ detail: string;
312
+ };
313
+ lookupVectorOrArray: {
314
+ name: string;
315
+ detail: string;
316
+ };
317
+ resultVector: {
318
+ name: string;
319
+ detail: string;
320
+ };
321
+ };
322
+ };
323
+ MATCH: {
324
+ description: string;
325
+ abstract: string;
326
+ links: {
327
+ title: string;
328
+ url: string;
329
+ }[];
330
+ functionParameter: {
331
+ lookupValue: {
332
+ name: string;
333
+ detail: string;
334
+ };
335
+ lookupArray: {
336
+ name: string;
337
+ detail: string;
338
+ };
339
+ matchType: {
340
+ name: string;
341
+ detail: string;
342
+ };
343
+ };
344
+ };
345
+ OFFSET: {
346
+ description: string;
347
+ abstract: string;
348
+ links: {
349
+ title: string;
350
+ url: string;
351
+ }[];
352
+ functionParameter: {
353
+ reference: {
354
+ name: string;
355
+ detail: string;
356
+ };
357
+ rows: {
358
+ name: string;
359
+ detail: string;
360
+ };
361
+ cols: {
362
+ name: string;
363
+ detail: string;
364
+ };
365
+ height: {
366
+ name: string;
367
+ detail: string;
368
+ };
369
+ width: {
370
+ name: string;
371
+ detail: string;
372
+ };
373
+ };
374
+ };
375
+ ROW: {
376
+ description: string;
377
+ abstract: string;
378
+ links: {
379
+ title: string;
380
+ url: string;
381
+ }[];
382
+ functionParameter: {
383
+ reference: {
384
+ name: string;
385
+ detail: string;
386
+ };
387
+ };
388
+ };
389
+ ROWS: {
390
+ description: string;
391
+ abstract: string;
392
+ links: {
393
+ title: string;
394
+ url: string;
395
+ }[];
396
+ functionParameter: {
397
+ array: {
398
+ name: string;
399
+ detail: string;
400
+ };
401
+ };
402
+ };
403
+ SORT: {
404
+ description: string;
405
+ abstract: string;
406
+ links: {
407
+ title: string;
408
+ url: string;
409
+ }[];
410
+ functionParameter: {
411
+ array: {
412
+ name: string;
413
+ detail: string;
414
+ };
415
+ sortIndex: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ sortOrder: {
420
+ name: string;
421
+ detail: string;
422
+ };
423
+ byCol: {
424
+ name: string;
425
+ detail: string;
426
+ };
427
+ };
428
+ };
429
+ SORTBY: {
430
+ description: string;
431
+ abstract: string;
432
+ links: {
433
+ title: string;
434
+ url: string;
435
+ }[];
436
+ functionParameter: {
437
+ array: {
438
+ name: string;
439
+ detail: string;
440
+ };
441
+ byArray1: {
442
+ name: string;
443
+ detail: string;
444
+ };
445
+ sortOrder1: {
446
+ name: string;
447
+ detail: string;
448
+ };
449
+ byArray2: {
450
+ name: string;
451
+ detail: string;
452
+ };
453
+ sortOrder2: {
454
+ name: string;
455
+ detail: string;
456
+ };
457
+ };
458
+ };
459
+ TRANSPOSE: {
460
+ description: string;
461
+ abstract: string;
462
+ links: {
463
+ title: string;
464
+ url: string;
465
+ }[];
466
+ functionParameter: {
467
+ array: {
468
+ name: string;
469
+ detail: string;
470
+ };
471
+ };
472
+ };
473
+ UNIQUE: {
474
+ description: string;
475
+ abstract: string;
476
+ links: {
477
+ title: string;
478
+ url: string;
479
+ }[];
480
+ functionParameter: {
481
+ array: {
482
+ name: string;
483
+ detail: string;
484
+ };
485
+ byCol: {
486
+ name: string;
487
+ detail: string;
488
+ };
489
+ exactlyOnce: {
490
+ name: string;
491
+ detail: string;
492
+ };
493
+ };
494
+ };
495
+ VLOOKUP: {
496
+ description: string;
497
+ abstract: string;
498
+ links: {
499
+ title: string;
500
+ url: string;
501
+ }[];
502
+ functionParameter: {
503
+ lookupValue: {
504
+ name: string;
505
+ detail: string;
506
+ };
507
+ tableArray: {
508
+ name: string;
509
+ detail: string;
510
+ };
511
+ colIndexNum: {
512
+ name: string;
513
+ detail: string;
514
+ };
515
+ rangeLookup: {
516
+ name: string;
517
+ detail: string;
518
+ };
519
+ };
520
+ };
521
+ VSTACK: {
522
+ description: string;
523
+ abstract: string;
524
+ links: {
525
+ title: string;
526
+ url: string;
527
+ }[];
528
+ functionParameter: {
529
+ array1: {
530
+ name: string;
531
+ detail: string;
532
+ };
533
+ array2: {
534
+ name: string;
535
+ detail: string;
536
+ };
537
+ };
538
+ };
539
+ XLOOKUP: {
540
+ description: string;
541
+ abstract: string;
542
+ links: {
543
+ title: string;
544
+ url: string;
545
+ }[];
546
+ functionParameter: {
547
+ lookupValue: {
548
+ name: string;
549
+ detail: string;
550
+ };
551
+ lookupArray: {
552
+ name: string;
553
+ detail: string;
554
+ };
555
+ returnArray: {
556
+ name: string;
557
+ detail: string;
558
+ };
559
+ ifNotFound: {
560
+ name: string;
561
+ detail: string;
562
+ };
563
+ matchMode: {
564
+ name: string;
565
+ detail: string;
566
+ };
567
+ searchMode: {
568
+ name: string;
569
+ detail: string;
570
+ };
571
+ };
572
+ };
573
+ XMATCH: {
574
+ description: string;
575
+ abstract: string;
576
+ links: {
577
+ title: string;
578
+ url: string;
579
+ }[];
580
+ functionParameter: {
581
+ lookupValue: {
582
+ name: string;
583
+ detail: string;
584
+ };
585
+ lookupArray: {
586
+ name: string;
587
+ detail: string;
588
+ };
589
+ matchMode: {
590
+ name: string;
591
+ detail: string;
592
+ };
593
+ searchMode: {
594
+ name: string;
595
+ detail: string;
596
+ };
597
+ };
598
+ };
187
599
  };
188
600
  export default _default;
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;