@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,438 @@
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
+ DATE: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ year: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ month: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ day: {
34
+ name: string;
35
+ detail: string;
36
+ };
37
+ };
38
+ };
39
+ DATEDIF: {
40
+ description: string;
41
+ abstract: string;
42
+ links: {
43
+ title: string;
44
+ url: string;
45
+ }[];
46
+ functionParameter: {
47
+ number1: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ number2: {
52
+ name: string;
53
+ detail: string;
54
+ };
55
+ };
56
+ };
57
+ DATEVALUE: {
58
+ description: string;
59
+ abstract: string;
60
+ links: {
61
+ title: string;
62
+ url: string;
63
+ }[];
64
+ functionParameter: {
65
+ dateText: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ DAY: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {
79
+ serialNumber: {
80
+ name: string;
81
+ detail: string;
82
+ };
83
+ };
84
+ };
85
+ DAYS: {
86
+ description: string;
87
+ abstract: string;
88
+ links: {
89
+ title: string;
90
+ url: string;
91
+ }[];
92
+ functionParameter: {
93
+ number1: {
94
+ name: string;
95
+ detail: string;
96
+ };
97
+ number2: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ };
102
+ };
103
+ DAYS360: {
104
+ description: string;
105
+ abstract: string;
106
+ links: {
107
+ title: string;
108
+ url: string;
109
+ }[];
110
+ functionParameter: {
111
+ number1: {
112
+ name: string;
113
+ detail: string;
114
+ };
115
+ number2: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ };
120
+ };
121
+ EDATE: {
122
+ description: string;
123
+ abstract: string;
124
+ links: {
125
+ title: string;
126
+ url: string;
127
+ }[];
128
+ functionParameter: {
129
+ startDate: {
130
+ name: string;
131
+ detail: string;
132
+ };
133
+ months: {
134
+ name: string;
135
+ detail: string;
136
+ };
137
+ };
138
+ };
139
+ EOMONTH: {
140
+ description: string;
141
+ abstract: string;
142
+ links: {
143
+ title: string;
144
+ url: string;
145
+ }[];
146
+ functionParameter: {
147
+ number1: {
148
+ name: string;
149
+ detail: string;
150
+ };
151
+ number2: {
152
+ name: string;
153
+ detail: string;
154
+ };
155
+ };
156
+ };
157
+ HOUR: {
158
+ description: string;
159
+ abstract: string;
160
+ links: {
161
+ title: string;
162
+ url: string;
163
+ }[];
164
+ functionParameter: {
165
+ number1: {
166
+ name: string;
167
+ detail: string;
168
+ };
169
+ number2: {
170
+ name: string;
171
+ detail: string;
172
+ };
173
+ };
174
+ };
175
+ ISOWEEKNUM: {
176
+ description: string;
177
+ abstract: string;
178
+ links: {
179
+ title: string;
180
+ url: string;
181
+ }[];
182
+ functionParameter: {
183
+ number1: {
184
+ name: string;
185
+ detail: string;
186
+ };
187
+ number2: {
188
+ name: string;
189
+ detail: string;
190
+ };
191
+ };
192
+ };
193
+ MINUTE: {
194
+ description: string;
195
+ abstract: string;
196
+ links: {
197
+ title: string;
198
+ url: string;
199
+ }[];
200
+ functionParameter: {
201
+ number1: {
202
+ name: string;
203
+ detail: string;
204
+ };
205
+ number2: {
206
+ name: string;
207
+ detail: string;
208
+ };
209
+ };
210
+ };
211
+ MONTH: {
212
+ description: string;
213
+ abstract: string;
214
+ links: {
215
+ title: string;
216
+ url: string;
217
+ }[];
218
+ functionParameter: {
219
+ serialNumber: {
220
+ name: string;
221
+ detail: string;
222
+ };
223
+ };
224
+ };
225
+ NETWORKDAYS: {
226
+ description: string;
227
+ abstract: string;
228
+ links: {
229
+ title: string;
230
+ url: string;
231
+ }[];
232
+ functionParameter: {
233
+ number1: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ number2: {
238
+ name: string;
239
+ detail: string;
240
+ };
241
+ };
242
+ };
243
+ NETWORKDAYS_INTL: {
244
+ description: string;
245
+ abstract: string;
246
+ links: {
247
+ title: string;
248
+ url: string;
249
+ }[];
250
+ functionParameter: {
251
+ number1: {
252
+ name: string;
253
+ detail: string;
254
+ };
255
+ number2: {
256
+ name: string;
257
+ detail: string;
258
+ };
259
+ };
260
+ };
261
+ NOW: {
262
+ description: string;
263
+ abstract: string;
264
+ links: {
265
+ title: string;
266
+ url: string;
267
+ }[];
268
+ functionParameter: {};
269
+ };
270
+ SECOND: {
271
+ description: string;
272
+ abstract: string;
273
+ links: {
274
+ title: string;
275
+ url: string;
276
+ }[];
277
+ functionParameter: {
278
+ number1: {
279
+ name: string;
280
+ detail: string;
281
+ };
282
+ number2: {
283
+ name: string;
284
+ detail: string;
285
+ };
286
+ };
287
+ };
288
+ TIME: {
289
+ description: string;
290
+ abstract: string;
291
+ links: {
292
+ title: string;
293
+ url: string;
294
+ }[];
295
+ functionParameter: {
296
+ hour: {
297
+ name: string;
298
+ detail: string;
299
+ };
300
+ minute: {
301
+ name: string;
302
+ detail: string;
303
+ };
304
+ second: {
305
+ name: string;
306
+ detail: string;
307
+ };
308
+ };
309
+ };
310
+ TIMEVALUE: {
311
+ description: string;
312
+ abstract: string;
313
+ links: {
314
+ title: string;
315
+ url: string;
316
+ }[];
317
+ functionParameter: {
318
+ timeText: {
319
+ name: string;
320
+ detail: string;
321
+ };
322
+ };
323
+ };
324
+ TODAY: {
325
+ description: string;
326
+ abstract: string;
327
+ links: {
328
+ title: string;
329
+ url: string;
330
+ }[];
331
+ functionParameter: {};
332
+ };
333
+ WEEKDAY: {
334
+ description: string;
335
+ abstract: string;
336
+ links: {
337
+ title: string;
338
+ url: string;
339
+ }[];
340
+ functionParameter: {
341
+ number1: {
342
+ name: string;
343
+ detail: string;
344
+ };
345
+ number2: {
346
+ name: string;
347
+ detail: string;
348
+ };
349
+ };
350
+ };
351
+ WEEKNUM: {
352
+ description: string;
353
+ abstract: string;
354
+ links: {
355
+ title: string;
356
+ url: string;
357
+ }[];
358
+ functionParameter: {
359
+ number1: {
360
+ name: string;
361
+ detail: string;
362
+ };
363
+ number2: {
364
+ name: string;
365
+ detail: string;
366
+ };
367
+ };
368
+ };
369
+ WORKDAY: {
370
+ description: string;
371
+ abstract: string;
372
+ links: {
373
+ title: string;
374
+ url: string;
375
+ }[];
376
+ functionParameter: {
377
+ number1: {
378
+ name: string;
379
+ detail: string;
380
+ };
381
+ number2: {
382
+ name: string;
383
+ detail: string;
384
+ };
385
+ };
386
+ };
387
+ WORKDAY_INTL: {
388
+ description: string;
389
+ abstract: string;
390
+ links: {
391
+ title: string;
392
+ url: string;
393
+ }[];
394
+ functionParameter: {
395
+ number1: {
396
+ name: string;
397
+ detail: string;
398
+ };
399
+ number2: {
400
+ name: string;
401
+ detail: string;
402
+ };
403
+ };
404
+ };
405
+ YEAR: {
406
+ description: string;
407
+ abstract: string;
408
+ links: {
409
+ title: string;
410
+ url: string;
411
+ }[];
412
+ functionParameter: {
413
+ serialNumber: {
414
+ name: string;
415
+ detail: string;
416
+ };
417
+ };
418
+ };
419
+ YEARFRAC: {
420
+ description: string;
421
+ abstract: string;
422
+ links: {
423
+ title: string;
424
+ url: string;
425
+ }[];
426
+ functionParameter: {
427
+ number1: {
428
+ name: string;
429
+ detail: string;
430
+ };
431
+ number2: {
432
+ name: string;
433
+ detail: string;
434
+ };
435
+ };
436
+ };
437
+ };
438
+ export default _default;