@univerjs/sheets-formula 0.2.5 → 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 (44) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +4695 -4511
  3. package/lib/locale/en-US.json +246 -172
  4. package/lib/locale/ru-RU.json +172 -146
  5. package/lib/locale/vi-VN.json +1986 -1481
  6. package/lib/locale/zh-CN.json +287 -213
  7. package/lib/locale/zh-TW.json +371 -329
  8. package/lib/types/controllers/prompt.controller.d.ts +3 -5
  9. package/lib/types/formula-ui-plugin.d.ts +1 -1
  10. package/lib/types/index.d.ts +1 -0
  11. package/lib/types/locale/en-US.d.ts +143 -69
  12. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  13. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  14. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  15. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  16. package/lib/types/locale/function-list/logical/en-US.d.ts +31 -33
  17. package/lib/types/locale/function-list/logical/ja-JP.d.ts +31 -33
  18. package/lib/types/locale/function-list/logical/vi-VN.d.ts +31 -33
  19. package/lib/types/locale/function-list/logical/zh-CN.d.ts +31 -33
  20. package/lib/types/locale/function-list/logical/zh-TW.d.ts +31 -33
  21. package/lib/types/locale/function-list/lookup/en-US.d.ts +54 -26
  22. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +54 -26
  23. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  24. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +54 -26
  25. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +54 -26
  26. package/lib/types/locale/function-list/math/en-US.d.ts +2 -2
  27. package/lib/types/locale/function-list/math/ja-JP.d.ts +2 -2
  28. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  29. package/lib/types/locale/function-list/math/zh-CN.d.ts +2 -2
  30. package/lib/types/locale/function-list/math/zh-TW.d.ts +23 -79
  31. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  32. package/lib/types/locale/function-list/text/en-US.d.ts +56 -8
  33. package/lib/types/locale/function-list/text/ja-JP.d.ts +56 -8
  34. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  35. package/lib/types/locale/function-list/text/zh-CN.d.ts +56 -8
  36. package/lib/types/locale/function-list/text/zh-TW.d.ts +56 -8
  37. package/lib/types/locale/ru-RU.d.ts +87 -61
  38. package/lib/types/locale/vi-VN.d.ts +953 -482
  39. package/lib/types/locale/zh-CN.d.ts +143 -69
  40. package/lib/types/locale/zh-TW.d.ts +196 -154
  41. package/lib/types/services/prompt.service.d.ts +5 -1
  42. package/lib/types/services/render-services/ref-selections.render-service.d.ts +4 -2
  43. package/lib/umd/index.js +4 -4
  44. package/package.json +25 -25
@@ -226,11 +226,15 @@ declare const _default: {
226
226
  url: string;
227
227
  }[];
228
228
  functionParameter: {
229
- number1: {
229
+ startDate: {
230
+ name: string;
231
+ detail: string;
232
+ };
233
+ endDate: {
230
234
  name: string;
231
235
  detail: string;
232
236
  };
233
- number2: {
237
+ holidays: {
234
238
  name: string;
235
239
  detail: string;
236
240
  };
@@ -244,11 +248,19 @@ declare const _default: {
244
248
  url: string;
245
249
  }[];
246
250
  functionParameter: {
247
- number1: {
251
+ startDate: {
252
+ name: string;
253
+ detail: string;
254
+ };
255
+ endDate: {
256
+ name: string;
257
+ detail: string;
258
+ };
259
+ weekend: {
248
260
  name: string;
249
261
  detail: string;
250
262
  };
251
- number2: {
263
+ holidays: {
252
264
  name: string;
253
265
  detail: string;
254
266
  };
@@ -366,11 +378,15 @@ declare const _default: {
366
378
  url: string;
367
379
  }[];
368
380
  functionParameter: {
369
- number1: {
381
+ startDate: {
382
+ name: string;
383
+ detail: string;
384
+ };
385
+ days: {
370
386
  name: string;
371
387
  detail: string;
372
388
  };
373
- number2: {
389
+ holidays: {
374
390
  name: string;
375
391
  detail: string;
376
392
  };
@@ -384,11 +400,19 @@ declare const _default: {
384
400
  url: string;
385
401
  }[];
386
402
  functionParameter: {
387
- number1: {
403
+ startDate: {
404
+ name: string;
405
+ detail: string;
406
+ };
407
+ days: {
408
+ name: string;
409
+ detail: string;
410
+ };
411
+ weekend: {
388
412
  name: string;
389
413
  detail: string;
390
414
  };
391
- number2: {
415
+ holidays: {
392
416
  name: string;
393
417
  detail: string;
394
418
  };
@@ -86,11 +86,7 @@ declare const _default: {
86
86
  url: string;
87
87
  }[];
88
88
  functionParameter: {
89
- number1: {
90
- name: string;
91
- detail: string;
92
- };
93
- number2: {
89
+ value: {
94
90
  name: string;
95
91
  detail: string;
96
92
  };
@@ -104,11 +100,7 @@ declare const _default: {
104
100
  url: string;
105
101
  }[];
106
102
  functionParameter: {
107
- number1: {
108
- name: string;
109
- detail: string;
110
- };
111
- number2: {
103
+ value: {
112
104
  name: string;
113
105
  detail: string;
114
106
  };
@@ -154,11 +146,7 @@ declare const _default: {
154
146
  url: string;
155
147
  }[];
156
148
  functionParameter: {
157
- number1: {
158
- name: string;
159
- detail: string;
160
- };
161
- number2: {
149
+ value: {
162
150
  name: string;
163
151
  detail: string;
164
152
  };
@@ -172,11 +160,7 @@ declare const _default: {
172
160
  url: string;
173
161
  }[];
174
162
  functionParameter: {
175
- number1: {
176
- name: string;
177
- detail: string;
178
- };
179
- number2: {
163
+ value: {
180
164
  name: string;
181
165
  detail: string;
182
166
  };
@@ -190,11 +174,7 @@ declare const _default: {
190
174
  url: string;
191
175
  }[];
192
176
  functionParameter: {
193
- number1: {
194
- name: string;
195
- detail: string;
196
- };
197
- number2: {
177
+ value: {
198
178
  name: string;
199
179
  detail: string;
200
180
  };
@@ -208,11 +188,7 @@ declare const _default: {
208
188
  url: string;
209
189
  }[];
210
190
  functionParameter: {
211
- number1: {
212
- name: string;
213
- detail: string;
214
- };
215
- number2: {
191
+ value: {
216
192
  name: string;
217
193
  detail: string;
218
194
  };
@@ -258,11 +234,7 @@ declare const _default: {
258
234
  url: string;
259
235
  }[];
260
236
  functionParameter: {
261
- number1: {
262
- name: string;
263
- detail: string;
264
- };
265
- number2: {
237
+ value: {
266
238
  name: string;
267
239
  detail: string;
268
240
  };
@@ -276,11 +248,7 @@ declare const _default: {
276
248
  url: string;
277
249
  }[];
278
250
  functionParameter: {
279
- number1: {
280
- name: string;
281
- detail: string;
282
- };
283
- number2: {
251
+ value: {
284
252
  name: string;
285
253
  detail: string;
286
254
  };
@@ -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
  };