@univerjs/sheets-formula 0.2.2 → 0.2.3

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 (62) hide show
  1. package/README.md +13 -7
  2. package/lib/cjs/index.js +4 -4
  3. package/lib/es/index.js +3908 -3854
  4. package/lib/locale/en-US.json +34 -62
  5. package/lib/locale/ru-RU.json +34 -62
  6. package/lib/locale/vi-VN.json +7425 -0
  7. package/lib/locale/zh-CN.json +38 -66
  8. package/lib/locale/zh-TW.json +10304 -0
  9. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
  10. package/lib/types/controllers/formula-ui.controller.d.ts +1 -0
  11. package/lib/types/controllers/prompt.controller.d.ts +18 -22
  12. package/lib/types/controllers/trigger-calculation.controller.d.ts +4 -0
  13. package/lib/types/controllers/update-formula.controller.d.ts +2 -2
  14. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -17
  15. package/lib/types/formula-ui-plugin.d.ts +8 -2
  16. package/lib/types/index.d.ts +2 -2
  17. package/lib/types/locale/en-US.d.ts +14 -42
  18. package/lib/types/locale/function-list/array/vi-VN.d.ts +17 -0
  19. package/lib/types/locale/function-list/array/zh-TW.d.ts +17 -0
  20. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +702 -0
  21. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +702 -0
  22. package/lib/types/locale/function-list/cube/vi-VN.d.ts +144 -0
  23. package/lib/types/locale/function-list/cube/zh-TW.d.ts +144 -0
  24. package/lib/types/locale/function-list/database/vi-VN.d.ts +234 -0
  25. package/lib/types/locale/function-list/database/zh-TW.d.ts +234 -0
  26. package/lib/types/locale/function-list/date/vi-VN.d.ts +379 -0
  27. package/lib/types/locale/function-list/date/zh-TW.d.ts +438 -0
  28. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +990 -0
  29. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +990 -0
  30. package/lib/types/locale/function-list/financial/vi-VN.d.ts +954 -0
  31. package/lib/types/locale/function-list/financial/zh-TW.d.ts +1008 -0
  32. package/lib/types/locale/function-list/information/vi-VN.d.ts +3 -0
  33. package/lib/types/locale/function-list/information/zh-TW.d.ts +352 -0
  34. package/lib/types/locale/function-list/logical/vi-VN.d.ts +368 -0
  35. package/lib/types/locale/function-list/logical/zh-TW.d.ts +368 -0
  36. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +188 -0
  37. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +752 -0
  38. package/lib/types/locale/function-list/math/en-US.d.ts +14 -42
  39. package/lib/types/locale/function-list/math/ja-JP.d.ts +14 -42
  40. package/lib/types/locale/function-list/math/vi-VN.d.ts +3 -0
  41. package/lib/types/locale/function-list/math/zh-CN.d.ts +14 -42
  42. package/lib/types/locale/function-list/math/zh-TW.d.ts +1498 -0
  43. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +394 -0
  44. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +2060 -0
  45. package/lib/types/locale/function-list/text/vi-VN.d.ts +650 -0
  46. package/lib/types/locale/function-list/text/zh-TW.d.ts +852 -0
  47. package/lib/types/locale/function-list/univer/vi-VN.d.ts +17 -0
  48. package/lib/types/locale/function-list/univer/zh-TW.d.ts +17 -0
  49. package/lib/types/locale/function-list/web/vi-VN.d.ts +3 -0
  50. package/lib/types/locale/function-list/web/zh-TW.d.ts +72 -0
  51. package/lib/types/locale/ru-RU.d.ts +14 -42
  52. package/lib/types/locale/vi-VN.d.ts +6699 -0
  53. package/lib/types/locale/zh-CN.d.ts +14 -42
  54. package/lib/types/locale/zh-TW.d.ts +9300 -0
  55. package/lib/types/services/prompt.service.d.ts +0 -6
  56. package/lib/types/services/register-function.service.d.ts +19 -5
  57. package/lib/types/services/register-other-formula.service.d.ts +1 -0
  58. package/lib/types/services/remote/remote-register-function.service.d.ts +17 -0
  59. package/lib/types/services/render-services/ref-selections.render-service.d.ts +35 -0
  60. package/lib/umd/index.js +4 -4
  61. package/package.json +21 -19
  62. package/lib/types/services/formula-custom-function.service.d.ts +0 -19
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const _default: {};
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const _default: {};
17
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+
3
+ export default enUS;
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const _default: {
17
+ ENCODEURL: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ number1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ number2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ FILTERXML: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ number1: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ number2: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ WEBSERVICE: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ number1: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ number2: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ export default _default;
@@ -6435,11 +6435,7 @@ declare const _default: {
6435
6435
  url: string;
6436
6436
  }[];
6437
6437
  functionParameter: {
6438
- number1: {
6439
- name: string;
6440
- detail: string;
6441
- };
6442
- number2: {
6438
+ number: {
6443
6439
  name: string;
6444
6440
  detail: string;
6445
6441
  };
@@ -6563,11 +6559,15 @@ declare const _default: {
6563
6559
  url: string;
6564
6560
  }[];
6565
6561
  functionParameter: {
6566
- number1: {
6562
+ number: {
6567
6563
  name: string;
6568
6564
  detail: string;
6569
6565
  };
6570
- number2: {
6566
+ radix: {
6567
+ name: string;
6568
+ detail: string;
6569
+ };
6570
+ minLength: {
6571
6571
  name: string;
6572
6572
  detail: string;
6573
6573
  };
@@ -6685,11 +6685,7 @@ declare const _default: {
6685
6685
  url: string;
6686
6686
  }[];
6687
6687
  functionParameter: {
6688
- number1: {
6689
- name: string;
6690
- detail: string;
6691
- };
6692
- number2: {
6688
+ number: {
6693
6689
  name: string;
6694
6690
  detail: string;
6695
6691
  };
@@ -6703,11 +6699,7 @@ declare const _default: {
6703
6699
  url: string;
6704
6700
  }[];
6705
6701
  functionParameter: {
6706
- number1: {
6707
- name: string;
6708
- detail: string;
6709
- };
6710
- number2: {
6702
+ number: {
6711
6703
  name: string;
6712
6704
  detail: string;
6713
6705
  };
@@ -6721,11 +6713,7 @@ declare const _default: {
6721
6713
  url: string;
6722
6714
  }[];
6723
6715
  functionParameter: {
6724
- number1: {
6725
- name: string;
6726
- detail: string;
6727
- };
6728
- number2: {
6716
+ number: {
6729
6717
  name: string;
6730
6718
  detail: string;
6731
6719
  };
@@ -6739,11 +6727,7 @@ declare const _default: {
6739
6727
  url: string;
6740
6728
  }[];
6741
6729
  functionParameter: {
6742
- number1: {
6743
- name: string;
6744
- detail: string;
6745
- };
6746
- number2: {
6730
+ number: {
6747
6731
  name: string;
6748
6732
  detail: string;
6749
6733
  };
@@ -6757,11 +6741,7 @@ declare const _default: {
6757
6741
  url: string;
6758
6742
  }[];
6759
6743
  functionParameter: {
6760
- number1: {
6761
- name: string;
6762
- detail: string;
6763
- };
6764
- number2: {
6744
+ number: {
6765
6745
  name: string;
6766
6746
  detail: string;
6767
6747
  };
@@ -7513,11 +7493,7 @@ declare const _default: {
7513
7493
  url: string;
7514
7494
  }[];
7515
7495
  functionParameter: {
7516
- number1: {
7517
- name: string;
7518
- detail: string;
7519
- };
7520
- number2: {
7496
+ number: {
7521
7497
  name: string;
7522
7498
  detail: string;
7523
7499
  };
@@ -7531,11 +7507,7 @@ declare const _default: {
7531
7507
  url: string;
7532
7508
  }[];
7533
7509
  functionParameter: {
7534
- number1: {
7535
- name: string;
7536
- detail: string;
7537
- };
7538
- number2: {
7510
+ number: {
7539
7511
  name: string;
7540
7512
  detail: string;
7541
7513
  };