@univerjs/sheets-formula 0.2.6 → 0.2.8

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 (117) hide show
  1. package/lib/cjs/index.js +4 -4
  2. package/lib/es/index.js +1185 -724
  3. package/lib/locale/en-US.json +706 -428
  4. package/lib/locale/ru-RU.json +703 -425
  5. package/lib/locale/vi-VN.json +2644 -1855
  6. package/lib/locale/zh-CN.json +750 -472
  7. package/lib/locale/zh-TW.json +834 -588
  8. package/lib/types/commands/commands/formula-clipboard.command.d.ts +0 -1
  9. package/lib/types/commands/commands/insert-function.command.d.ts +0 -1
  10. package/lib/types/commands/mutations/formula.mutation.d.ts +0 -1
  11. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +0 -1
  12. package/lib/types/commands/operations/editor-formula.operation.d.ts +0 -1
  13. package/lib/types/commands/operations/help-function.operation.d.ts +0 -1
  14. package/lib/types/commands/operations/insert-function.operation.d.ts +0 -1
  15. package/lib/types/commands/operations/more-functions.operation.d.ts +0 -1
  16. package/lib/types/commands/operations/reference-absolute.operation.d.ts +0 -1
  17. package/lib/types/commands/operations/search-function.operation.d.ts +0 -1
  18. package/lib/types/common/selection.d.ts +0 -1
  19. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +0 -1
  20. package/lib/types/controllers/active-dirty.controller.d.ts +0 -1
  21. package/lib/types/controllers/array-formula-display.controller.d.ts +0 -1
  22. package/lib/types/controllers/defined-name.controller.d.ts +0 -1
  23. package/lib/types/controllers/formula-alert-render.controller.d.ts +0 -1
  24. package/lib/types/controllers/formula-auto-fill.controller.d.ts +0 -1
  25. package/lib/types/controllers/formula-clipboard.controller.d.ts +0 -1
  26. package/lib/types/controllers/formula-editor-show.controller.d.ts +0 -1
  27. package/lib/types/controllers/formula-render.controller.d.ts +0 -1
  28. package/lib/types/controllers/formula-ui.controller.d.ts +0 -1
  29. package/lib/types/controllers/menu.d.ts +0 -1
  30. package/lib/types/controllers/prompt.controller.d.ts +3 -2
  31. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +0 -1
  32. package/lib/types/controllers/trigger-calculation.controller.d.ts +0 -1
  33. package/lib/types/controllers/update-formula.controller.d.ts +0 -1
  34. package/lib/types/controllers/utils/offset-formula-data.d.ts +0 -1
  35. package/lib/types/controllers/utils/ref-range-formula.d.ts +0 -1
  36. package/lib/types/controllers/utils/utils.d.ts +0 -1
  37. package/lib/types/formula-ui-plugin.d.ts +0 -1
  38. package/lib/types/index.d.ts +1 -0
  39. package/lib/types/locale/en-US.d.ts +440 -162
  40. package/lib/types/locale/function-list/array/ru-RU.d.ts +0 -1
  41. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +0 -1
  42. package/lib/types/locale/function-list/date/ru-RU.d.ts +0 -1
  43. package/lib/types/locale/function-list/date/vi-VN.d.ts +105 -26
  44. package/lib/types/locale/function-list/date/zh-TW.d.ts +32 -8
  45. package/lib/types/locale/function-list/engineering/en-US.d.ts +50 -66
  46. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +50 -66
  47. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +0 -1
  48. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +50 -66
  49. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +50 -66
  50. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +50 -66
  51. package/lib/types/locale/function-list/financial/en-US.d.ts +344 -56
  52. package/lib/types/locale/function-list/financial/ja-JP.d.ts +344 -56
  53. package/lib/types/locale/function-list/financial/ru-RU.d.ts +0 -1
  54. package/lib/types/locale/function-list/financial/vi-VN.d.ts +344 -56
  55. package/lib/types/locale/function-list/financial/zh-CN.d.ts +344 -56
  56. package/lib/types/locale/function-list/financial/zh-TW.d.ts +344 -56
  57. package/lib/types/locale/function-list/information/ja-JP.d.ts +8 -40
  58. package/lib/types/locale/function-list/information/ru-RU.d.ts +0 -1
  59. package/lib/types/locale/function-list/information/vi-VN.d.ts +218 -3
  60. package/lib/types/locale/function-list/logical/en-US.d.ts +45 -35
  61. package/lib/types/locale/function-list/logical/ja-JP.d.ts +45 -35
  62. package/lib/types/locale/function-list/logical/ru-RU.d.ts +0 -1
  63. package/lib/types/locale/function-list/logical/vi-VN.d.ts +45 -35
  64. package/lib/types/locale/function-list/logical/zh-CN.d.ts +45 -35
  65. package/lib/types/locale/function-list/logical/zh-TW.d.ts +45 -35
  66. package/lib/types/locale/function-list/lookup/en-US.d.ts +1 -5
  67. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +1 -5
  68. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +0 -1
  69. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +421 -9
  70. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +1 -5
  71. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +1 -5
  72. package/lib/types/locale/function-list/math/ru-RU.d.ts +0 -1
  73. package/lib/types/locale/function-list/math/vi-VN.d.ts +1022 -3
  74. package/lib/types/locale/function-list/math/zh-TW.d.ts +21 -77
  75. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +0 -1
  76. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +334 -0
  77. package/lib/types/locale/function-list/text/vi-VN.d.ts +135 -1
  78. package/lib/types/locale/function-list/web/vi-VN.d.ts +0 -1
  79. package/lib/types/locale/ru-RU.d.ts +440 -162
  80. package/lib/types/locale/vi-VN.d.ts +1378 -623
  81. package/lib/types/locale/zh-CN.d.ts +440 -162
  82. package/lib/types/locale/zh-TW.d.ts +493 -247
  83. package/lib/types/services/description.service.d.ts +0 -1
  84. package/lib/types/services/formula-common.d.ts +0 -1
  85. package/lib/types/services/formula-ref-range.service.d.ts +0 -1
  86. package/lib/types/services/function-list/array.d.ts +0 -1
  87. package/lib/types/services/function-list/compatibility.d.ts +0 -1
  88. package/lib/types/services/function-list/cube.d.ts +0 -1
  89. package/lib/types/services/function-list/database.d.ts +0 -1
  90. package/lib/types/services/function-list/date.d.ts +0 -1
  91. package/lib/types/services/function-list/engineering.d.ts +0 -1
  92. package/lib/types/services/function-list/financial.d.ts +0 -1
  93. package/lib/types/services/function-list/function-list.d.ts +0 -1
  94. package/lib/types/services/function-list/information.d.ts +0 -1
  95. package/lib/types/services/function-list/logical.d.ts +0 -1
  96. package/lib/types/services/function-list/lookup.d.ts +0 -1
  97. package/lib/types/services/function-list/math.d.ts +0 -1
  98. package/lib/types/services/function-list/statistical.d.ts +0 -1
  99. package/lib/types/services/function-list/text.d.ts +0 -1
  100. package/lib/types/services/function-list/univer.d.ts +0 -1
  101. package/lib/types/services/function-list/web.d.ts +0 -1
  102. package/lib/types/services/prompt.service.d.ts +5 -2
  103. package/lib/types/services/register-function.service.d.ts +0 -1
  104. package/lib/types/services/register-other-formula.service.d.ts +0 -1
  105. package/lib/types/services/remote/remote-register-function.service.d.ts +0 -1
  106. package/lib/types/services/render-services/ref-selections.render-service.d.ts +0 -1
  107. package/lib/types/services/utils.d.ts +0 -1
  108. package/lib/types/views/FormulaPromptContainer.d.ts +0 -1
  109. package/lib/types/views/more-functions/MoreFunctions.d.ts +0 -1
  110. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +0 -1
  111. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +0 -1
  112. package/lib/types/views/more-functions/input-params/InputParams.d.ts +0 -1
  113. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +0 -1
  114. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +0 -1
  115. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +0 -1
  116. package/lib/umd/index.js +4 -4
  117. package/package.json +24 -24
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -188,11 +187,23 @@ declare const _default: {
188
187
  url: string;
189
188
  }[];
