@univerjs/sheets-formula 0.1.16 → 0.2.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 (38) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +3097 -3017
  3. package/lib/locale/en-US.json +175 -180
  4. package/lib/locale/ru-RU.json +174 -179
  5. package/lib/locale/zh-CN.json +179 -184
  6. package/lib/types/commands/commands/formula-clipboard.command.d.ts +0 -1
  7. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +6 -6
  8. package/lib/types/controllers/formula-alert-render.controller.d.ts +13 -0
  9. package/lib/types/controllers/formula-clipboard.controller.d.ts +5 -4
  10. package/lib/types/controllers/formula-editor-show.controller.d.ts +2 -6
  11. package/lib/types/controllers/formula-ui.controller.d.ts +1 -1
  12. package/lib/types/controllers/prompt.controller.d.ts +2 -3
  13. package/lib/types/controllers/trigger-calculation.controller.d.ts +5 -1
  14. package/lib/types/controllers/update-formula.controller.d.ts +3 -1
  15. package/lib/types/formula-ui-plugin.d.ts +15 -3
  16. package/lib/types/index.d.ts +10 -2
  17. package/lib/types/locale/en-US.d.ts +79 -84
  18. package/lib/types/locale/function-list/date/en-US.d.ts +9 -22
  19. package/lib/types/locale/function-list/date/ja-JP.d.ts +9 -22
  20. package/lib/types/locale/function-list/date/zh-CN.d.ts +9 -22
  21. package/lib/types/locale/function-list/lookup/en-US.d.ts +6 -2
  22. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +6 -2
  23. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +6 -2
  24. package/lib/types/locale/function-list/math/en-US.d.ts +9 -37
  25. package/lib/types/locale/function-list/math/ja-JP.d.ts +9 -37
  26. package/lib/types/locale/function-list/math/zh-CN.d.ts +9 -37
  27. package/lib/types/locale/function-list/statistical/en-US.d.ts +53 -21
  28. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +55 -23
  29. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +53 -21
  30. package/lib/types/locale/function-list/text/en-US.d.ts +2 -2
  31. package/lib/types/locale/function-list/text/ja-JP.d.ts +2 -2
  32. package/lib/types/locale/function-list/text/ru-RU.d.ts +2 -2
  33. package/lib/types/locale/function-list/text/zh-CN.d.ts +2 -2
  34. package/lib/types/locale/ru-RU.d.ts +79 -84
  35. package/lib/types/locale/zh-CN.d.ts +79 -84
  36. package/lib/umd/index.js +4 -4
  37. package/package.json +24 -24
  38. package/lib/types/controllers/formula-alert.controller.d.ts +0 -12
@@ -58,11 +58,11 @@ declare const _default: {
58
58
  url: string;
59
59
  }[];
