@univerjs/sheets-formula 0.2.2 → 0.2.4-alpha.0

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 (72) hide show
  1. package/README.md +13 -7
  2. package/lib/cjs/index.js +4 -4
  3. package/lib/es/index.js +4321 -4196
  4. package/lib/locale/en-US.json +103 -119
  5. package/lib/locale/ru-RU.json +103 -119
  6. package/lib/locale/vi-VN.json +7425 -0
  7. package/lib/locale/zh-CN.json +107 -123
  8. package/lib/locale/zh-TW.json +10292 -0
  9. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +7 -8
  10. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -2
  11. package/lib/types/controllers/formula-clipboard.controller.d.ts +1 -2
  12. package/lib/types/controllers/formula-editor-show.controller.d.ts +7 -3
  13. package/lib/types/controllers/formula-ui.controller.d.ts +2 -2
  14. package/lib/types/controllers/menu.d.ts +1 -1
  15. package/lib/types/controllers/prompt.controller.d.ts +27 -25
  16. package/lib/types/controllers/trigger-calculation.controller.d.ts +4 -0
  17. package/lib/types/controllers/update-formula.controller.d.ts +3 -4
  18. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -17
  19. package/lib/types/formula-ui-plugin.d.ts +9 -4
  20. package/lib/types/index.d.ts +2 -2
  21. package/lib/types/locale/en-US.d.ts +53 -69
  22. package/lib/types/locale/function-list/array/vi-VN.d.ts +17 -0
  23. package/lib/types/locale/function-list/array/zh-TW.d.ts +17 -0
  24. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +702 -0
  25. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +702 -0
  26. package/lib/types/locale/function-list/cube/vi-VN.d.ts +144 -0
  27. package/lib/types/locale/function-list/cube/zh-TW.d.ts +144 -0
  28. package/lib/types/locale/function-list/database/vi-VN.d.ts +234 -0
  29. package/lib/types/locale/function-list/database/zh-TW.d.ts +234 -0
  30. package/lib/types/locale/function-list/date/en-US.d.ts +37 -25
  31. package/lib/types/locale/function-list/date/ja-JP.d.ts +37 -25
  32. package/lib/types/locale/function-list/date/vi-VN.d.ts +379 -0
  33. package/lib/types/locale/function-list/date/zh-CN.d.ts +37 -25
  34. package/lib/types/locale/function-list/date/zh-TW.d.ts +426 -0
  35. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +990 -0
  36. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +990 -0
  37. package/lib/types/locale/function-list/financial/vi-VN.d.ts +954 -0
  38. package/lib/types/locale/function-list/financial/zh-TW.d.ts +1008 -0
  39. package/lib/types/locale/function-list/information/vi-VN.d.ts +3 -0
  40. package/lib/types/locale/function-list/information/zh-TW.d.ts +352 -0
  41. package/lib/types/locale/function-list/logical/vi-VN.d.ts +368 -0
  42. package/lib/types/locale/function-list/logical/zh-TW.d.ts +368 -0
  43. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +188 -0
  44. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +752 -0
  45. package/lib/types/locale/function-list/math/en-US.d.ts +16 -44
  46. package/lib/types/locale/function-list/math/ja-JP.d.ts +16 -44
  47. package/lib/types/locale/function-list/math/vi-VN.d.ts +3 -0
  48. package/lib/types/locale/function-list/math/zh-CN.d.ts +16 -44
  49. package/lib/types/locale/function-list/math/zh-TW.d.ts +1498 -0
  50. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +394 -0
  51. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +2060 -0
  52. package/lib/types/locale/function-list/text/vi-VN.d.ts +650 -0
  53. package/lib/types/locale/function-list/text/zh-TW.d.ts +852 -0
  54. package/lib/types/locale/function-list/univer/vi-VN.d.ts +17 -0
  55. package/lib/types/locale/function-list/univer/zh-TW.d.ts +17 -0
  56. package/lib/types/locale/function-list/web/vi-VN.d.ts +3 -0
  57. package/lib/types/locale/function-list/web/zh-TW.d.ts +72 -0
  58. package/lib/types/locale/ru-RU.d.ts +53 -69
  59. package/lib/types/locale/vi-VN.d.ts +6699 -0
  60. package/lib/types/locale/zh-CN.d.ts +53 -69
  61. package/lib/types/locale/zh-TW.d.ts +9288 -0
  62. package/lib/types/services/description.service.d.ts +2 -3
  63. package/lib/types/services/formula-ref-range.service.d.ts +1 -2
  64. package/lib/types/services/prompt.service.d.ts +2 -11
  65. package/lib/types/services/register-function.service.d.ts +21 -8
  66. package/lib/types/services/register-other-formula.service.d.ts +1 -0
  67. package/lib/types/services/remote/remote-register-function.service.d.ts +17 -0
  68. package/lib/types/services/render-services/ref-selections.render-service.d.ts +36 -0
  69. package/lib/types/views/prompt/resize-scroll-observer.d.ts +18 -0
  70. package/lib/umd/index.js +4 -4
  71. package/package.json +24 -24
  72. package/lib/types/services/formula-custom-function.service.d.ts +0 -19