190
189
  functionParameter: {
191
- number1: {
190
+ name1: {
192
191
  name: string;
193
192
  detail: string;
194
193
  };
195
- number2: {
194
+ nameValue1: {
195
+ name: string;
196
+ detail: string;
197
+ };
198
+ calculationOrName2: {
199
+ name: string;
200
+ detail: string;
201
+ };
202
+ nameValue2: {
203
+ name: string;
204
+ detail: string;
205
+ };
206
+ calculationOrName3: {
196
207
  name: string;
197
208
  detail: string;
198
209
  };
@@ -246,11 +257,7 @@ declare const _default: {
246
257
  url: string;
247
258
  }[];
248
259
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
260
+ logical: {
254
261
  name: string;
255
262
  detail: string;
256
263
  };
@@ -318,11 +325,23 @@ declare const _default: {
318
325
  url: string;
319
326
  }[];
320
327
  functionParameter: {
321
- number1: {
328
+ expression: {
322
329
  name: string;
323
330
  detail: string;
324
331
  };
325
- number2: {
332
+ value1: {
333
+ name: string;
334
+ detail: string;
335
+ };
336
+ result1: {
337
+ name: string;
338
+ detail: string;
339
+ };
340
+ defaultOrValue2: {
341
+ name: string;
342
+ detail: string;
343
+ };
344
+ result2: {
326
345
  name: string;
327
346
  detail: string;
328
347
  };
@@ -335,16 +354,7 @@ declare const _default: {
335
354
  title: string;
336
355
  url: string;
337
356
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
357
+ functionParameter: {};
348
358
  };
349
359
  XOR: {
350
360
  description: string;
@@ -354,11 +364,11 @@ declare const _default: {
354
364
  url: string;
355
365
  }[];
356
366
  functionParameter: {
357
- number1: {
367
+ logical1: {
358
368
  name: string;
359
369
  detail: string;
360
370
  };
361
- number2: {
371
+ logical2: {
362
372
  name: string;
363
373
  detail: string;
364
374
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -188,11 +187,23 @@ declare const _default: {
188
187
  url: string;
189
188
  }[];
190
189
  functionParameter: {
191
- number1: {
190
+ name1: {
192
191
  name: string;
193
192
  detail: string;
194
193
  };
195
- number2: {
194
+ nameValue1: {
195
+ name: string;
196
+ detail: string;
197
+ };
198
+ calculationOrName2: {
199
+ name: string;
200
+ detail: string;
201
+ };
202
+ nameValue2: {
203
+ name: string;
204
+ detail: string;
205
+ };
206
+ calculationOrName3: {
196
207
  name: string;
197
208
  detail: string;
198
209
  };
@@ -246,11 +257,7 @@ declare const _default: {
246
257
  url: string;
247
258
  }[];
248
259
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
260
+ logical: {
254
261
  name: string;
255
262
  detail: string;
256
263
  };
@@ -318,11 +325,23 @@ declare const _default: {
318
325
  url: string;
319
326
  }[];
320
327
  functionParameter: {
321
- number1: {
328
+ expression: {
322
329
  name: string;
323
330
  detail: string;
324
331
  };
325
- number2: {
332
+ value1: {
333
+ name: string;
334
+ detail: string;
335
+ };
336
+ result1: {
337
+ name: string;
338
+ detail: string;
339
+ };
340
+ defaultOrValue2: {
341
+ name: string;
342
+ detail: string;
343
+ };
344
+ result2: {
326
345
  name: string;
327
346
  detail: string;
328
347
  };
@@ -335,16 +354,7 @@ declare const _default: {
335
354
  title: string;
336
355
  url: string;
337
356
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
357
+ functionParameter: {};
348
358
  };
349
359
  XOR: {
350
360
  description: string;
@@ -354,11 +364,11 @@ declare const _default: {
354
364
  url: string;
355
365
  }[];
356
366
  functionParameter: {
357
- number1: {
367
+ logical1: {
358
368
  name: string;
359
369
  detail: string;
360
370
  };
361
- number2: {
371
+ logical2: {
362
372
  name: string;
363
373
  detail: string;
364
374
  };
@@ -75,16 +75,7 @@ declare const _default: {
75
75
  title: string;
76
76
  url: string;
77
77
  }[];
78
- functionParameter: {
79
- number1: {
80
- name: string;
81
- detail: string;
82
- };
83
- number2: {
84
- name: string;
85
- detail: string;
86
- };
87
- };
78
+ functionParameter: {};
88
79
  };
89
80
  IF: {
90
81
  description: string;
@@ -134,11 +125,11 @@ declare const _default: {
134
125
  url: string;
135
126
  }[];
136
127
  functionParameter: {
137
- number1: {
128
+ value: {
138
129
  name: string;
139
130
  detail: string;
140
131
  };
141
- number2: {
132
+ valueIfNa: {
142
133
  name: string;
143
134
  detail: string;
144
135
  };
@@ -152,11 +143,19 @@ declare const _default: {
152
143
  url: string;
153
144
  }[];
154
145
  functionParameter: {
155
- number1: {
146
+ logicalTest1: {
156
147
  name: string;
157
148
  detail: string;
158
149
  };
159
- number2: {
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
160
159
  name: string;
161
160
  detail: string;
162
161
  };
@@ -188,11 +187,23 @@ declare const _default: {
188
187
  url: string;
189
188
  }[];
190
189
  functionParameter: {
191
- number1: {
190
+ name1: {
192
191
  name: string;
193
192
  detail: string;
194
193
  };
195
- number2: {
194
+ nameValue1: {
195
+ name: string;
196
+ detail: string;
197
+ };
198
+ calculationOrName2: {
199
+ name: string;
200
+ detail: string;
201
+ };
202
+ nameValue2: {
203
+ name: string;
204
+ detail: string;
205
+ };
206
+ calculationOrName3: {
196
207
  name: string;
197
208
  detail: string;
198
209
  };
@@ -246,11 +257,7 @@ declare const _default: {
246
257
  url: string;
247
258
  }[];
248
259
  functionParameter: {
249
- number1: {
250
- name: string;
251
- detail: string;
252
- };
253
- number2: {
260
+ logical: {
254
261
  name: string;
255
262
  detail: string;
256
263
  };
@@ -318,11 +325,23 @@ declare const _default: {
318
325
  url: string;
319
326
  }[];
320
327
  functionParameter: {
321
- number1: {
328
+ expression: {
322
329
  name: string;
323
330
  detail: string;
324
331
  };
325
- number2: {
332
+ value1: {
333
+ name: string;
334
+ detail: string;
335
+ };
336
+ result1: {
337
+ name: string;
338
+ detail: string;
339
+ };
340
+ defaultOrValue2: {
341
+ name: string;
342
+ detail: string;
343
+ };
344
+ result2: {
326
345
  name: string;
327
346
  detail: string;
328
347
  };
@@ -335,16 +354,7 @@ declare const _default: {
335
354
  title: string;
336
355
  url: string;
337
356
  }[];
338
- functionParameter: {
339
- number1: {
340
- name: string;
341
- detail: string;
342
- };
343
- number2: {
344
- name: string;
345
- detail: string;
346
- };
347
- };
357
+ functionParameter: {};
348
358
  };
349
359
  XOR: {
350
360
  description: string;
@@ -354,11 +364,11 @@ declare const _default: {
354
364
  url: string;
355
365
  }[];
356
366
  functionParameter: {
357
- number1: {
367
+ logical1: {
358
368
  name: string;
359
369
  detail: string;
360
370
  };
361
- number2: {
371
+ logical2: {
362
372
  name: string;
363
373
  detail: string;
364
374
  };
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -52,11 +52,7 @@ declare const _default: {
52
52
  url: string;
53
53
  }[];
54
54
  functionParameter: {
55
- number1: {
56
- name: string;
57
- detail: string;
58
- };
59
- number2: {
55
+ reference: {
60
56
  name: string;
61
57
  detail: string;
62
58
  };
@@ -1,3 +1,2 @@
1
1
  import { default as enUS } from './en-US';
2
-
3
2
  export default enUS;