60
60
  functionParameter: {
61
- number1: {
61
+ value1: {
62
62
  name: string;
63
63
  detail: string;
64
64
  };
65
- number2: {
65
+ value2: {
66
66
  name: string;
67
67
  detail: string;
68
68
  };
@@ -76,11 +76,15 @@ declare const _default: {
76
76
  url: string;
77
77
  }[];
78
78
  functionParameter: {
79
- number1: {
79
+ range: {
80
80
  name: string;
81
81
  detail: string;
82
82
  };
83
- number2: {
83
+ criteria: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ averageRange: {
84
88
  name: string;
85
89
  detail: string;
86
90
  };
@@ -94,11 +98,23 @@ declare const _default: {
94
98
  url: string;
95
99
  }[];
96
100
  functionParameter: {
97
- number1: {
101
+ averageRange: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
101
- number2: {
105
+ criteriaRange1: {
106
+ name: string;
107
+ detail: string;
108
+ };
109
+ criteria1: {
110
+ name: string;
111
+ detail: string;
112
+ };
113
+ criteriaRange2: {
114
+ name: string;
115
+ detail: string;
116
+ };
117
+ criteria2: {
102
118
  name: string;
103
119
  detail: string;
104
120
  };
@@ -382,11 +398,7 @@ declare const _default: {
382
398
  url: string;
383
399
  }[];
384
400
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
401
+ range: {
390
402
  name: string;
391
403
  detail: string;
392
404
  };
@@ -400,11 +412,11 @@ declare const _default: {
400
412
  url: string;
401
413
  }[];
402
414
  functionParameter: {
403
- number1: {
415
+ range: {
404
416
  name: string;
405
417
  detail: string;
406
418
  };
407
- number2: {
419
+ criteria: {
408
420
  name: string;
409
421
  detail: string;
410
422
  };
@@ -418,11 +430,19 @@ declare const _default: {
418
430
  url: string;
419
431
  }[];
420
432
  functionParameter: {
421
- number1: {
433
+ criteriaRange1: {
422
434
  name: string;
423
435
  detail: string;
424
436
  };
425
- number2: {
437
+ criteria1: {
438
+ name: string;
439
+ detail: string;
440
+ };
441
+ criteriaRange2: {
442
+ name: string;
443
+ detail: string;
444
+ };
445
+ criteria2: {
426
446
  name: string;
427
447
  detail: string;
428
448
  };
@@ -1066,11 +1086,11 @@ declare const _default: {
1066
1086
  url: string;
1067
1087
  }[];
1068
1088
  functionParameter: {
1069
- number1: {
1089
+ value1: {
1070
1090
  name: string;
1071
1091
  detail: string;
1072
1092
  };
1073
- number2: {
1093
+ value2: {
1074
1094
  name: string;
1075
1095
  detail: string;
1076
1096
  };
@@ -1084,11 +1104,11 @@ declare const _default: {
1084
1104
  url: string;
1085
1105
  }[];
1086
1106
  functionParameter: {
1087
- number1: {
1107
+ value1: {
1088
1108
  name: string;
1089
1109
  detail: string;
1090
1110
  };
1091
- number2: {
1111
+ value2: {
1092
1112
  name: string;
1093
1113
  detail: string;
1094
1114
  };
@@ -1168,11 +1188,11 @@ declare const _default: {
1168
1188
  url: string;
1169
1189
  }[];
1170
1190
  functionParameter: {
1171
- number1: {
1191
+ value1: {
1172
1192
  name: string;
1173
1193
  detail: string;
1174
1194
  };
1175
- number2: {
1195
+ value2: {
1176
1196
  name: string;
1177
1197
  detail: string;
1178
1198
  };
@@ -1186,11 +1206,23 @@ declare const _default: {
1186
1206
  url: string;
1187
1207
  }[];
1188
1208
  functionParameter: {
1189
- number1: {
1209
+ minRange: {
1190
1210
  name: string;
1191
1211
  detail: string;
1192
1212
  };
1193
- number2: {
1213
+ criteriaRange1: {
1214
+ name: string;
1215
+ detail: string;
1216
+ };
1217
+ criteria1: {
1218
+ name: string;
1219
+ detail: string;
1220
+ };
1221
+ criteriaRange2: {
1222
+ name: string;
1223
+ detail: string;
1224
+ };
1225
+ criteria2: {
1194
1226
  name: string;
1195
1227
  detail: string;
1196
1228
  };
@@ -58,11 +58,11 @@ declare const _default: {
58
58
  url: string;
59
59
  }[];
60
60
  functionParameter: {
61
- number1: {
61
+ value1: {
62
62
  name: string;
63
63
  detail: string;
64
64
  };
65
- number2: {
65
+ value2: {
66
66
  name: string;
67
67
  detail: string;
68
68
  };
@@ -76,11 +76,15 @@ declare const _default: {
76
76
  url: string;
77
77
  }[];
78
78
  functionParameter: {
79
- number1: {
79
+ range: {
80
80
  name: string;
81
81
  detail: string;
82
82
  };
83
- number2: {
83
+ criteria: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ averageRange: {
84
88
  name: string;
85
89
  detail: string;
86
90
  };
@@ -94,11 +98,23 @@ declare const _default: {
94
98
  url: string;
95
99
  }[];
96
100
  functionParameter: {
97
- number1: {
101
+ averageRange: {
98
102
  name: string;
99
103
  detail: string;
100
104
  };
101
- number2: {
105
+ criteriaRange1: {
106
+ name: string;
107
+ detail: string;
108
+ };
109
+ criteria1: {
110
+ name: string;
111
+ detail: string;
112
+ };
113
+ criteriaRange2: {
114
+ name: string;
115
+ detail: string;
116
+ };
117
+ criteria2: {
102
118
  name: string;
103
119
  detail: string;
104
120
  };
@@ -382,11 +398,7 @@ declare const _default: {
382
398
  url: string;
383
399
  }[];
384
400
  functionParameter: {
385
- number1: {
386
- name: string;
387
- detail: string;
388
- };
389
- number2: {
401
+ range: {
390
402
  name: string;
391
403
  detail: string;
392
404
  };
@@ -400,11 +412,11 @@ declare const _default: {
400
412
  url: string;
401
413
  }[];
402
414
  functionParameter: {
403
- number1: {
415
+ range: {
404
416
  name: string;
405
417
  detail: string;
406
418
  };
407
- number2: {
419
+ criteria: {
408
420
  name: string;
409
421
  detail: string;
410
422
  };
@@ -418,11 +430,19 @@ declare const _default: {
418
430
  url: string;
419
431
  }[];
420
432
  functionParameter: {
421
- number1: {
433
+ criteriaRange1: {
422
434
  name: string;
423
435
  detail: string;
424
436
  };
425
- number2: {
437
+ criteria1: {
438
+ name: string;
439
+ detail: string;
440
+ };
441
+ criteriaRange2: {
442
+ name: string;
443
+ detail: string;
444
+ };
445
+ criteria2: {
426
446
  name: string;
427
447
  detail: string;
428
448
  };
@@ -1084,11 +1104,11 @@ declare const _default: {
1084
1104
  url: string;
1085
1105
  }[];
1086
1106
  functionParameter: {
1087
- number1: {
1107
+ value1: {
1088
1108
  name: string;
1089
1109
  detail: string;
1090
1110
  };
1091
- number2: {
1111
+ value2: {
1092
1112
  name: string;
1093
1113
  detail: string;
1094
1114
  };
@@ -1168,11 +1188,11 @@ declare const _default: {
1168
1188
  url: string;
1169
1189
  }[];
1170
1190
  functionParameter: {
1171
- number1: {
1191
+ value1: {
1172
1192
  name: string;
1173
1193
  detail: string;
1174
1194
  };
1175
- number2: {
1195
+ value2: {
1176
1196
  name: string;
1177
1197
  detail: string;
1178
1198
  };
@@ -1186,11 +1206,23 @@ declare const _default: {
1186
1206
  url: string;
1187
1207
  }[];
1188
1208
  functionParameter: {
1189
- number1: {
1209
+ minRange: {
1190
1210
  name: string;
1191
1211
  detail: string;
1192
1212
  };
1193
- number2: {
1213
+ criteriaRange1: {
1214
+ name: string;
1215
+ detail: string;
1216
+ };
1217
+ criteria1: {
1218
+ name: string;
1219
+ detail: string;
1220
+ };
1221
+ criteriaRange2: {
1222
+ name: string;
1223
+ detail: string;
1224
+ };
1225
+ criteria2: {
1194
1226
  name: string;
1195
1227
  detail: string;
1196
1228
  };
@@ -130,11 +130,11 @@ declare const _default: {
130
130
  url: string;
131
131
  }[];
132
132
  functionParameter: {
133
- number1: {
133
+ text1: {
134
134
  name: string;
135
135
  detail: string;
136
136
  };
137
- number2: {
137
+ text2: {
138
138
  name: string;
139
139
  detail: string;
140
140
  };
@@ -130,11 +130,11 @@ declare const _default: {
130
130
  url: string;
131
131
  }[];
132
132
  functionParameter: {
133
- number1: {
133
+ text1: {
134
134
  name: string;
135
135
  detail: string;
136
136
  };
137
- number2: {
137
+ text2: {
138
138
  name: string;
139
139
  detail: string;
140
140
  };
@@ -130,11 +130,11 @@ declare const _default: {
130
130
  url: string;
131
131
  }[];
132
132
  functionParameter: {
133
- number1: {
133
+ text1: {
134
134
  name: string;
135
135
  detail: string;
136
136
  };
137
- number2: {
137
+ text2: {
138
138
  name: string;
139
139
  detail: string;
140
140
  };
@@ -130,11 +130,11 @@ declare const _default: {
130
130
  url: string;
131
131
  }[];
132
132
  functionParameter: {
133
- number1: {
133
+ text1: {
134
134
  name: string;
135
135
  detail: string;
136
136
  };
137
- number2: {
137
+ text2: {
138
138
  name: string;
139
139
  detail: string;
140
140
  };