@univerjs/sheets-formula-ui 0.5.0 → 0.5.1

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 (27) hide show
  1. package/lib/cjs/index.js +27 -9
  2. package/lib/cjs/locale/fr-FR.js +43 -0
  3. package/lib/es/index.js +1318 -1277
  4. package/lib/es/locale/fr-FR.js +7889 -0
  5. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +1 -0
  6. package/lib/types/controllers/formula-alert-render.controller.d.ts +1 -0
  7. package/lib/types/index.d.ts +1 -1
  8. package/lib/types/locale/fr-FR.d.ts +10504 -0
  9. package/lib/types/locale/function-list/array/fr-FR.d.ts +17 -0
  10. package/lib/types/locale/function-list/compatibility/fr-FR.d.ts +706 -0
  11. package/lib/types/locale/function-list/cube/fr-FR.d.ts +144 -0
  12. package/lib/types/locale/function-list/database/fr-FR.d.ts +234 -0
  13. package/lib/types/locale/function-list/date/fr-FR.d.ts +458 -0
  14. package/lib/types/locale/function-list/engineering/fr-FR.d.ts +894 -0
  15. package/lib/types/locale/function-list/financial/fr-FR.d.ts +1608 -0
  16. package/lib/types/locale/function-list/information/fr-FR.d.ts +327 -0
  17. package/lib/types/locale/function-list/logical/fr-FR.d.ts +390 -0
  18. package/lib/types/locale/function-list/lookup/fr-FR.d.ts +812 -0
  19. package/lib/types/locale/function-list/math/fr-FR.d.ts +1388 -0
  20. package/lib/types/locale/function-list/statistical/fr-FR.d.ts +2068 -0
  21. package/lib/types/locale/function-list/text/fr-FR.d.ts +904 -0
  22. package/lib/types/locale/function-list/univer/fr-FR.d.ts +17 -0
  23. package/lib/types/locale/function-list/web/fr-FR.d.ts +72 -0
  24. package/lib/umd/index.js +27 -9
  25. package/lib/umd/locale/fr-FR.js +43 -0
  26. package/package.json +19 -17
  27. package/lib/types/services/formula-common.d.ts +0 -18