@@ -0,0 +1,426 @@
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
+ serialNumber: {
166
+ name: string;
167
+ detail: string;
168
+ };
169
+ };
170
+ };
171
+ ISOWEEKNUM: {
172
+ description: string;
173
+ abstract: string;
174
+ links: {
175
+ title: string;
176
+ url: string;
177
+ }[];
178
+ functionParameter: {
179
+ number1: {
180
+ name: string;
181
+ detail: string;
182
+ };
183
+ number2: {
184
+ name: string;
185
+ detail: string;
186
+ };
187
+ };
188
+ };
189
+ MINUTE: {
190
+ description: string;
191
+ abstract: string;
192
+ links: {
193
+ title: string;
194
+ url: string;
195
+ }[];
196
+ functionParameter: {
197
+ serialNumber: {
198
+ name: string;
199
+ detail: string;
200
+ };
201
+ };
202
+ };
203
+ MONTH: {
204
+ description: string;
205
+ abstract: string;
206
+ links: {
207
+ title: string;
208
+ url: string;
209
+ }[];
210
+ functionParameter: {
211
+ serialNumber: {
212
+ name: string;
213
+ detail: string;
214
+ };
215
+ };
216
+ };
217
+ NETWORKDAYS: {
218
+ description: string;
219
+ abstract: string;
220
+ links: {
221
+ title: string;
222
+ url: string;
223
+ }[];
224
+ functionParameter: {
225
+ number1: {
226
+ name: string;
227
+ detail: string;
228
+ };
229
+ number2: {
230
+ name: string;
231
+ detail: string;
232
+ };
233
+ };
234
+ };
235
+ NETWORKDAYS_INTL: {
236
+ description: string;
237
+ abstract: string;
238
+ links: {
239
+ title: string;
240
+ url: string;
241
+ }[];
242
+ functionParameter: {
243
+ number1: {
244
+ name: string;
245
+ detail: string;
246
+ };
247
+ number2: {
248
+ name: string;
249
+ detail: string;
250
+ };
251
+ };
252
+ };
253
+ NOW: {
254
+ description: string;
255
+ abstract: string;
256
+ links: {
257
+ title: string;
258
+ url: string;
259
+ }[];
260
+ functionParameter: {};
261
+ };
262
+ SECOND: {
263
+ description: string;
264
+ abstract: string;
265
+ links: {
266
+ title: string;
267
+ url: string;
268
+ }[];
269
+ functionParameter: {
270
+ serialNumber: {
271
+ name: string;
272
+ detail: string;
273
+ };
274
+ };
275
+ };
276
+ TIME: {
277
+ description: string;
278
+ abstract: string;
279
+ links: {
280
+ title: string;
281
+ url: string;
282
+ }[];
283
+ functionParameter: {
284
+ hour: {
285
+ name: string;
286
+ detail: string;
287
+ };
288
+ minute: {
289
+ name: string;
290
+ detail: string;
291
+ };
292
+ second: {
293
+ name: string;
294
+ detail: string;
295
+ };
296
+ };
297
+ };
298
+ TIMEVALUE: {
299
+ description: string;
300
+ abstract: string;
301
+ links: {
302
+ title: string;
303
+ url: string;
304
+ }[];
305
+ functionParameter: {
306
+ timeText: {
307
+ name: string;
308
+ detail: string;
309
+ };
310
+ };
311
+ };
312
+ TODAY: {
313
+ description: string;
314
+ abstract: string;
315
+ links: {
316
+ title: string;
317
+ url: string;
318
+ }[];
319
+ functionParameter: {};
320
+ };
321
+ WEEKDAY: {
322
+ description: string;
323
+ abstract: string;
324
+ links: {
325
+ title: string;
326
+ url: string;
327
+ }[];
328
+ functionParameter: {
329
+ number1: {
330
+ name: string;
331
+ detail: string;
332
+ };
333
+ number2: {
334
+ name: string;
335
+ detail: string;
336
+ };
337
+ };
338
+ };
339
+ WEEKNUM: {
340
+ description: string;
341
+ abstract: string;
342
+ links: {
343
+ title: string;
344
+ url: string;
345
+ }[];
346
+ functionParameter: {
347
+ number1: {
348
+ name: string;
349
+ detail: string;
350
+ };
351
+ number2: {
352
+ name: string;
353
+ detail: string;
354
+ };
355
+ };
356
+ };
357
+ WORKDAY: {
358
+ description: string;
359
+ abstract: string;
360
+ links: {
361
+ title: string;
362
+ url: string;
363
+ }[];
364
+ functionParameter: {
365
+ number1: {
366
+ name: string;
367
+ detail: string;
368
+ };
369
+ number2: {
370
+ name: string;
371
+ detail: string;
372
+ };
373
+ };
374
+ };
375
+ WORKDAY_INTL: {
376
+ description: string;
377
+ abstract: string;
378
+ links: {
379
+ title: string;
380
+ url: string;
381
+ }[];
382
+ functionParameter: {
383
+ number1: {
384
+ name: string;
385
+ detail: string;
386
+ };
387
+ number2: {
388
+ name: string;
389
+ detail: string;
390
+ };
391
+ };
392
+ };
393
+ YEAR: {
394
+ description: string;
395
+ abstract: string;
396
+ links: {
397
+ title: string;
398
+ url: string;
399
+ }[];
400
+ functionParameter: {
401
+ serialNumber: {
402
+ name: string;
403
+ detail: string;
404
+ };
405
+ };
406
+ };
407
+ YEARFRAC: {
408
+ description: string;
409
+ abstract: string;
410
+ links: {
411
+ title: string;
412
+ url: string;
413
+ }[];
414
+ functionParameter: {
415
+ number1: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ number2: {
420
+ name: string;
421
+ detail: string;
422
+ };
423
+ };
424
+ };
425
+ };
426
+ export default _default;