@univerjs/sheets-formula-ui 0.4.2 → 0.5.0-alpha.0

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 (88) hide show
  1. package/lib/cjs/index.js +9 -7
  2. package/lib/cjs/locale/en-US.js +40 -0
  3. package/lib/cjs/locale/fa-IR.js +40 -0
  4. package/lib/cjs/locale/ru-RU.js +40 -0
  5. package/lib/cjs/locale/vi-VN.js +37 -0
  6. package/lib/cjs/locale/zh-CN.js +38 -0
  7. package/lib/cjs/locale/zh-TW.js +38 -0
  8. package/lib/es/index.js +3317 -2424
  9. package/lib/es/locale/en-US.js +7684 -0
  10. package/lib/es/locale/fa-IR.js +7684 -0
  11. package/lib/es/locale/ru-RU.js +7683 -0
  12. package/lib/es/locale/vi-VN.js +7467 -0
  13. package/lib/es/locale/zh-CN.js +7661 -0
  14. package/lib/es/locale/zh-TW.js +7661 -0
  15. package/lib/index.css +1 -1
  16. package/lib/types/controllers/config.schema.d.ts +1 -1
  17. package/lib/types/controllers/formula-editor-show.controller.d.ts +4 -3
  18. package/lib/types/index.d.ts +1 -0
  19. package/lib/types/locale/en-US.d.ts +344 -156
  20. package/lib/types/locale/fa-IR.d.ts +344 -156
  21. package/lib/types/locale/function-list/compatibility/en-US.d.ts +106 -30
  22. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +106 -30
  23. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +106 -30
  24. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +106 -30
  25. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +106 -30
  26. package/lib/types/locale/function-list/lookup/en-US.d.ts +1 -5
  27. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +1 -5
  28. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +14 -0
  29. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +1 -5
  30. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +1 -5
  31. package/lib/types/locale/function-list/statistical/en-US.d.ts +173 -93
  32. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +173 -93
  33. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +983 -57
  34. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +173 -93
  35. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +173 -93
  36. package/lib/types/locale/function-list/text/en-US.d.ts +64 -28
  37. package/lib/types/locale/function-list/text/ja-JP.d.ts +64 -28
  38. package/lib/types/locale/function-list/text/ru-RU.d.ts +220 -106
  39. package/lib/types/locale/function-list/text/vi-VN.d.ts +124 -14
  40. package/lib/types/locale/function-list/text/zh-CN.d.ts +64 -28
  41. package/lib/types/locale/function-list/text/zh-TW.d.ts +64 -28
  42. package/lib/types/locale/ru-RU.d.ts +500 -234
  43. package/lib/types/locale/vi-VN.d.ts +1231 -105
  44. package/lib/types/locale/zh-CN.d.ts +344 -156
  45. package/lib/types/locale/zh-TW.d.ts +344 -156
  46. package/lib/types/sheets-formula-ui.plugin.d.ts +0 -1
  47. package/lib/types/views/formula-editor/help-function/HelpFunction.d.ts +11 -0
  48. package/lib/types/views/formula-editor/hooks/useFormulaDescribe.d.ts +7 -0
  49. package/lib/types/views/formula-editor/hooks/useFormulaSearch.d.ts +12 -0
  50. package/lib/types/views/formula-editor/hooks/useResizeScrollObserver.d.ts +18 -0
  51. package/lib/types/views/formula-editor/hooks/useSelectionAdd.d.ts +19 -0
  52. package/lib/types/views/formula-editor/hooks/useSheetSelectionChange.d.ts +3 -0
  53. package/lib/types/views/formula-editor/hooks/useStateRef.d.ts +18 -0
  54. package/lib/types/views/formula-editor/hooks/useVerify.d.ts +2 -0
  55. package/lib/types/views/formula-editor/index.d.ts +17 -0
  56. package/lib/types/views/formula-editor/search-function/SearchFunction.d.ts +12 -0
  57. package/lib/types/{controllers/utils/__tests__/ref-range-formula.spec.d.ts → views/formula-editor/utils/getFormulaText.d.ts} +1 -1
  58. package/lib/types/views/range-selector/hooks/useEmitChange.d.ts +3 -0
  59. package/lib/types/views/range-selector/hooks/useFirstHighlightDoc.d.ts +3 -0
  60. package/lib/types/views/range-selector/hooks/useFocus.d.ts +2 -0
  61. package/lib/types/views/range-selector/hooks/useFormulaToken.d.ts +2 -4
  62. package/lib/types/views/range-selector/hooks/useHighlight.d.ts +4 -2
  63. package/lib/types/views/range-selector/hooks/useLeftAndRightArrow.d.ts +2 -0
  64. package/lib/types/views/range-selector/hooks/useOnlyOneRange.d.ts +16 -0
  65. package/lib/types/views/range-selector/hooks/useRefactorEffect.d.ts +1 -1
  66. package/lib/types/{controllers/utils/__tests__/offset-formula-data.spec.d.ts → views/range-selector/hooks/useRefocus.d.ts} +1 -1
  67. package/lib/types/views/range-selector/hooks/useResetSelection.d.ts +16 -0
  68. package/lib/types/views/range-selector/hooks/useSheetSelectionChange.d.ts +1 -1
  69. package/lib/types/views/range-selector/hooks/useSwitchSheet.d.ts +16 -0
  70. package/lib/types/views/range-selector/hooks/useVerify.d.ts +2 -2
  71. package/lib/types/views/range-selector/index.d.ts +1 -5
  72. package/lib/types/views/range-selector/utils/unitRangesToText.d.ts +1 -1
  73. package/lib/umd/index.js +9 -7
  74. package/lib/umd/locale/en-US.js +40 -0
  75. package/lib/umd/locale/fa-IR.js +40 -0
  76. package/lib/umd/locale/ru-RU.js +40 -0
  77. package/lib/umd/locale/vi-VN.js +37 -0
  78. package/lib/umd/locale/zh-CN.js +38 -0
  79. package/lib/umd/locale/zh-TW.js +38 -0
  80. package/package.json +35 -27
  81. package/lib/locale/en-US.json +0 -11054
  82. package/lib/locale/fa-IR.json +0 -11054
  83. package/lib/locale/ru-RU.json +0 -10969
  84. package/lib/locale/vi-VN.json +0 -9678
  85. package/lib/locale/zh-CN.json +0 -11054
  86. package/lib/locale/zh-TW.json +0 -11054
  87. package/lib/types/controllers/utils/offset-formula-data.d.ts +0 -15
  88. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -71