@@ -0,0 +1,327 @@
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
+ CELL: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ infoType: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ reference: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ ERROR_TYPE: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ errorVal: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ };
48
+ };
49
+ INFO: {
50
+ description: string;
51
+ abstract: string;
52
+ links: {
53
+ title: string;
54
+ url: string;
55
+ }[];
56
+ functionParameter: {
57
+ number1: {
58
+ name: string;
59
+ detail: string;
60
+ };
61
+ number2: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ };
66
+ };
67
+ ISBLANK: {
68
+ description: string;
69
+ abstract: string;
70
+ links: {
71
+ title: string;
72
+ url: string;
73
+ }[];
74
+ functionParameter: {
75
+ value: {
76
+ name: string;
77
+ detail: string;
78
+ };
79
+ };
80
+ };
81
+ ISERR: {
82
+ description: string;
83
+ abstract: string;
84
+ links: {
85
+ title: string;
86
+ url: string;
87
+ }[];
88
+ functionParameter: {
89
+ value: {
90
+ name: string;
91
+ detail: string;
92
+ };
93
+ };
94
+ };
95
+ ISERROR: {
96
+ description: string;
97
+ abstract: string;
98
+ links: {
99
+ title: string;
100
+ url: string;
101
+ }[];
102
+ functionParameter: {
103
+ value: {
104
+ name: string;
105
+ detail: string;
106
+ };
107
+ };
108
+ };
109
+ ISEVEN: {
110
+ description: string;
111
+ abstract: string;
112
+ links: {
113
+ title: string;
114
+ url: string;
115
+ }[];
116
+ functionParameter: {
117
+ value: {
118
+ name: string;
119
+ detail: string;
120
+ };
121
+ };
122
+ };
123
+ ISFORMULA: {
124
+ description: string;
125
+ abstract: string;
126
+ links: {
127
+ title: string;
128
+ url: string;
129
+ }[];
130
+ functionParameter: {
131
+ reference: {
132
+ name: string;
133
+ detail: string;
134
+ };
135
+ };
136
+ };
137
+ ISLOGICAL: {
138
+ description: string;
139
+ abstract: string;
140
+ links: {
141
+ title: string;
142
+ url: string;
143
+ }[];
144
+ functionParameter: {
145
+ value: {
146
+ name: string;
147
+ detail: string;
148
+ };
149
+ };
150
+ };
151
+ ISNA: {
152
+ description: string;
153
+ abstract: string;
154
+ links: {
155
+ title: string;
156
+ url: string;
157
+ }[];
158
+ functionParameter: {
159
+ value: {
160
+ name: string;
161
+ detail: string;
162
+ };
163
+ };
164
+ };
165
+ ISNONTEXT: {
166
+ description: string;
167
+ abstract: string;
168
+ links: {
169
+ title: string;
170
+ url: string;
171
+ }[];
172
+ functionParameter: {
173
+ value: {
174
+ name: string;
175
+ detail: string;
176
+ };
177
+ };
178
+ };
179
+ ISNUMBER: {
180
+ description: string;
181
+ abstract: string;
182
+ links: {
183
+ title: string;
184
+ url: string;
185
+ }[];
186
+ functionParameter: {
187
+ value: {
188
+ name: string;
189
+ detail: string;
190
+ };
191
+ };
192
+ };
193
+ ISODD: {
194
+ description: string;
195
+ abstract: string;
196
+ links: {
197
+ title: string;
198
+ url: string;
199
+ }[];
200
+ functionParameter: {
201
+ value: {
202
+ name: string;
203
+ detail: string;
204
+ };
205
+ };
206
+ };
207
+ ISOMITTED: {
208
+ description: string;
209
+ abstract: string;
210
+ links: {
211
+ title: string;
212
+ url: string;
213
+ }[];
214
+ functionParameter: {
215
+ number1: {
216
+ name: string;
217
+ detail: string;
218
+ };
219
+ number2: {
220
+ name: string;
221
+ detail: string;
222
+ };
223
+ };
224
+ };
225
+ ISREF: {
226
+ description: string;
227
+ abstract: string;
228
+ links: {
229
+ title: string;
230
+ url: string;
231
+ }[];
232
+ functionParameter: {
233
+ value: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ };
238
+ };
239
+ ISTEXT: {
240
+ description: string;
241
+ abstract: string;
242
+ links: {
243
+ title: string;
244
+ url: string;
245
+ }[];
246
+ functionParameter: {
247
+ value: {
248
+ name: string;
249
+ detail: string;
250
+ };
251
+ };
252
+ };
253
+ N: {
254
+ description: string;
255
+ abstract: string;
256
+ links: {
257
+ title: string;
258
+ url: string;
259
+ }[];
260
+ functionParameter: {
261
+ value: {
262
+ name: string;
263
+ detail: string;
264
+ };
265
+ };
266
+ };
267
+ NA: {
268
+ description: string;
269
+ abstract: string;
270
+ links: {
271
+ title: string;
272
+ url: string;
273
+ }[];
274
+ functionParameter: {};
275
+ };
276
+ SHEET: {
277
+ description: string;
278
+ abstract: string;
279
+ links: {
280
+ title: string;
281
+ url: string;
282
+ }[];
283
+ functionParameter: {
284
+ number1: {
285
+ name: string;
286
+ detail: string;
287
+ };
288
+ number2: {
289
+ name: string;
290
+ detail: string;
291
+ };
292
+ };
293
+ };
294
+ SHEETS: {
295
+ description: string;
296
+ abstract: string;
297
+ links: {
298
+ title: string;
299
+ url: string;
300
+ }[];
301
+ functionParameter: {
302
+ number1: {
303
+ name: string;
304
+ detail: string;
305
+ };
306
+ number2: {
307
+ name: string;
308
+ detail: string;
309
+ };
310
+ };
311
+ };
312
+ TYPE: {
313
+ description: string;
314
+ abstract: string;
315
+ links: {
316
+ title: string;
317
+ url: string;
318
+ }[];
319
+ functionParameter: {
320
+ value: {
321
+ name: string;
322
+ detail: string;
323
+ };
324
+ };
325
+ };
326
+ };
327
+ export default _default;
@@ -0,0 +1,390 @@
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
+ AND: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ logical1: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ logical2: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ };
34
+ };
35
+ BYCOL: {
36
+ description: string;
37
+ abstract: string;
38
+ links: {
39
+ title: string;
40
+ url: string;
41
+ }[];
42
+ functionParameter: {
43
+ array: {
44
+ name: string;
45
+ detail: string;
46
+ };
47
+ lambda: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ };
52
+ };
53
+ BYROW: {
54
+ description: string;
55
+ abstract: string;
56
+ links: {
57
+ title: string;
58
+ url: string;
59
+ }[];
60
+ functionParameter: {
61
+ array: {
62
+ name: string;
63
+ detail: string;
64
+ };
65
+ lambda: {
66
+ name: string;
67
+ detail: string;
68
+ };
69
+ };
70
+ };
71
+ FALSE: {
72
+ description: string;
73
+ abstract: string;
74
+ links: {
75
+ title: string;
76
+ url: string;
77
+ }[];
78
+ functionParameter: {};
79
+ };
80
+ IF: {
81
+ description: string;
82
+ abstract: string;
83
+ links: {
84
+ title: string;
85
+ url: string;
86
+ }[];
87
+ functionParameter: {
88
+ logicalTest: {
89
+ name: string;
90
+ detail: string;
91
+ };
92
+ valueIfTrue: {
93
+ name: string;
94
+ detail: string;
95
+ };
96
+ valueIfFalse: {
97
+ name: string;
98
+ detail: string;
99
+ };
100
+ };
101
+ };
102
+ IFERROR: {
103
+ description: string;
104
+ abstract: string;
105
+ links: {
106
+ title: string;
107
+ url: string;
108
+ }[];
109
+ functionParameter: {
110
+ value: {
111
+ name: string;
112
+ detail: string;
113
+ };
114
+ valueIfError: {
115
+ name: string;
116
+ detail: string;
117
+ };
118
+ };
119
+ };
120
+ IFNA: {
121
+ description: string;
122
+ abstract: string;
123
+ links: {
124
+ title: string;
125
+ url: string;
126
+ }[];
127
+ functionParameter: {
128
+ value: {
129
+ name: string;
130
+ detail: string;
131
+ };
132
+ valueIfNa: {
133
+ name: string;
134
+ detail: string;
135
+ };
136
+ };
137
+ };
138
+ IFS: {
139
+ description: string;
140
+ abstract: string;
141
+ links: {
142
+ title: string;
143
+ url: string;
144
+ }[];
145
+ functionParameter: {
146
+ logicalTest1: {
147
+ name: string;
148
+ detail: string;
149
+ };
150
+ valueIfTrue1: {
151
+ name: string;
152
+ detail: string;
153
+ };
154
+ logicalTest2: {
155
+ name: string;
156
+ detail: string;
157
+ };
158
+ valueIfTrue2: {
159
+ name: string;
160
+ detail: string;
161
+ };
162
+ };
163
+ };
164
+ LAMBDA: {
165
+ description: string;
166
+ abstract: string;
167
+ links: {
168
+ title: string;
169
+ url: string;
170
+ }[];
171
+ functionParameter: {
172
+ parameter: {
173
+ name: string;
174
+ detail: string;
175
+ };
176
+ calculation: {
177
+ name: string;
178
+ detail: string;
179
+ };
180
+ };
181
+ };
182
+ LET: {
183
+ description: string;
184
+ abstract: string;
185
+ links: {
186
+ title: string;
187
+ url: string;
188
+ }[];
189
+ functionParameter: {
190
+ name1: {
191
+ name: string;
192
+ detail: string;
193
+ };
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: {
207
+ name: string;
208
+ detail: string;
209
+ };
210
+ };
211
+ };
212
+ MAKEARRAY: {
213
+ description: string;
214
+ abstract: string;
215
+ links: {
216
+ title: string;
217
+ url: string;
218
+ }[];
219
+ functionParameter: {
220
+ number1: {
221
+ name: string;
222
+ detail: string;
223
+ };
224
+ number2: {
225
+ name: string;
226
+ detail: string;
227
+ };
228
+ value3: {
229
+ name: string;
230
+ detail: string;
231
+ };
232
+ };
233
+ };
234
+ MAP: {
235
+ description: string;
236
+ abstract: string;
237
+ links: {
238
+ title: string;
239
+ url: string;
240
+ }[];
241
+ functionParameter: {
242
+ array1: {
243
+ name: string;
244
+ detail: string;
245
+ };
246
+ array2: {
247
+ name: string;
248
+ detail: string;
249
+ };
250
+ lambda: {
251
+ name: string;
252
+ detail: string;
253
+ };
254
+ };
255
+ };
256
+ NOT: {
257
+ description: string;
258
+ abstract: string;
259
+ links: {
260
+ title: string;
261
+ url: string;
262
+ }[];
263
+ functionParameter: {
264
+ logical: {
265
+ name: string;
266
+ detail: string;
267
+ };
268
+ };
269
+ };
270
+ OR: {
271
+ description: string;
272
+ abstract: string;
273
+ links: {
274
+ title: string;
275
+ url: string;
276
+ }[];
277
+ functionParameter: {
278
+ logical1: {
279
+ name: string;
280
+ detail: string;
281
+ };
282
+ logical2: {
283
+ name: string;
284
+ detail: string;
285
+ };
286
+ };
287
+ };
288
+ REDUCE: {
289
+ description: string;
290
+ abstract: string;
291
+ links: {
292
+ title: string;
293
+ url: string;
294
+ }[];
295
+ functionParameter: {
296
+ initialValue: {
297
+ name: string;
298
+ detail: string;
299
+ };
300
+ array: {
301
+ name: string;
302
+ detail: string;
303
+ };
304
+ lambda: {
305
+ name: string;
306
+ detail: string;
307
+ };
308
+ };
309
+ };
310
+ SCAN: {
311
+ description: string;
312
+ abstract: string;
313
+ links: {
314
+ title: string;
315
+ url: string;
316
+ }[];
317
+ functionParameter: {
318
+ initialValue: {
319
+ name: string;
320
+ detail: string;
321
+ };
322
+ array: {
323
+ name: string;
324
+ detail: string;
325
+ };
326
+ lambda: {
327
+ name: string;
328
+ detail: string;
329
+ };
330
+ };
331
+ };
332
+ SWITCH: {
333
+ description: string;
334
+ abstract: string;
335
+ links: {
336
+ title: string;
337
+ url: string;
338
+ }[];
339
+ functionParameter: {
340
+ expression: {
341
+ name: string;
342
+ detail: string;
343
+ };
344
+ value1: {
345
+ name: string;
346
+ detail: string;
347
+ };
348
+ result1: {
349
+ name: string;
350
+ detail: string;
351
+ };
352
+ defaultOrValue2: {
353
+ name: string;
354
+ detail: string;
355
+ };
356
+ result2: {
357
+ name: string;
358
+ detail: string;
359
+ };
360
+ };
361
+ };
362
+ TRUE: {
363
+ description: string;
364
+ abstract: string;
365
+ links: {
366
+ title: string;
367
+ url: string;
368
+ }[];
369
+ functionParameter: {};
370
+ };
371
+ XOR: {
372
+ description: string;
373
+ abstract: string;
374
+ links: {
375
+ title: string;
376
+ url: string;
377
+ }[];
378
+ functionParameter: {
379
+ logical1: {
380
+ name: string;
381
+ detail: string;
382
+ };
383
+ logical2: {
384
+ name: string;
385
+ detail: string;
386
+ };
387
+ };
388
+ };
389
+ };
390
+ export default _default;