@univerjs/sheets-formula 0.2.1 → 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
@@ -78,11 +78,7 @@ declare const _default: {
78
78
  url: string;
79
79
  }[];
80
80
  functionParameter: {
81
- number1: {
82
- name: string;
83
- detail: string;
84
- };
85
- number2: {
81
+ number: {
86
82
  name: string;
87
83
  detail: string;
88
84
  };
@@ -206,11 +202,15 @@ declare const _default: {
206
202
  url: string;
207
203
  }[];
208
204
  functionParameter: {
209
- number1: {
205
+ number: {
210
206
  name: string;
211
207
  detail: string;
212
208
  };
213
- number2: {
209
+ radix: {
210
+ name: string;
211
+ detail: string;
212
+ };
213
+ minLength: {
214
214
  name: string;
215
215
  detail: string;
216
216
  };
@@ -328,11 +328,7 @@ declare const _default: {
328
328
  url: string;
329
329
  }[];
330
330
  functionParameter: {
331
- number1: {
332
- name: string;
333
- detail: string;
334
- };
335
- number2: {
331
+ number: {
336
332
  name: string;
337
333
  detail: string;
338
334
  };
@@ -346,11 +342,7 @@ declare const _default: {
346
342
  url: string;
347
343
  }[];
348
344
  functionParameter: {
349
- number1: {
350
- name: string;
351
- detail: string;
352
- };
353
- number2: {
345
+ number: {
354
346
  name: string;
355
347
  detail: string;
356
348
  };
@@ -364,11 +356,7 @@ declare const _default: {
364
356
  url: string;
365
357
  }[];
366
358
  functionParameter: {
367
- number1: {
368
- name: string;
369
- detail: string;
370
- };
371
- number2: {
359
+ number: {
372
360
  name: string;
373
361
  detail: string;
374
362
  };
@@ -382,11 +370,7 @@ declare const _default: {
382
370
  url: string;
383
371
  }[];
384
372
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
373
+ number: {
390
374
  name: string;
391
375
  detail: string;
392
376
  };
@@ -400,11 +384,7 @@ declare const _default: {
400
384
  url: string;
401
385
  }[];
402
386
  functionParameter: {
403
- number1: {
404
- name: string;
405
- detail: string;
406
- };
407
- number2: {
387
+ number: {
408
388
  name: string;
409
389
  detail: string;
410
390
  };
@@ -1174,11 +1154,7 @@ declare const _default: {
1174
1154
  url: string;
1175
1155
  }[];
1176
1156
  functionParameter: {
1177
- number1: {
1178
- name: string;
1179
- detail: string;
1180
- };
1181
- number2: {
1157
+ number: {
1182
1158
  name: string;
1183
1159
  detail: string;
1184
1160
  };
@@ -1192,11 +1168,7 @@ declare const _default: {
1192
1168
  url: string;
1193
1169
  }[];
1194
1170
  functionParameter: {
1195
- number1: {
1196
- name: string;
1197
- detail: string;
1198
- };
1199
- number2: {
1171
+ number: {
1200
1172
  name: string;
1201
1173
  detail: string;
1202
1174
  };
@@ -78,11 +78,7 @@ declare const _default: {
78
78
  url: string;
79
79
  }[];
80
80
  functionParameter: {
81
- number1: {
82
- name: string;
83
- detail: string;
84
- };
85
- number2: {
81
+ number: {
86
82
  name: string;
87
83
  detail: string;
88
84
  };
@@ -206,11 +202,15 @@ declare const _default: {
206
202
  url: string;
207
203
  }[];
208
204
  functionParameter: {
209
- number1: {
205
+ number: {
210
206
  name: string;
211
207
  detail: string;
212
208
  };
213
- number2: {
209
+ radix: {
210
+ name: string;
211
+ detail: string;
212
+ };
213
+ minLength: {
214
214
  name: string;
215
215
  detail: string;
216
216
  };
@@ -328,11 +328,7 @@ declare const _default: {
328
328
  url: string;
329
329
  }[];
330
330
  functionParameter: {
331
- number1: {
332
- name: string;
333
- detail: string;
334
- };
335
- number2: {
331
+ number: {
336
332
  name: string;
337
333
  detail: string;
338
334
  };
@@ -346,11 +342,7 @@ declare const _default: {
346
342
  url: string;
347
343
  }[];
348
344
  functionParameter: {
349
- number1: {
350
- name: string;
351
- detail: string;
352
- };
353
- number2: {
345
+ number: {
354
346
  name: string;
355
347
  detail: string;
356
348
  };
@@ -364,11 +356,7 @@ declare const _default: {
364
356
  url: string;
365
357
  }[];
366
358
  functionParameter: {
367
- number1: {
368
- name: string;
369
- detail: string;
370
- };
371
- number2: {
359
+ number: {
372
360
  name: string;
373
361
  detail: string;
374
362
  };
@@ -382,11 +370,7 @@ declare const _default: {
382
370
  url: string;
383
371
  }[];
384
372
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
373
+ number: {
390
374
  name: string;
391
375
  detail: string;
392
376
  };
@@ -400,11 +384,7 @@ declare const _default: {
400
384
  url: string;
401
385
  }[];
402
386
  functionParameter: {
403
- number1: {
404
- name: string;
405
- detail: string;
406
- };
407
- number2: {
387
+ number: {
408
388
  name: string;
409
389
  detail: string;
410
390
  };
@@ -1174,11 +1154,7 @@ declare const _default: {
1174
1154
  url: string;
1175
1155
  }[];
1176
1156
  functionParameter: {
1177
- number1: {
1178
- name: string;
1179
- detail: string;
1180
- };
1181
- number2: {
1157
+ number: {
1182
1158
  name: string;
1183
1159
  detail: string;
1184
1160
  };
@@ -1192,11 +1168,7 @@ declare const _default: {
1192
1168
  url: string;
1193
1169
  }[];
1194
1170
  functionParameter: {
1195
- number1: {
1196
- name: string;
1197
- detail: string;
1198
- };
1199
- number2: {
1171
+ number: {
1200
1172
  name: string;
1201
1173
  detail: string;
1202
1174
  };
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+
3
+ export default enUS;
@@ -78,11 +78,7 @@ declare const _default: {
78
78
  url: string;
79
79
  }[];
80
80
  functionParameter: {
81
- number1: {
82
- name: string;
83
- detail: string;
84
- };
85
- number2: {
81
+ number: {
86
82
  name: string;
87
83
  detail: string;
88
84
  };
@@ -206,11 +202,15 @@ declare const _default: {
206
202
  url: string;
207
203
  }[];
208
204
  functionParameter: {
209
- number1: {
205
+ number: {
210
206
  name: string;
211
207
  detail: string;
212
208
  };
213
- number2: {
209
+ radix: {
210
+ name: string;
211
+ detail: string;
212
+ };
213
+ minLength: {
214
214
  name: string;
215
215
  detail: string;
216
216
  };
@@ -328,11 +328,7 @@ declare const _default: {
328
328
  url: string;
329
329
  }[];
330
330
  functionParameter: {
331
- number1: {
332
- name: string;
333
- detail: string;
334
- };
335
- number2: {
331
+ number: {
336
332
  name: string;
337
333
  detail: string;
338
334
  };
@@ -346,11 +342,7 @@ declare const _default: {
346
342
  url: string;
347
343
  }[];
348
344
  functionParameter: {
349
- number1: {
350
- name: string;
351
- detail: string;
352
- };
353
- number2: {
345
+ number: {
354
346
  name: string;
355
347
  detail: string;
356
348
  };
@@ -364,11 +356,7 @@ declare const _default: {
364
356
  url: string;
365
357
  }[];
366
358
  functionParameter: {
367
- number1: {
368
- name: string;
369
- detail: string;
370
- };
371
- number2: {
359
+ number: {
372
360
  name: string;
373
361
  detail: string;
374
362
  };
@@ -382,11 +370,7 @@ declare const _default: {
382
370
  url: string;
383
371
  }[];
384
372
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
373
+ number: {
390
374
  name: string;
391
375
  detail: string;
392
376
  };
@@ -400,11 +384,7 @@ declare const _default: {
400
384
  url: string;
401
385
  }[];
402
386
  functionParameter: {
403
- number1: {
404
- name: string;
405
- detail: string;
406
- };
407
- number2: {
387
+ number: {
408
388
  name: string;
409
389
  detail: string;
410
390
  };
@@ -1174,11 +1154,7 @@ declare const _default: {
1174
1154
  url: string;
1175
1155
  }[];
1176
1156
  functionParameter: {
1177
- number1: {
1178
- name: string;
1179
- detail: string;
1180
- };
1181
- number2: {
1157
+ number: {
1182
1158
  name: string;
1183
1159
  detail: string;
1184
1160
  };
@@ -1192,11 +1168,7 @@ declare const _default: {
1192
1168
  url: string;
1193
1169
  }[];
1194
1170
  functionParameter: {
1195
- number1: {
1196
- name: string;
1197
- detail: string;
1198
- };
1199
- number2: {
1171
+ number: {
1200
1172
  name: string;
1201
1173
  detail: string;
1202
1174
  };