@@ -308,11 +308,19 @@ declare const _default: {
308
308
  url: string;
309
309
  }[];
310
310
  functionParameter: {
311
- number1: {
311
+ x: {
312
312
  name: string;
313
313
  detail: string;
314
314
  };
315
- number2: {
315
+ alpha: {
316
+ name: string;
317
+ detail: string;
318
+ };
319
+ beta: {
320
+ name: string;
321
+ detail: string;
322
+ };
323
+ cumulative: {
316
324
  name: string;
317
325
  detail: string;
318
326
  };
@@ -326,11 +334,15 @@ declare const _default: {
326
334
  url: string;
327
335
  }[];
328
336
  functionParameter: {
329
- number1: {
337
+ probability: {
330
338
  name: string;
331
339
  detail: string;
332
340
  };
333
- number2: {
341
+ alpha: {
342
+ name: string;
343
+ detail: string;
344
+ };
345
+ beta: {
334
346
  name: string;
335
347
  detail: string;
336
348
  };
@@ -344,11 +356,23 @@ declare const _default: {
344
356
  url: string;
345
357
  }[];
346
358
  functionParameter: {
347
- number1: {
359
+ sampleS: {
348
360
  name: string;
349
361
  detail: string;
350
362
  };
351
- number2: {
363
+ numberSample: {
364
+ name: string;
365
+ detail: string;
366
+ };
367
+ populationS: {
368
+ name: string;
369
+ detail: string;
370
+ };
371
+ numberPop: {
372
+ name: string;
373
+ detail: string;
374
+ };
375
+ cumulative: {
352
376
  name: string;
353
377
  detail: string;
354
378
  };
@@ -362,11 +386,15 @@ declare const _default: {
362
386
  url: string;
363
387
  }[];
364
388
  functionParameter: {
365
- number1: {
389
+ probability: {
366
390
  name: string;
367
391
  detail: string;
368
392
  };
369
- number2: {
393
+ mean: {
394
+ name: string;
395
+ detail: string;
396
+ };
397
+ standardDev: {
370
398
  name: string;
371
399
  detail: string;
372
400
  };
@@ -380,11 +408,19 @@ declare const _default: {
380
408
  url: string;
381
409
  }[];
382
410
  functionParameter: {
383
- number1: {
411
+ x: {
384
412
  name: string;
385
413
  detail: string;
386
414
  };
387
- number2: {
415
+ mean: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ standardDev: {
420
+ name: string;
421
+ detail: string;
422
+ };
423
+ cumulative: {
388
424
  name: string;
389
425
  detail: string;
390
426
  };
@@ -416,11 +452,19 @@ declare const _default: {
416
452
  url: string;
417
453
  }[];
418
454
  functionParameter: {
419
- number1: {
455
+ numberF: {
420
456
  name: string;
421
457
  detail: string;
422
458
  };
423
- number2: {
459
+ numberS: {
460
+ name: string;
461
+ detail: string;
462
+ };
463
+ probabilityS: {
464
+ name: string;
465
+ detail: string;
466
+ };
467
+ cumulative: {
424
468
  name: string;
425
469
  detail: string;
426
470
  };
@@ -510,11 +554,11 @@ declare const _default: {
510
554
  url: string;
511
555
  }[];
512
556
  functionParameter: {
513
- number1: {
557
+ array: {
514
558
  name: string;
515
559
  detail: string;
516
560
  };
517
- number2: {
561
+ k: {
518
562
  name: string;
519
563
  detail: string;
520
564
  };
@@ -528,11 +572,15 @@ declare const _default: {
528
572
  url: string;
529
573
  }[];
530
574
  functionParameter: {
531
- number1: {
575
+ array: {
532
576
  name: string;
533
577
  detail: string;
534
578
  };
535
- number2: {
579
+ x: {
580
+ name: string;
581
+ detail: string;
582
+ };
583
+ significance: {
536
584
  name: string;
537
585
  detail: string;
538
586
  };
@@ -546,11 +594,15 @@ declare const _default: {
546
594
  url: string;
547
595
  }[];
548
596
  functionParameter: {
549
- number1: {
597
+ x: {
550
598
  name: string;
551
599
  detail: string;
552
600
  };
553
- number2: {
601
+ mean: {
602
+ name: string;
603
+ detail: string;
604
+ };
605
+ cumulative: {
554
606
  name: string;
555
607
  detail: string;
556
608
  };
@@ -564,11 +616,11 @@ declare const _default: {
564
616
  url: string;
565
617
  }[];
566
618
  functionParameter: {
567
- number1: {
619
+ array: {
568
620
  name: string;
569
621
  detail: string;
570
622
  };
571
- number2: {
623
+ quart: {
572
624
  name: string;
573
625
  detail: string;
574
626
  };
@@ -640,11 +692,15 @@ declare const _default: {
640
692
  url: string;
641
693
  }[];
642
694
  functionParameter: {
643
- number1: {
695
+ x: {
644
696
  name: string;
645
697
  detail: string;
646
698
  };
647
- number2: {
699
+ degFreedom: {
700
+ name: string;
701
+ detail: string;
702
+ };
703
+ tails: {
648
704
  name: string;
649
705
  detail: string;
650
706
  };
@@ -658,11 +714,11 @@ declare const _default: {
658
714
  url: string;
659
715
  }[];
660
716
  functionParameter: {
661
- number1: {
717
+ probability: {
662
718
  name: string;
663
719
  detail: string;
664
720
  };
665
- number2: {
721
+ dedegFreedom: {
666
722
  name: string;
667
723
  detail: string;
668
724
  };
@@ -676,11 +732,19 @@ declare const _default: {
676
732
  url: string;
677
733
  }[];
678
734
  functionParameter: {
679
- number1: {
735
+ array1: {
680
736
  name: string;
681
737
  detail: string;
682
738
  };
683
- number2: {
739
+ array2: {
740
+ name: string;
741
+ detail: string;
742
+ };
743
+ tails: {
744
+ name: string;
745
+ detail: string;
746
+ };
747
+ type: {
684
748
  name: string;
685
749
  detail: string;
686
750
  };
@@ -730,11 +794,19 @@ declare const _default: {
730
794
  url: string;
731
795
  }[];
732
796
  functionParameter: {
733
- number1: {
797
+ x: {
734
798
  name: string;
735
799
  detail: string;
736
800
  };
737
- number2: {
801
+ alpha: {
802
+ name: string;
803
+ detail: string;
804
+ };
805
+ beta: {
806
+ name: string;
807
+ detail: string;
808
+ };
809
+ cumulative: {
738
810
  name: string;
739
811
  detail: string;
740
812
  };
@@ -748,11 +820,15 @@ declare const _default: {
748
820
  url: string;
749
821
  }[];
750
822
  functionParameter: {
751
- number1: {
823
+ array: {
752
824
  name: string;
753
825
  detail: string;
754
826
  };
755
- number2: {
827
+ x: {
828
+ name: string;
829
+ detail: string;
830
+ };
831
+ sigma: {
756
832
  name: string;
757
833
  detail: string;
758
834
  };
@@ -230,11 +230,7 @@ declare const _default: {
230
230
  url: string;
231
231
  }[];
232
232
  functionParameter: {
233
- number1: {
234
- name: string;
235
- detail: string;
236
- };
237
- number2: {
233
+ reference: {
238
234
  name: string;
239
235
  detail: string;
240
236
  };
@@ -230,11 +230,7 @@ declare const _default: {
230
230
  url: string;
231
231
  }[];
232
232
  functionParameter: {
233
- number1: {
234
- name: string;
235
- detail: string;
236
- };
237
- number2: {
233
+ reference: {
238
234
  name: string;
239
235
  detail: string;
240
236
  };
@@ -222,6 +222,20 @@ declare const _default: {
222
222
  };
223
223
  };
224
224
  };
225
+ FORMULATEXT: {
226
+ description: string;
227
+ abstract: string;
228
+ links: {
229
+ title: string;
230
+ url: string;
231
+ }[];
232
+ functionParameter: {
233
+ reference: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ };
238
+ };
225
239
  HLOOKUP: {
226
240
  description: string;
227
241
  abstract: string;
@@ -230,11 +230,7 @@ declare const _default: {
230
230
  url: string;
231
231
  }[];
232
232
  functionParameter: {
233
- number1: {
234
- name: string;
235
- detail: string;
236
- };
237
- number2: {
233
+ reference: {
238
234
  name: string;
239
235
  detail: string;
240
236
  };
@@ -230,11 +230,7 @@ declare const _default: {
230
230
  url: string;
231
231
  }[];
232
232
  functionParameter: {
233
- number1: {
234
- name: string;
235
- detail: string;
236
- };
237
- number2: {
233
+ reference: {
238
234
  name: string;
239
235
  detail: string;
240
236
  };