@univerjs/sheets-formula 0.4.0 → 0.4.1-experimental.20241023-bbb123f

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.
package/lib/es/index.js CHANGED
@@ -2487,16 +2487,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2487
2487
  abstract: "formula.functionList.DAVERAGE.abstract",
2488
2488
  functionParameter: [
2489
2489
  {
2490
- name: "formula.functionList.DAVERAGE.functionParameter.number1.name",
2491
- detail: "formula.functionList.DAVERAGE.functionParameter.number1.detail",
2492
- example: "A1:A20",
2490
+ name: "formula.functionList.DAVERAGE.functionParameter.database.name",
2491
+ detail: "formula.functionList.DAVERAGE.functionParameter.database.detail",
2492
+ example: "A4:E10",
2493
2493
  require: 1,
2494
2494
  repeat: 0
2495
2495
  },
2496
2496
  {
2497
- name: "formula.functionList.DAVERAGE.functionParameter.number2.name",
2498
- detail: "formula.functionList.DAVERAGE.functionParameter.number2.detail",
2499
- example: "A1:A20",
2497
+ name: "formula.functionList.DAVERAGE.functionParameter.field.name",
2498
+ detail: "formula.functionList.DAVERAGE.functionParameter.field.detail",
2499
+ example: "D4",
2500
+ require: 1,
2501
+ repeat: 0
2502
+ },
2503
+ {
2504
+ name: "formula.functionList.DAVERAGE.functionParameter.criteria.name",
2505
+ detail: "formula.functionList.DAVERAGE.functionParameter.criteria.detail",
2506
+ example: "A1:B2",
2500
2507
  require: 1,
2501
2508
  repeat: 0
2502
2509
  }
@@ -2509,16 +2516,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2509
2516
  abstract: "formula.functionList.DCOUNT.abstract",
2510
2517
  functionParameter: [
2511
2518
  {
2512
- name: "formula.functionList.DCOUNT.functionParameter.number1.name",
2513
- detail: "formula.functionList.DCOUNT.functionParameter.number1.detail",
2514
- example: "A1:A20",
2519
+ name: "formula.functionList.DCOUNT.functionParameter.database.name",
2520
+ detail: "formula.functionList.DCOUNT.functionParameter.database.detail",
2521
+ example: "A4:E10",
2515
2522
  require: 1,
2516
2523
  repeat: 0
2517
2524
  },
2518
2525
  {
2519
- name: "formula.functionList.DCOUNT.functionParameter.number2.name",
2520
- detail: "formula.functionList.DCOUNT.functionParameter.number2.detail",
2521
- example: "A1:A20",
2526
+ name: "formula.functionList.DCOUNT.functionParameter.field.name",
2527
+ detail: "formula.functionList.DCOUNT.functionParameter.field.detail",
2528
+ example: "D4",
2529
+ require: 1,
2530
+ repeat: 0
2531
+ },
2532
+ {
2533
+ name: "formula.functionList.DCOUNT.functionParameter.criteria.name",
2534
+ detail: "formula.functionList.DCOUNT.functionParameter.criteria.detail",
2535
+ example: "A1:B2",
2522
2536
  require: 1,
2523
2537
  repeat: 0
2524
2538
  }
@@ -2531,16 +2545,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2531
2545
  abstract: "formula.functionList.DCOUNTA.abstract",
2532
2546
  functionParameter: [
2533
2547
  {
2534
- name: "formula.functionList.DCOUNTA.functionParameter.number1.name",
2535
- detail: "formula.functionList.DCOUNTA.functionParameter.number1.detail",
2536
- example: "A1:A20",
2548
+ name: "formula.functionList.DCOUNTA.functionParameter.database.name",
2549
+ detail: "formula.functionList.DCOUNTA.functionParameter.database.detail",
2550
+ example: "A4:E10",
2537
2551
  require: 1,
2538
2552
  repeat: 0
2539
2553
  },
2540
2554
  {
2541
- name: "formula.functionList.DCOUNTA.functionParameter.number2.name",
2542
- detail: "formula.functionList.DCOUNTA.functionParameter.number2.detail",
2543
- example: "A1:A20",
2555
+ name: "formula.functionList.DCOUNTA.functionParameter.field.name",
2556
+ detail: "formula.functionList.DCOUNTA.functionParameter.field.detail",
2557
+ example: "D4",
2558
+ require: 1,
2559
+ repeat: 0
2560
+ },
2561
+ {
2562
+ name: "formula.functionList.DCOUNTA.functionParameter.criteria.name",
2563
+ detail: "formula.functionList.DCOUNTA.functionParameter.criteria.detail",
2564
+ example: "A1:B2",
2544
2565
  require: 1,
2545
2566
  repeat: 0
2546
2567
  }
@@ -2553,16 +2574,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2553
2574
  abstract: "formula.functionList.DGET.abstract",
2554
2575
  functionParameter: [
2555
2576
  {
2556
- name: "formula.functionList.DGET.functionParameter.number1.name",
2557
- detail: "formula.functionList.DGET.functionParameter.number1.detail",
2558
- example: "A1:A20",
2577
+ name: "formula.functionList.DGET.functionParameter.database.name",
2578
+ detail: "formula.functionList.DGET.functionParameter.database.detail",
2579
+ example: "A4:E10",
2559
2580
  require: 1,
2560
2581
  repeat: 0
2561
2582
  },
2562
2583
  {
2563
- name: "formula.functionList.DGET.functionParameter.number2.name",
2564
- detail: "formula.functionList.DGET.functionParameter.number2.detail",
2565
- example: "A1:A20",
2584
+ name: "formula.functionList.DGET.functionParameter.field.name",
2585
+ detail: "formula.functionList.DGET.functionParameter.field.detail",
2586
+ example: "D4",
2587
+ require: 1,
2588
+ repeat: 0
2589
+ },
2590
+ {
2591
+ name: "formula.functionList.DGET.functionParameter.criteria.name",
2592
+ detail: "formula.functionList.DGET.functionParameter.criteria.detail",
2593
+ example: "A1:B2",
2566
2594
  require: 1,
2567
2595
  repeat: 0
2568
2596
  }
@@ -2575,16 +2603,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2575
2603
  abstract: "formula.functionList.DMAX.abstract",
2576
2604
  functionParameter: [
2577
2605
  {
2578
- name: "formula.functionList.DMAX.functionParameter.number1.name",
2579
- detail: "formula.functionList.DMAX.functionParameter.number1.detail",
2580
- example: "A1:A20",
2606
+ name: "formula.functionList.DMAX.functionParameter.database.name",
2607
+ detail: "formula.functionList.DMAX.functionParameter.database.detail",
2608
+ example: "A4:E10",
2581
2609
  require: 1,
2582
2610
  repeat: 0
2583
2611
  },
2584
2612
  {
2585
- name: "formula.functionList.DMAX.functionParameter.number2.name",
2586
- detail: "formula.functionList.DMAX.functionParameter.number2.detail",
2587
- example: "A1:A20",
2613
+ name: "formula.functionList.DMAX.functionParameter.field.name",
2614
+ detail: "formula.functionList.DMAX.functionParameter.field.detail",
2615
+ example: "D4",
2616
+ require: 1,
2617
+ repeat: 0
2618
+ },
2619
+ {
2620
+ name: "formula.functionList.DMAX.functionParameter.criteria.name",
2621
+ detail: "formula.functionList.DMAX.functionParameter.criteria.detail",
2622
+ example: "A1:B2",
2588
2623
  require: 1,
2589
2624
  repeat: 0
2590
2625
  }
@@ -2597,16 +2632,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2597
2632
  abstract: "formula.functionList.DMIN.abstract",
2598
2633
  functionParameter: [
2599
2634
  {
2600
- name: "formula.functionList.DMIN.functionParameter.number1.name",
2601
- detail: "formula.functionList.DMIN.functionParameter.number1.detail",
2602
- example: "A1:A20",
2635
+ name: "formula.functionList.DMIN.functionParameter.database.name",
2636
+ detail: "formula.functionList.DMIN.functionParameter.database.detail",
2637
+ example: "A4:E10",
2603
2638
  require: 1,
2604
2639
  repeat: 0
2605
2640
  },
2606
2641
  {
2607
- name: "formula.functionList.DMIN.functionParameter.number2.name",
2608
- detail: "formula.functionList.DMIN.functionParameter.number2.detail",
2609
- example: "A1:A20",
2642
+ name: "formula.functionList.DMIN.functionParameter.field.name",
2643
+ detail: "formula.functionList.DMIN.functionParameter.field.detail",
2644
+ example: "D4",
2645
+ require: 1,
2646
+ repeat: 0
2647
+ },
2648
+ {
2649
+ name: "formula.functionList.DMIN.functionParameter.criteria.name",
2650
+ detail: "formula.functionList.DMIN.functionParameter.criteria.detail",
2651
+ example: "A1:B2",
2610
2652
  require: 1,
2611
2653
  repeat: 0
2612
2654
  }
@@ -2619,16 +2661,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2619
2661
  abstract: "formula.functionList.DPRODUCT.abstract",
2620
2662
  functionParameter: [
2621
2663
  {
2622
- name: "formula.functionList.DPRODUCT.functionParameter.number1.name",
2623
- detail: "formula.functionList.DPRODUCT.functionParameter.number1.detail",
2624
- example: "A1:A20",
2664
+ name: "formula.functionList.DPRODUCT.functionParameter.database.name",
2665
+ detail: "formula.functionList.DPRODUCT.functionParameter.database.detail",
2666
+ example: "A4:E10",
2625
2667
  require: 1,
2626
2668
  repeat: 0
2627
2669
  },
2628
2670
  {
2629
- name: "formula.functionList.DPRODUCT.functionParameter.number2.name",
2630
- detail: "formula.functionList.DPRODUCT.functionParameter.number2.detail",
2631
- example: "A1:A20",
2671
+ name: "formula.functionList.DPRODUCT.functionParameter.field.name",
2672
+ detail: "formula.functionList.DPRODUCT.functionParameter.field.detail",
2673
+ example: "D4",
2674
+ require: 1,
2675
+ repeat: 0
2676
+ },
2677
+ {
2678
+ name: "formula.functionList.DPRODUCT.functionParameter.criteria.name",
2679
+ detail: "formula.functionList.DPRODUCT.functionParameter.criteria.detail",
2680
+ example: "A1:B2",
2632
2681
  require: 1,
2633
2682
  repeat: 0
2634
2683
  }
@@ -2641,16 +2690,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2641
2690
  abstract: "formula.functionList.DSTDEV.abstract",
2642
2691
  functionParameter: [
2643
2692
  {
2644
- name: "formula.functionList.DSTDEV.functionParameter.number1.name",
2645
- detail: "formula.functionList.DSTDEV.functionParameter.number1.detail",
2646
- example: "A1:A20",
2693
+ name: "formula.functionList.DSTDEV.functionParameter.database.name",
2694
+ detail: "formula.functionList.DSTDEV.functionParameter.database.detail",
2695
+ example: "A4:E10",
2647
2696
  require: 1,
2648
2697
  repeat: 0
2649
2698
  },
2650
2699
  {
2651
- name: "formula.functionList.DSTDEV.functionParameter.number2.name",
2652
- detail: "formula.functionList.DSTDEV.functionParameter.number2.detail",
2653
- example: "A1:A20",
2700
+ name: "formula.functionList.DSTDEV.functionParameter.field.name",
2701
+ detail: "formula.functionList.DSTDEV.functionParameter.field.detail",
2702
+ example: "D4",
2703
+ require: 1,
2704
+ repeat: 0
2705
+ },
2706
+ {
2707
+ name: "formula.functionList.DSTDEV.functionParameter.criteria.name",
2708
+ detail: "formula.functionList.DSTDEV.functionParameter.criteria.detail",
2709
+ example: "A1:B2",
2654
2710
  require: 1,
2655
2711
  repeat: 0
2656
2712
  }
@@ -2663,16 +2719,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2663
2719
  abstract: "formula.functionList.DSTDEVP.abstract",
2664
2720
  functionParameter: [
2665
2721
  {
2666
- name: "formula.functionList.DSTDEVP.functionParameter.number1.name",
2667
- detail: "formula.functionList.DSTDEVP.functionParameter.number1.detail",
2668
- example: "A1:A20",
2722
+ name: "formula.functionList.DSTDEVP.functionParameter.database.name",
2723
+ detail: "formula.functionList.DSTDEVP.functionParameter.database.detail",
2724
+ example: "A4:E10",
2669
2725
  require: 1,
2670
2726
  repeat: 0
2671
2727
  },
2672
2728
  {
2673
- name: "formula.functionList.DSTDEVP.functionParameter.number2.name",
2674
- detail: "formula.functionList.DSTDEVP.functionParameter.number2.detail",
2675
- example: "A1:A20",
2729
+ name: "formula.functionList.DSTDEVP.functionParameter.field.name",
2730
+ detail: "formula.functionList.DSTDEVP.functionParameter.field.detail",
2731
+ example: "D4",
2732
+ require: 1,
2733
+ repeat: 0
2734
+ },
2735
+ {
2736
+ name: "formula.functionList.DSTDEVP.functionParameter.criteria.name",
2737
+ detail: "formula.functionList.DSTDEVP.functionParameter.criteria.detail",
2738
+ example: "A1:B2",
2676
2739
  require: 1,
2677
2740
  repeat: 0
2678
2741
  }
@@ -2685,16 +2748,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2685
2748
  abstract: "formula.functionList.DSUM.abstract",
2686
2749
  functionParameter: [
2687
2750
  {
2688
- name: "formula.functionList.DSUM.functionParameter.number1.name",
2689
- detail: "formula.functionList.DSUM.functionParameter.number1.detail",
2690
- example: "A1:A20",
2751
+ name: "formula.functionList.DSUM.functionParameter.database.name",
2752
+ detail: "formula.functionList.DSUM.functionParameter.database.detail",
2753
+ example: "A4:E10",
2691
2754
  require: 1,
2692
2755
  repeat: 0
2693
2756
  },
2694
2757
  {
2695
- name: "formula.functionList.DSUM.functionParameter.number2.name",
2696
- detail: "formula.functionList.DSUM.functionParameter.number2.detail",
2697
- example: "A1:A20",
2758
+ name: "formula.functionList.DSUM.functionParameter.field.name",
2759
+ detail: "formula.functionList.DSUM.functionParameter.field.detail",
2760
+ example: "D4",
2761
+ require: 1,
2762
+ repeat: 0
2763
+ },
2764
+ {
2765
+ name: "formula.functionList.DSUM.functionParameter.criteria.name",
2766
+ detail: "formula.functionList.DSUM.functionParameter.criteria.detail",
2767
+ example: "A1:B2",
2698
2768
  require: 1,
2699
2769
  repeat: 0
2700
2770
  }
@@ -2707,16 +2777,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2707
2777
  abstract: "formula.functionList.DVAR.abstract",
2708
2778
  functionParameter: [
2709
2779
  {
2710
- name: "formula.functionList.DVAR.functionParameter.number1.name",
2711
- detail: "formula.functionList.DVAR.functionParameter.number1.detail",
2712
- example: "A1:A20",
2780
+ name: "formula.functionList.DVAR.functionParameter.database.name",
2781
+ detail: "formula.functionList.DVAR.functionParameter.database.detail",
2782
+ example: "A4:E10",
2713
2783
  require: 1,
2714
2784
  repeat: 0
2715
2785
  },
2716
2786
  {
2717
- name: "formula.functionList.DVAR.functionParameter.number2.name",
2718
- detail: "formula.functionList.DVAR.functionParameter.number2.detail",
2719
- example: "A1:A20",
2787
+ name: "formula.functionList.DVAR.functionParameter.field.name",
2788
+ detail: "formula.functionList.DVAR.functionParameter.field.detail",
2789
+ example: "D4",
2790
+ require: 1,
2791
+ repeat: 0
2792
+ },
2793
+ {
2794
+ name: "formula.functionList.DVAR.functionParameter.criteria.name",
2795
+ detail: "formula.functionList.DVAR.functionParameter.criteria.detail",
2796
+ example: "A1:B2",
2720
2797
  require: 1,
2721
2798
  repeat: 0
2722
2799
  }
@@ -2729,16 +2806,23 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
2729
2806
  abstract: "formula.functionList.DVARP.abstract",
2730
2807
  functionParameter: [
2731
2808
  {
2732
- name: "formula.functionList.DVARP.functionParameter.number1.name",
2733
- detail: "formula.functionList.DVARP.functionParameter.number1.detail",
2734
- example: "A1:A20",
2809
+ name: "formula.functionList.DVARP.functionParameter.database.name",
2810
+ detail: "formula.functionList.DVARP.functionParameter.database.detail",
2811
+ example: "A4:E10",
2735
2812
  require: 1,
2736
2813
  repeat: 0
2737
2814
  },
2738
2815
  {
2739
- name: "formula.functionList.DVARP.functionParameter.number2.name",
2740
- detail: "formula.functionList.DVARP.functionParameter.number2.detail",
2741
- example: "A1:A20",
2816
+ name: "formula.functionList.DVARP.functionParameter.field.name",
2817
+ detail: "formula.functionList.DVARP.functionParameter.field.detail",
2818
+ example: "D4",
2819
+ require: 1,
2820
+ repeat: 0
2821
+ },
2822
+ {
2823
+ name: "formula.functionList.DVARP.functionParameter.criteria.name",
2824
+ detail: "formula.functionList.DVARP.functionParameter.criteria.detail",
2825
+ example: "A1:B2",
2742
2826
  require: 1,
2743
2827
  repeat: 0
2744
2828
  }
@@ -8522,16 +8606,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
8522
8606
  abstract: "formula.functionList.ARABIC.abstract",
8523
8607
  functionParameter: [
8524
8608
  {
8525
- name: "formula.functionList.ARABIC.functionParameter.number1.name",
8526
- detail: "formula.functionList.ARABIC.functionParameter.number1.detail",
8527
- example: "A1:A20",
8528
- require: 1,
8529
- repeat: 0
8530
- },
8531
- {
8532
- name: "formula.functionList.ARABIC.functionParameter.number2.name",
8533
- detail: "formula.functionList.ARABIC.functionParameter.number2.detail",
8534
- example: "A1:A20",
8609
+ name: "formula.functionList.ARABIC.functionParameter.text.name",
8610
+ detail: "formula.functionList.ARABIC.functionParameter.text.detail",
8611
+ example: '"LVII"',
8535
8612
  require: 1,
8536
8613
  repeat: 0
8537
8614
  }
@@ -9495,17 +9572,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
9495
9572
  abstract: "formula.functionList.ROMAN.abstract",
9496
9573
  functionParameter: [
9497
9574
  {
9498
- name: "formula.functionList.ROMAN.functionParameter.number1.name",
9499
- detail: "formula.functionList.ROMAN.functionParameter.number1.detail",
9500
- example: "A1:A20",
9575
+ name: "formula.functionList.ROMAN.functionParameter.number.name",
9576
+ detail: "formula.functionList.ROMAN.functionParameter.number.detail",
9577
+ example: "499",
9501
9578
  require: 1,
9502
9579
  repeat: 0
9503
9580
  },
9504
9581
  {
9505
- name: "formula.functionList.ROMAN.functionParameter.number2.name",
9506
- detail: "formula.functionList.ROMAN.functionParameter.number2.detail",
9507
- example: "A1:A20",
9508
- require: 1,
9582
+ name: "formula.functionList.ROMAN.functionParameter.form.name",
9583
+ detail: "formula.functionList.ROMAN.functionParameter.form.detail",
9584
+ example: "0",
9585
+ require: 0,
9509
9586
  repeat: 0
9510
9587
  }
9511
9588
  ]
@@ -12748,16 +12825,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12748
12825
  abstract: "formula.functionList.ASC.abstract",
12749
12826
  functionParameter: [
12750
12827
  {
12751
- name: "formula.functionList.ASC.functionParameter.number1.name",
12752
- detail: "formula.functionList.ASC.functionParameter.number1.detail",
12753
- example: "A1:A20",
12754
- require: 1,
12755
- repeat: 0
12756
- },
12757
- {
12758
- name: "formula.functionList.ASC.functionParameter.number2.name",
12759
- detail: "formula.functionList.ASC.functionParameter.number2.detail",
12760
- example: "A1:A20",
12828
+ name: "formula.functionList.ASC.functionParameter.text.name",
12829
+ detail: "formula.functionList.ASC.functionParameter.text.detail",
12830
+ example: '"Univer"',
12761
12831
  require: 1,
12762
12832
  repeat: 0
12763
12833
  }
@@ -12770,17 +12840,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12770
12840
  abstract: "formula.functionList.ARRAYTOTEXT.abstract",
12771
12841
  functionParameter: [
12772
12842
  {
12773
- name: "formula.functionList.ARRAYTOTEXT.functionParameter.number1.name",
12774
- detail: "formula.functionList.ARRAYTOTEXT.functionParameter.number1.detail",
12775
- example: "A1:A20",
12843
+ name: "formula.functionList.ARRAYTOTEXT.functionParameter.array.name",
12844
+ detail: "formula.functionList.ARRAYTOTEXT.functionParameter.array.detail",
12845
+ example: "A2:B4",
12776
12846
  require: 1,
12777
12847
  repeat: 0
12778
12848
  },
12779
12849
  {
12780
- name: "formula.functionList.ARRAYTOTEXT.functionParameter.number2.name",
12781
- detail: "formula.functionList.ARRAYTOTEXT.functionParameter.number2.detail",
12782
- example: "A1:A20",
12783
- require: 1,
12850
+ name: "formula.functionList.ARRAYTOTEXT.functionParameter.format.name",
12851
+ detail: "formula.functionList.ARRAYTOTEXT.functionParameter.format.detail",
12852
+ example: "0",
12853
+ require: 0,
12784
12854
  repeat: 0
12785
12855
  }
12786
12856
  ]
@@ -12792,16 +12862,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12792
12862
  abstract: "formula.functionList.BAHTTEXT.abstract",
12793
12863
  functionParameter: [
12794
12864
  {
12795
- name: "formula.functionList.BAHTTEXT.functionParameter.number1.name",
12796
- detail: "formula.functionList.BAHTTEXT.functionParameter.number1.detail",
12797
- example: "A1:A20",
12798
- require: 1,
12799
- repeat: 0
12800
- },
12801
- {
12802
- name: "formula.functionList.BAHTTEXT.functionParameter.number2.name",
12803
- detail: "formula.functionList.BAHTTEXT.functionParameter.number2.detail",
12804
- example: "A1:A20",
12865
+ name: "formula.functionList.BAHTTEXT.functionParameter.number.name",
12866
+ detail: "formula.functionList.BAHTTEXT.functionParameter.number.detail",
12867
+ example: "1234",
12805
12868
  require: 1,
12806
12869
  repeat: 0
12807
12870
  }
@@ -12814,16 +12877,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12814
12877
  abstract: "formula.functionList.CHAR.abstract",
12815
12878
  functionParameter: [
12816
12879
  {
12817
- name: "formula.functionList.CHAR.functionParameter.number1.name",
12818
- detail: "formula.functionList.CHAR.functionParameter.number1.detail",
12819
- example: "A1:A20",
12820
- require: 1,
12821
- repeat: 0
12822
- },
12823
- {
12824
- name: "formula.functionList.CHAR.functionParameter.number2.name",
12825
- detail: "formula.functionList.CHAR.functionParameter.number2.detail",
12826
- example: "A1:A20",
12880
+ name: "formula.functionList.CHAR.functionParameter.number.name",
12881
+ detail: "formula.functionList.CHAR.functionParameter.number.detail",
12882
+ example: "65",
12827
12883
  require: 1,
12828
12884
  repeat: 0
12829
12885
  }
@@ -12836,16 +12892,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12836
12892
  abstract: "formula.functionList.CLEAN.abstract",
12837
12893
  functionParameter: [
12838
12894
  {
12839
- name: "formula.functionList.CLEAN.functionParameter.number1.name",
12840
- detail: "formula.functionList.CLEAN.functionParameter.number1.detail",
12841
- example: "A1:A20",
12842
- require: 1,
12843
- repeat: 0
12844
- },
12845
- {
12846
- name: "formula.functionList.CLEAN.functionParameter.number2.name",
12847
- detail: "formula.functionList.CLEAN.functionParameter.number2.detail",
12848
- example: "A1:A20",
12895
+ name: "formula.functionList.CLEAN.functionParameter.text.name",
12896
+ detail: "formula.functionList.CLEAN.functionParameter.text.detail",
12897
+ example: 'CHAR(1)&"Univer"',
12849
12898
  require: 1,
12850
12899
  repeat: 0
12851
12900
  }
@@ -12858,16 +12907,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12858
12907
  abstract: "formula.functionList.CODE.abstract",
12859
12908
  functionParameter: [
12860
12909
  {
12861
- name: "formula.functionList.CODE.functionParameter.number1.name",
12862
- detail: "formula.functionList.CODE.functionParameter.number1.detail",
12863
- example: "A1:A20",
12864
- require: 1,
12865
- repeat: 0
12866
- },
12867
- {
12868
- name: "formula.functionList.CODE.functionParameter.number2.name",
12869
- detail: "formula.functionList.CODE.functionParameter.number2.detail",
12870
- example: "A1:A20",
12910
+ name: "formula.functionList.CODE.functionParameter.text.name",
12911
+ detail: "formula.functionList.CODE.functionParameter.text.detail",
12912
+ example: '"Univer"',
12871
12913
  require: 1,
12872
12914
  repeat: 0
12873
12915
  }
@@ -12924,16 +12966,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12924
12966
  abstract: "formula.functionList.DBCS.abstract",
12925
12967
  functionParameter: [
12926
12968
  {
12927
- name: "formula.functionList.DBCS.functionParameter.number1.name",
12928
- detail: "formula.functionList.DBCS.functionParameter.number1.detail",
12929
- example: "A1:A20",
12930
- require: 1,
12931
- repeat: 0
12932
- },
12933
- {
12934
- name: "formula.functionList.DBCS.functionParameter.number2.name",
12935
- detail: "formula.functionList.DBCS.functionParameter.number2.detail",
12936
- example: "A1:A20",
12969
+ name: "formula.functionList.DBCS.functionParameter.text.name",
12970
+ detail: "formula.functionList.DBCS.functionParameter.text.detail",
12971
+ example: '"Univer"',
12937
12972
  require: 1,
12938
12973
  repeat: 0
12939
12974
  }
@@ -12946,17 +12981,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12946
12981
  abstract: "formula.functionList.DOLLAR.abstract",
12947
12982
  functionParameter: [
12948
12983
  {
12949
- name: "formula.functionList.DOLLAR.functionParameter.number1.name",
12950
- detail: "formula.functionList.DOLLAR.functionParameter.number1.detail",
12951
- example: "A1:A20",
12984
+ name: "formula.functionList.DOLLAR.functionParameter.number.name",
12985
+ detail: "formula.functionList.DOLLAR.functionParameter.number.detail",
12986
+ example: "1234.567",
12952
12987
  require: 1,
12953
12988
  repeat: 0
12954
12989
  },
12955
12990
  {
12956
- name: "formula.functionList.DOLLAR.functionParameter.number2.name",
12957
- detail: "formula.functionList.DOLLAR.functionParameter.number2.detail",
12958
- example: "A1:A20",
12959
- require: 1,
12991
+ name: "formula.functionList.DOLLAR.functionParameter.decimals.name",
12992
+ detail: "formula.functionList.DOLLAR.functionParameter.decimals.detail",
12993
+ example: "2",
12994
+ require: 0,
12960
12995
  repeat: 0
12961
12996
  }
12962
12997
  ]
@@ -12968,16 +13003,16 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
12968
13003
  abstract: "formula.functionList.EXACT.abstract",
12969
13004
  functionParameter: [
12970
13005
  {
12971
- name: "formula.functionList.EXACT.functionParameter.number1.name",
12972
- detail: "formula.functionList.EXACT.functionParameter.number1.detail",
12973
- example: "A1:A20",
13006
+ name: "formula.functionList.EXACT.functionParameter.text1.name",
13007
+ detail: "formula.functionList.EXACT.functionParameter.text1.detail",
13008
+ example: '"Univer"',
12974
13009
  require: 1,
12975
13010
  repeat: 0
12976
13011
  },
12977
13012
  {
12978
- name: "formula.functionList.EXACT.functionParameter.number2.name",
12979
- detail: "formula.functionList.EXACT.functionParameter.number2.detail",
12980
- example: "A1:A20",
13013
+ name: "formula.functionList.EXACT.functionParameter.text2.name",
13014
+ detail: "formula.functionList.EXACT.functionParameter.text2.detail",
13015
+ example: '"univer"',
12981
13016
  require: 1,
12982
13017
  repeat: 0
12983
13018
  }
@@ -13034,17 +13069,24 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13034
13069
  abstract: "formula.functionList.FIXED.abstract",
13035
13070
  functionParameter: [
13036
13071
  {
13037
- name: "formula.functionList.FIXED.functionParameter.number1.name",
13038
- detail: "formula.functionList.FIXED.functionParameter.number1.detail",
13039
- example: "A1:A20",
13072
+ name: "formula.functionList.FIXED.functionParameter.number.name",
13073
+ detail: "formula.functionList.FIXED.functionParameter.number.detail",
13074
+ example: "1234.567",
13040
13075
  require: 1,
13041
13076
  repeat: 0
13042
13077
  },
13043
13078
  {
13044
- name: "formula.functionList.FIXED.functionParameter.number2.name",
13045
- detail: "formula.functionList.FIXED.functionParameter.number2.detail",
13046
- example: "A1:A20",
13047
- require: 1,
13079
+ name: "formula.functionList.FIXED.functionParameter.decimals.name",
13080
+ detail: "formula.functionList.FIXED.functionParameter.decimals.detail",
13081
+ example: "2",
13082
+ require: 0,
13083
+ repeat: 0
13084
+ },
13085
+ {
13086
+ name: "formula.functionList.FIXED.functionParameter.noCommas.name",
13087
+ detail: "formula.functionList.FIXED.functionParameter.noCommas.detail",
13088
+ example: "0",
13089
+ require: 0,
13048
13090
  repeat: 0
13049
13091
  }
13050
13092
  ]
@@ -13196,17 +13238,24 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13196
13238
  abstract: "formula.functionList.NUMBERVALUE.abstract",
13197
13239
  functionParameter: [
13198
13240
  {
13199
- name: "formula.functionList.NUMBERVALUE.functionParameter.number1.name",
13200
- detail: "formula.functionList.NUMBERVALUE.functionParameter.number1.detail",
13201
- example: "A1:A20",
13241
+ name: "formula.functionList.NUMBERVALUE.functionParameter.text.name",
13242
+ detail: "formula.functionList.NUMBERVALUE.functionParameter.text.detail",
13243
+ example: '"2.500,27"',
13202
13244
  require: 1,
13203
13245
  repeat: 0
13204
13246
  },
13205
13247
  {
13206
- name: "formula.functionList.NUMBERVALUE.functionParameter.number2.name",
13207
- detail: "formula.functionList.NUMBERVALUE.functionParameter.number2.detail",
13208
- example: "A1:A20",
13209
- require: 1,
13248
+ name: "formula.functionList.NUMBERVALUE.functionParameter.decimalSeparator.name",
13249
+ detail: "formula.functionList.NUMBERVALUE.functionParameter.decimalSeparator.detail",
13250
+ example: '","',
13251
+ require: 0,
13252
+ repeat: 0
13253
+ },
13254
+ {
13255
+ name: "formula.functionList.NUMBERVALUE.functionParameter.groupSeparator.name",
13256
+ detail: "formula.functionList.NUMBERVALUE.functionParameter.groupSeparator.detail",
13257
+ example: '"."',
13258
+ require: 0,
13210
13259
  repeat: 0
13211
13260
  }
13212
13261
  ]
@@ -13240,16 +13289,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13240
13289
  abstract: "formula.functionList.PROPER.abstract",
13241
13290
  functionParameter: [
13242
13291
  {
13243
- name: "formula.functionList.PROPER.functionParameter.number1.name",
13244
- detail: "formula.functionList.PROPER.functionParameter.number1.detail",
13245
- example: "A1:A20",
13246
- require: 1,
13247
- repeat: 0
13248
- },
13249
- {
13250
- name: "formula.functionList.PROPER.functionParameter.number2.name",
13251
- detail: "formula.functionList.PROPER.functionParameter.number2.detail",
13252
- example: "A1:A20",
13292
+ name: "formula.functionList.PROPER.functionParameter.text.name",
13293
+ detail: "formula.functionList.PROPER.functionParameter.text.detail",
13294
+ example: '"hello univer"',
13253
13295
  require: 1,
13254
13296
  repeat: 0
13255
13297
  }
@@ -13401,17 +13443,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13401
13443
  abstract: "formula.functionList.RIGHT.abstract",
13402
13444
  functionParameter: [
13403
13445
  {
13404
- name: "formula.functionList.RIGHT.functionParameter.number1.name",
13405
- detail: "formula.functionList.RIGHT.functionParameter.number1.detail",
13406
- example: "A1:A20",
13446
+ name: "formula.functionList.RIGHT.functionParameter.text.name",
13447
+ detail: "formula.functionList.RIGHT.functionParameter.text.detail",
13448
+ example: '"Univer"',
13407
13449
  require: 1,
13408
13450
  repeat: 0
13409
13451
  },
13410
13452
  {
13411
- name: "formula.functionList.RIGHT.functionParameter.number2.name",
13412
- detail: "formula.functionList.RIGHT.functionParameter.number2.detail",
13413
- example: "A1:A20",
13414
- require: 1,
13453
+ name: "formula.functionList.RIGHT.functionParameter.numChars.name",
13454
+ detail: "formula.functionList.RIGHT.functionParameter.numChars.detail",
13455
+ example: "3",
13456
+ require: 0,
13415
13457
  repeat: 0
13416
13458
  }
13417
13459
  ]
@@ -13423,17 +13465,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13423
13465
  abstract: "formula.functionList.RIGHTB.abstract",
13424
13466
  functionParameter: [
13425
13467
  {
13426
- name: "formula.functionList.RIGHTB.functionParameter.number1.name",
13427
- detail: "formula.functionList.RIGHTB.functionParameter.number1.detail",
13428
- example: "A1:A20",
13468
+ name: "formula.functionList.RIGHTB.functionParameter.text.name",
13469
+ detail: "formula.functionList.RIGHTB.functionParameter.text.detail",
13470
+ example: '"Univer"',
13429
13471
  require: 1,
13430
13472
  repeat: 0
13431
13473
  },
13432
13474
  {
13433
- name: "formula.functionList.RIGHTB.functionParameter.number2.name",
13434
- detail: "formula.functionList.RIGHTB.functionParameter.number2.detail",
13435
- example: "A1:A20",
13436
- require: 1,
13475
+ name: "formula.functionList.RIGHTB.functionParameter.numBytes.name",
13476
+ detail: "formula.functionList.RIGHTB.functionParameter.numBytes.detail",
13477
+ example: "3",
13478
+ require: 0,
13437
13479
  repeat: 0
13438
13480
  }
13439
13481
  ]
@@ -13489,18 +13531,32 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13489
13531
  abstract: "formula.functionList.SUBSTITUTE.abstract",
13490
13532
  functionParameter: [
13491
13533
  {
13492
- name: "formula.functionList.SUBSTITUTE.functionParameter.number1.name",
13493
- detail: "formula.functionList.SUBSTITUTE.functionParameter.number1.detail",
13494
- example: "A1:A20",
13534
+ name: "formula.functionList.SUBSTITUTE.functionParameter.text.name",
13535
+ detail: "formula.functionList.SUBSTITUTE.functionParameter.text.detail",
13536
+ example: '"Hello Univer"',
13495
13537
  require: 1,
13496
13538
  repeat: 0
13497
13539
  },
13498
13540
  {
13499
- name: "formula.functionList.SUBSTITUTE.functionParameter.number2.name",
13500
- detail: "formula.functionList.SUBSTITUTE.functionParameter.number2.detail",
13501
- example: "A1:A20",
13541
+ name: "formula.functionList.SUBSTITUTE.functionParameter.oldText.name",
13542
+ detail: "formula.functionList.SUBSTITUTE.functionParameter.oldText.detail",
13543
+ example: '"Hello"',
13502
13544
  require: 1,
13503
13545
  repeat: 0
13546
+ },
13547
+ {
13548
+ name: "formula.functionList.SUBSTITUTE.functionParameter.newText.name",
13549
+ detail: "formula.functionList.SUBSTITUTE.functionParameter.newText.detail",
13550
+ example: '"Hi"',
13551
+ require: 1,
13552
+ repeat: 0
13553
+ },
13554
+ {
13555
+ name: "formula.functionList.SUBSTITUTE.functionParameter.instanceNum.name",
13556
+ detail: "formula.functionList.SUBSTITUTE.functionParameter.instanceNum.detail",
13557
+ example: "1",
13558
+ require: 0,
13559
+ repeat: 0
13504
13560
  }
13505
13561
  ]
13506
13562
  },
@@ -13511,16 +13567,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13511
13567
  abstract: "formula.functionList.T.abstract",
13512
13568
  functionParameter: [
13513
13569
  {
13514
- name: "formula.functionList.T.functionParameter.number1.name",
13515
- detail: "formula.functionList.T.functionParameter.number1.detail",
13516
- example: "A1:A20",
13517
- require: 1,
13518
- repeat: 0
13519
- },
13520
- {
13521
- name: "formula.functionList.T.functionParameter.number2.name",
13522
- detail: "formula.functionList.T.functionParameter.number2.detail",
13523
- example: "A1:A20",
13570
+ name: "formula.functionList.T.functionParameter.value.name",
13571
+ detail: "formula.functionList.T.functionParameter.value.detail",
13572
+ example: '"Univer"',
13524
13573
  require: 1,
13525
13574
  repeat: 0
13526
13575
  }
@@ -13749,16 +13798,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13749
13798
  abstract: "formula.functionList.UNICHAR.abstract",
13750
13799
  functionParameter: [
13751
13800
  {
13752
- name: "formula.functionList.UNICHAR.functionParameter.number1.name",
13753
- detail: "formula.functionList.UNICHAR.functionParameter.number1.detail",
13754
- example: "A1:A20",
13755
- require: 1,
13756
- repeat: 0
13757
- },
13758
- {
13759
- name: "formula.functionList.UNICHAR.functionParameter.number2.name",
13760
- detail: "formula.functionList.UNICHAR.functionParameter.number2.detail",
13761
- example: "A1:A20",
13801
+ name: "formula.functionList.UNICHAR.functionParameter.number.name",
13802
+ detail: "formula.functionList.UNICHAR.functionParameter.number.detail",
13803
+ example: "65",
13762
13804
  require: 1,
13763
13805
  repeat: 0
13764
13806
  }
@@ -13771,16 +13813,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13771
13813
  abstract: "formula.functionList.UNICODE.abstract",
13772
13814
  functionParameter: [
13773
13815
  {
13774
- name: "formula.functionList.UNICODE.functionParameter.number1.name",
13775
- detail: "formula.functionList.UNICODE.functionParameter.number1.detail",
13776
- example: "A1:A20",
13777
- require: 1,
13778
- repeat: 0
13779
- },
13780
- {
13781
- name: "formula.functionList.UNICODE.functionParameter.number2.name",
13782
- detail: "formula.functionList.UNICODE.functionParameter.number2.detail",
13783
- example: "A1:A20",
13816
+ name: "formula.functionList.UNICODE.functionParameter.text.name",
13817
+ detail: "formula.functionList.UNICODE.functionParameter.text.detail",
13818
+ example: '"Univer"',
13784
13819
  require: 1,
13785
13820
  repeat: 0
13786
13821
  }
@@ -13815,16 +13850,9 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13815
13850
  abstract: "formula.functionList.VALUE.abstract",
13816
13851
  functionParameter: [
13817
13852
  {
13818
- name: "formula.functionList.VALUE.functionParameter.number1.name",
13819
- detail: "formula.functionList.VALUE.functionParameter.number1.detail",
13820
- example: "A1:A20",
13821
- require: 1,
13822
- repeat: 0
13823
- },
13824
- {
13825
- name: "formula.functionList.VALUE.functionParameter.number2.name",
13826
- detail: "formula.functionList.VALUE.functionParameter.number2.detail",
13827
- example: "A1:A20",
13853
+ name: "formula.functionList.VALUE.functionParameter.text.name",
13854
+ detail: "formula.functionList.VALUE.functionParameter.text.detail",
13855
+ example: '"123"',
13828
13856
  require: 1,
13829
13857
  repeat: 0
13830
13858
  }
@@ -13837,17 +13865,17 @@ const PLUGIN_CONFIG_KEY_BASE = "sheets-formula.base.config", defaultPluginBaseCo
13837
13865
  abstract: "formula.functionList.VALUETOTEXT.abstract",
13838
13866
  functionParameter: [
13839
13867
  {
13840
- name: "formula.functionList.VALUETOTEXT.functionParameter.number1.name",
13841
- detail: "formula.functionList.VALUETOTEXT.functionParameter.number1.detail",
13842
- example: "A1:A20",
13868
+ name: "formula.functionList.VALUETOTEXT.functionParameter.value.name",
13869
+ detail: "formula.functionList.VALUETOTEXT.functionParameter.value.detail",
13870
+ example: '"Univer"',
13843
13871
  require: 1,
13844
13872
  repeat: 0
13845
13873
  },
13846
13874
  {
13847
- name: "formula.functionList.VALUETOTEXT.functionParameter.number2.name",
13848
- detail: "formula.functionList.VALUETOTEXT.functionParameter.number2.detail",
13849
- example: "A1:A20",
13850
- require: 1,
13875
+ name: "formula.functionList.VALUETOTEXT.functionParameter.format.name",
13876
+ detail: "formula.functionList.VALUETOTEXT.functionParameter.format.detail",
13877
+ example: "1",
13878
+ require: 0,
13851
13879
  repeat: 0
13852
13880
  }
13853
13881
  ]