@univerjs/sheets-formula 0.2.6 → 0.2.7

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 (35) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +324 -377
  3. package/lib/locale/en-US.json +82 -88
  4. package/lib/locale/ru-RU.json +79 -85
  5. package/lib/locale/vi-VN.json +1988 -1483
  6. package/lib/locale/zh-CN.json +122 -128
  7. package/lib/locale/zh-TW.json +206 -244
  8. package/lib/types/controllers/prompt.controller.d.ts +3 -5
  9. package/lib/types/index.d.ts +1 -0
  10. package/lib/types/locale/en-US.d.ts +32 -38
  11. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  12. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  13. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  14. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  15. package/lib/types/locale/function-list/logical/en-US.d.ts +31 -33
  16. package/lib/types/locale/function-list/logical/ja-JP.d.ts +31 -33
  17. package/lib/types/locale/function-list/logical/vi-VN.d.ts +31 -33
  18. package/lib/types/locale/function-list/logical/zh-CN.d.ts +31 -33
  19. package/lib/types/locale/function-list/logical/zh-TW.d.ts +31 -33
  20. package/lib/types/locale/function-list/lookup/en-US.d.ts +1 -5
  21. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +1 -5
  22. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  23. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +1 -5
  24. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +1 -5
  25. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  26. package/lib/types/locale/function-list/math/zh-TW.d.ts +21 -77
  27. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  28. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  29. package/lib/types/locale/ru-RU.d.ts +32 -38
  30. package/lib/types/locale/vi-VN.d.ts +917 -446
  31. package/lib/types/locale/zh-CN.d.ts +32 -38
  32. package/lib/types/locale/zh-TW.d.ts +85 -123
  33. package/lib/types/services/prompt.service.d.ts +5 -1
  34. package/lib/umd/index.js +4 -4
  35. package/package.json +23 -23
@@ -1,3 +1,218 @@
1
- import { default as enUS } from './en-US';
2
-
3
- export default enUS;
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
+ CELL: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ infoType: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ reference: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ ERROR_TYPE: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ errorVal: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ };
48
+ };
49
+ ISBLANK: {
50
+ description: string;
51
+ abstract: string;
52
+ links: {
53
+ title: string;
54
+ url: string;
55
+ }[];
56
+ functionParameter: {
57
+ value: {
58
+ name: string;
59
+ detail: string;
60
+ };
61
+ };
62
+ };
63
+ ISERR: {
64
+ description: string;
65
+ abstract: string;
66
+ links: {
67
+ title: string;
68
+ url: string;
69
+ }[];
70
+ functionParameter: {
71
+ value: {
72
+ name: string;
73
+ detail: string;
74
+ };
75
+ };
76
+ };
77
+ ISERROR: {
78
+ description: string;
79
+ abstract: string;
80
+ links: {
81
+ title: string;
82
+ url: string;
83
+ }[];
84
+ functionParameter: {
85
+ value: {
86
+ name: string;
87
+ detail: string;
88
+ };
89
+ };
90
+ };
91
+ ISEVEN: {
92
+ description: string;
93
+ abstract: string;
94
+ links: {
95
+ title: string;
96
+ url: string;
97
+ }[];
98
+ functionParameter: {
99
+ value: {
100
+ name: string;
101
+ detail: string;
102
+ };
103
+ };
104
+ };
105
+ ISLOGICAL: {
106
+ description: string;
107
+ abstract: string;
108
+ links: {
109
+ title: string;
110
+ url: string;
111
+ }[];
112
+ functionParameter: {
113
+ value: {
114
+ name: string;
115
+ detail: string;
116
+ };
117
+ };
118
+ };
119
+ ISNA: {
120
+ description: string;
121
+ abstract: string;
122
+ links: {
123
+ title: string;
124
+ url: string;
125
+ }[];
126
+ functionParameter: {
127
+ value: {
128
+ name: string;
129
+ detail: string;
130
+ };
131
+ };
132
+ };
133
+ ISNONTEXT: {
134
+ description: string;
135
+ abstract: string;
136
+ links: {
137
+ title: string;
138
+ url: string;
139
+ }[];
140
+ functionParameter: {
141
+ value: {
142
+ name: string;
143
+ detail: string;
144
+ };
145
+ };
146
+ };
147
+ ISNUMBER: {
148
+ description: string;
149
+ abstract: string;
150
+ links: {
151
+ title: string;
152
+ url: string;
153
+ }[];
154
+ functionParameter: {
155
+ value: {
156
+ name: string;
157
+ detail: string;
158
+ };
159
+ };
160
+ };
161
+ ISODD: {
162
+ description: string;
163
+ abstract: string;
164
+ links: {
165
+ title: string;
166
+ url: string;
167
+ }[];
168
+ functionParameter: {
169
+ value: {
170
+ name: string;
171
+ detail: string;
172
+ };
173
+ };
174
+ };
175
+ ISREF: {
176
+ description: string;
177
+ abstract: string;
178
+ links: {
179
+ title: string;
180
+ url: string;
181
+ }[];
182
+ functionParameter: {
183
+ value: {
184
+ name: string;
185
+ detail: string;
186
+ };
187
+ };
188
+ };
189
+ ISTEXT: {
190
+ description: string;
191
+ abstract: string;
192
+ links: {
193
+ title: string;
194
+ url: string;
195
+ }[];
196
+ functionParameter: {
197
+ value: {
198
+ name: string;
199
+ detail: string;
200
+ };
201
+ };
202
+ };
203
+ TYPE: {
204
+ description: string;
205
+ abstract: string;
206
+ links: {
207
+ title: string;
208
+ url: string;
209
+ }[];
210
+ functionParameter: {
211
+ value: {
212
+ name: string;
213
+ detail: string;
214
+ };
215
+ };
216
+ };
217
+ };
218
+ export default _default;
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -246,11 +245,7 @@ declare const _default: {
246
245
  url: string;
247
246
  }[];
248
247
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
248
+ logical: {
254
249
  name: string;
255
250
  detail: string;
256
251
  };
@@ -318,11 +313,23 @@ declare const _default: {
318
313
  url: string;
319
314
  }[];
320
315
  functionParameter: {
321
- number1: {
316
+ expression: {
322
317
  name: string;
323
318
  detail: string;
324
319
  };
325
- number2: {
320
+ value1: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ result1: {
325
+ name: string;
326
+ detail: string;
327
+ };
328
+ defaultOrValue2: {
329
+ name: string;
330
+ detail: string;
331
+ };
332
+ result2: {
326
333
  name: string;
327
334
  detail: string;
328
335
  };
@@ -335,16 +342,7 @@ declare const _default: {
335
342
  title: string;
336
343
  url: string;
337
344
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
345
+ functionParameter: {};
348
346
  };
349
347
  XOR: {
350
348
  description: string;
@@ -354,11 +352,11 @@ declare const _default: {
354
352
  url: string;
355
353
  }[];
356
354
  functionParameter: {
357
- number1: {
355
+ logical1: {
358
356
  name: string;
359
357
  detail: string;
360
358
  };
361
- number2: {
359
+ logical2: {
362
360
  name: string;
363
361
  detail: string;
364
362
  };