@univerjs/sheets-formula 0.2.4 → 0.2.5

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 (41) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +610 -677
  3. package/lib/index.css +1 -1
  4. package/lib/locale/en-US.json +222 -264
  5. package/lib/locale/ru-RU.json +222 -264
  6. package/lib/locale/vi-VN.json +171 -221
  7. package/lib/locale/zh-CN.json +226 -268
  8. package/lib/locale/zh-TW.json +238 -280
  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-ui.controller.d.ts +1 -2
  13. package/lib/types/controllers/menu.d.ts +1 -1
  14. package/lib/types/controllers/prompt.controller.d.ts +3 -0
  15. package/lib/types/controllers/update-formula.controller.d.ts +1 -2
  16. package/lib/types/formula-ui-plugin.d.ts +1 -2
  17. package/lib/types/locale/en-US.d.ts +96 -138
  18. package/lib/types/locale/function-list/date/en-US.d.ts +25 -17
  19. package/lib/types/locale/function-list/date/ja-JP.d.ts +25 -17
  20. package/lib/types/locale/function-list/date/zh-CN.d.ts +25 -17
  21. package/lib/types/locale/function-list/date/zh-TW.d.ts +27 -19
  22. package/lib/types/locale/function-list/information/en-US.d.ts +4 -12
  23. package/lib/types/locale/function-list/information/ja-JP.d.ts +4 -12
  24. package/lib/types/locale/function-list/information/zh-CN.d.ts +4 -12
  25. package/lib/types/locale/function-list/information/zh-TW.d.ts +4 -12
  26. package/lib/types/locale/function-list/math/en-US.d.ts +67 -109
  27. package/lib/types/locale/function-list/math/ja-JP.d.ts +67 -109
  28. package/lib/types/locale/function-list/math/zh-CN.d.ts +67 -109
  29. package/lib/types/locale/function-list/math/zh-TW.d.ts +69 -111
  30. package/lib/types/locale/ru-RU.d.ts +96 -138
  31. package/lib/types/locale/vi-VN.d.ts +71 -121
  32. package/lib/types/locale/zh-CN.d.ts +96 -138
  33. package/lib/types/locale/zh-TW.d.ts +100 -142
  34. package/lib/types/services/description.service.d.ts +2 -3
  35. package/lib/types/services/formula-ref-range.service.d.ts +1 -2
  36. package/lib/types/services/prompt.service.d.ts +2 -3
  37. package/lib/types/services/register-function.service.d.ts +2 -3
  38. package/lib/types/services/remote/remote-register-function.service.d.ts +1 -1
  39. package/lib/types/services/render-services/ref-selections.render-service.d.ts +1 -2
  40. package/lib/umd/index.js +4 -4
  41. package/package.json +21 -23
@@ -44,11 +44,15 @@ declare const _default: {
44
44
  url: string;
45
45
  }[];
46
46
  functionParameter: {
47
- number1: {
47
+ startDate: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ endDate: {
48
52
  name: string;
49
53
  detail: string;
50
54
  };
51
- number2: {
55
+ method: {
52
56
  name: string;
53
57
  detail: string;
54
58
  };
@@ -90,11 +94,11 @@ declare const _default: {
90
94
  url: string;
91
95
  }[];
92
96
  functionParameter: {
93
- number1: {
97
+ endDate: {
94
98
  name: string;
95
99
  detail: string;
96
100
  };
97
- number2: {
101
+ startDate: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
@@ -108,11 +112,15 @@ declare const _default: {
108
112
  url: string;
109
113
  }[];
110
114
  functionParameter: {
111
- number1: {
115
+ startDate: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ endDate: {
112
120
  name: string;
113
121
  detail: string;
114
122
  };
115
- number2: {
123
+ method: {
116
124
  name: string;
117
125
  detail: string;
118
126
  };
@@ -144,11 +152,11 @@ declare const _default: {
144
152
  url: string;
145
153
  }[];
146
154
  functionParameter: {
147
- number1: {
155
+ startDate: {
148
156
  name: string;
149
157
  detail: string;
150
158
  };
151
- number2: {
159
+ months: {
152
160
  name: string;
153
161
  detail: string;
154
162
  };
@@ -176,11 +184,7 @@ declare const _default: {
176
184
  url: string;
177
185
  }[];
178
186
  functionParameter: {
179
- number1: {
180
- name: string;
181
- detail: string;
182
- };
183
- number2: {
187
+ date: {
184
188
  name: string;
185
189
  detail: string;
186
190
  };
@@ -356,11 +360,11 @@ declare const _default: {
356
360
  url: string;
357
361
  }[];
358
362
  functionParameter: {
359
- number1: {
363
+ serialNumber: {
360
364
  name: string;
361
365
  detail: string;
362
366
  };
363
- number2: {
367
+ returnType: {
364
368
  name: string;
365
369
  detail: string;
366
370
  };
@@ -436,11 +440,15 @@ declare const _default: {
436
440
  url: string;
437
441
  }[];
438
442
  functionParameter: {
439
- number1: {
443
+ startDate: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ endDate: {
440
448
  name: string;
441
449
  detail: string;
442
450
  };
443
- number2: {
451
+ basis: {
444
452
  name: string;
445
453
  detail: string;
446
454
  };
@@ -44,11 +44,15 @@ declare const _default: {
44
44
  url: string;
45
45
  }[];
46
46
  functionParameter: {
47
- number1: {
47
+ startDate: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ endDate: {
48
52
  name: string;
49
53
  detail: string;
50
54
  };
51
- number2: {
55
+ method: {
52
56
  name: string;
53
57
  detail: string;
54
58
  };
@@ -90,11 +94,11 @@ declare const _default: {
90
94
  url: string;
91
95
  }[];
92
96
  functionParameter: {
93
- number1: {
97
+ endDate: {
94
98
  name: string;
95
99
  detail: string;
96
100
  };
97
- number2: {
101
+ startDate: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
@@ -108,11 +112,15 @@ declare const _default: {
108
112
  url: string;
109
113
  }[];
110
114
  functionParameter: {
111
- number1: {
115
+ startDate: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ endDate: {
112
120
  name: string;
113
121
  detail: string;
114
122
  };
115
- number2: {
123
+ method: {
116
124
  name: string;
117
125
  detail: string;
118
126
  };
@@ -144,11 +152,11 @@ declare const _default: {
144
152
  url: string;
145
153
  }[];
146
154
  functionParameter: {
147
- number1: {
155
+ startDate: {
148
156
  name: string;
149
157
  detail: string;
150
158
  };
151
- number2: {
159
+ months: {
152
160
  name: string;
153
161
  detail: string;
154
162
  };
@@ -176,11 +184,7 @@ declare const _default: {
176
184
  url: string;
177
185
  }[];
178
186
  functionParameter: {
179
- number1: {
180
- name: string;
181
- detail: string;
182
- };
183
- number2: {
187
+ date: {
184
188
  name: string;
185
189
  detail: string;
186
190
  };
@@ -356,11 +360,11 @@ declare const _default: {
356
360
  url: string;
357
361
  }[];
358
362
  functionParameter: {
359
- number1: {
363
+ serialNumber: {
360
364
  name: string;
361
365
  detail: string;
362
366
  };
363
- number2: {
367
+ returnType: {
364
368
  name: string;
365
369
  detail: string;
366
370
  };
@@ -436,11 +440,15 @@ declare const _default: {
436
440
  url: string;
437
441
  }[];
438
442
  functionParameter: {
439
- number1: {
443
+ startDate: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ endDate: {
440
448
  name: string;
441
449
  detail: string;
442
450
  };
443
- number2: {
451
+ basis: {
444
452
  name: string;
445
453
  detail: string;
446
454
  };
@@ -44,11 +44,15 @@ declare const _default: {
44
44
  url: string;
45
45
  }[];
46
46
  functionParameter: {
47
- number1: {
47
+ startDate: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ endDate: {
48
52
  name: string;
49
53
  detail: string;
50
54
  };
51
- number2: {
55
+ method: {
52
56
  name: string;
53
57
  detail: string;
54
58
  };
@@ -90,11 +94,11 @@ declare const _default: {
90
94
  url: string;
91
95
  }[];
92
96
  functionParameter: {
93
- number1: {
97
+ endDate: {
94
98
  name: string;
95
99
  detail: string;
96
100
  };
97
- number2: {
101
+ startDate: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
@@ -108,11 +112,15 @@ declare const _default: {
108
112
  url: string;
109
113
  }[];
110
114
  functionParameter: {
111
- number1: {
115
+ startDate: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ endDate: {
112
120
  name: string;
113
121
  detail: string;
114
122
  };
115
- number2: {
123
+ method: {
116
124
  name: string;
117
125
  detail: string;
118
126
  };
@@ -144,11 +152,11 @@ declare const _default: {
144
152
  url: string;
145
153
  }[];
146
154
  functionParameter: {
147
- number1: {
155
+ startDate: {
148
156
  name: string;
149
157
  detail: string;
150
158
  };
151
- number2: {
159
+ months: {
152
160
  name: string;
153
161
  detail: string;
154
162
  };
@@ -176,11 +184,7 @@ declare const _default: {
176
184
  url: string;
177
185
  }[];
178
186
  functionParameter: {
179
- number1: {
180
- name: string;
181
- detail: string;
182
- };
183
- number2: {
187
+ date: {
184
188
  name: string;
185
189
  detail: string;
186
190
  };
@@ -356,11 +360,11 @@ declare const _default: {
356
360
  url: string;
357
361
  }[];
358
362
  functionParameter: {
359
- number1: {
363
+ serialNumber: {
360
364
  name: string;
361
365
  detail: string;
362
366
  };
363
- number2: {
367
+ returnType: {
364
368
  name: string;
365
369
  detail: string;
366
370
  };
@@ -436,11 +440,15 @@ declare const _default: {
436
440
  url: string;
437
441
  }[];
438
442
  functionParameter: {
439
- number1: {
443
+ startDate: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ endDate: {
440
448
  name: string;
441
449
  detail: string;
442
450
  };
443
- number2: {
451
+ basis: {
444
452
  name: string;
445
453
  detail: string;
446
454
  };
@@ -44,11 +44,15 @@ declare const _default: {
44
44
  url: string;
45
45
  }[];
46
46
  functionParameter: {
47
- number1: {
47
+ startDate: {
48
48
  name: string;
49
49
  detail: string;
50
50
  };
51
- number2: {
51
+ endDate: {
52
+ name: string;
53
+ detail: string;
54
+ };
55
+ method: {
52
56
  name: string;
53
57
  detail: string;
54
58
  };
@@ -90,11 +94,11 @@ declare const _default: {
90
94
  url: string;
91
95
  }[];
92
96
  functionParameter: {
93
- number1: {
97
+ endDate: {
94
98
  name: string;
95
99
  detail: string;
96
100
  };
97
- number2: {
101
+ startDate: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
@@ -108,11 +112,15 @@ declare const _default: {
108
112
  url: string;
109
113
  }[];
110
114
  functionParameter: {
111
- number1: {
115
+ startDate: {
112
116
  name: string;
113
117
  detail: string;
114
118
  };
115
- number2: {
119
+ endDate: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ method: {
116
124
  name: string;
117
125
  detail: string;
118
126
  };
@@ -144,11 +152,11 @@ declare const _default: {
144
152
  url: string;
145
153
  }[];
146
154
  functionParameter: {
147
- number1: {
155
+ startDate: {
148
156
  name: string;
149
157
  detail: string;
150
158
  };
151
- number2: {
159
+ months: {
152
160
  name: string;
153
161
  detail: string;
154
162
  };
@@ -176,11 +184,7 @@ declare const _default: {
176
184
  url: string;
177
185
  }[];
178
186
  functionParameter: {
179
- number1: {
180
- name: string;
181
- detail: string;
182
- };
183
- number2: {
187
+ date: {
184
188
  name: string;
185
189
  detail: string;
186
190
  };
@@ -326,11 +330,11 @@ declare const _default: {
326
330
  url: string;
327
331
  }[];
328
332
  functionParameter: {
329
- number1: {
333
+ serialNumber: {
330
334
  name: string;
331
335
  detail: string;
332
336
  };
333
- number2: {
337
+ returnType: {
334
338
  name: string;
335
339
  detail: string;
336
340
  };
@@ -344,11 +348,11 @@ declare const _default: {
344
348
  url: string;
345
349
  }[];
346
350
  functionParameter: {
347
- number1: {
351
+ serialNumber: {
348
352
  name: string;
349
353
  detail: string;
350
354
  };
351
- number2: {
355
+ returnType: {
352
356
  name: string;
353
357
  detail: string;
354
358
  };
@@ -412,11 +416,15 @@ declare const _default: {
412
416
  url: string;
413
417
  }[];
414
418
  functionParameter: {
415
- number1: {
419
+ startDate: {
416
420
  name: string;
417
421
  detail: string;
418
422
  };
419
- number2: {
423
+ endDate: {
424
+ name: string;
425
+ detail: string;
426
+ };
427
+ basis: {
420
428
  name: string;
421
429
  detail: string;
422
430
  };
@@ -22,11 +22,11 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ infoType: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ reference: {
30
30
  name: string;
31
31
  detail: string;
32
32
  };
@@ -40,11 +40,7 @@ declare const _default: {
40
40
  url: string;
41
41
  }[];
42
42
  functionParameter: {
43
- number1: {
44
- name: string;
45
- detail: string;
46
- };
47
- number2: {
43
+ errorVal: {
48
44
  name: string;
49
45
  detail: string;
50
46
  };
@@ -338,11 +334,7 @@ declare const _default: {
338
334
  url: string;
339
335
  }[];
340
336
  functionParameter: {
341
- number1: {
342
- name: string;
343
- detail: string;
344
- };
345
- number2: {
337
+ value: {
346
338
  name: string;
347
339
  detail: string;
348
340
  };
@@ -22,11 +22,11 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ infoType: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ reference: {
30
30
  name: string;
31
31
  detail: string;
32
32
  };
@@ -40,11 +40,7 @@ declare const _default: {
40
40
  url: string;
41
41
  }[];
42
42
  functionParameter: {
43
- number1: {
44
- name: string;
45
- detail: string;
46
- };
47
- number2: {
43
+ errorVal: {
48
44
  name: string;
49
45
  detail: string;
50
46
  };
@@ -370,11 +366,7 @@ declare const _default: {
370
366
  url: string;
371
367
  }[];
372
368
  functionParameter: {
373
- number1: {
374
- name: string;
375
- detail: string;
376
- };
377
- number2: {
369
+ value: {
378
370
  name: string;
379
371
  detail: string;
380
372
  };
@@ -22,11 +22,11 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ infoType: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ reference: {
30
30
  name: string;
31
31
  detail: string;
32
32
  };
@@ -40,11 +40,7 @@ declare const _default: {
40
40
  url: string;
41
41
  }[];
42
42
  functionParameter: {
43
- number1: {
44
- name: string;
45
- detail: string;
46
- };
47
- number2: {
43
+ errorVal: {
48
44
  name: string;
49
45
  detail: string;
50
46
  };
@@ -338,11 +334,7 @@ declare const _default: {
338
334
  url: string;
339
335
  }[];
340
336
  functionParameter: {
341
- number1: {
342
- name: string;
343
- detail: string;
344
- };
345
- number2: {
337
+ value: {
346
338
  name: string;
347
339
  detail: string;
348
340
  };
@@ -22,11 +22,11 @@ declare const _default: {
22
22
  url: string;
23
23
  }[];
24
24
  functionParameter: {
25
- number1: {
25
+ infoType: {
26
26
  name: string;
27
27
  detail: string;
28
28
  };
29
- number2: {
29
+ reference: {
30
30
  name: string;
31
31
  detail: string;
32
32
  };
@@ -40,11 +40,7 @@ declare const _default: {
40
40
  url: string;
41
41
  }[];
42
42
  functionParameter: {
43
- number1: {
44
- name: string;
45
- detail: string;
46
- };
47
- number2: {
43
+ errorVal: {
48
44
  name: string;
49
45
  detail: string;
50
46
  };
@@ -338,11 +334,7 @@ declare const _default: {
338
334
  url: string;
339
335
  }[];
340
336
  functionParameter: {
341
- number1: {
342
- name: string;
343
- detail: string;
344
- };
345
- number2: {
337
+ value: {
346
338
  name: string;
347
339
  detail: string;
348
340
  };