@univerjs/sheets-formula-ui 0.3.0-nightly.202410101606

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 (156) hide show
  1. package/README.md +39 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/es/index.js +1 -0
  4. package/lib/index.css +1 -0
  5. package/lib/locale/en-US.json +10987 -0
  6. package/lib/locale/ru-RU.json +10938 -0
  7. package/lib/locale/vi-VN.json +9511 -0
  8. package/lib/locale/zh-CN.json +10987 -0
  9. package/lib/locale/zh-TW.json +10987 -0
  10. package/lib/types/commands/commands/formula-clipboard.command.d.ts +2 -0
  11. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +13 -0
  12. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +16 -0
  13. package/lib/types/commands/operations/editor-formula.operation.d.ts +11 -0
  14. package/lib/types/commands/operations/help-function.operation.d.ts +2 -0
  15. package/lib/types/commands/operations/insert-function.operation.d.ts +19 -0
  16. package/lib/types/commands/operations/more-functions.operation.d.ts +2 -0
  17. package/lib/types/commands/operations/reference-absolute.operation.d.ts +2 -0
  18. package/lib/types/commands/operations/search-function.operation.d.ts +2 -0
  19. package/lib/types/common/plugin-name.d.ts +16 -0
  20. package/lib/types/common/prompt.d.ts +16 -0
  21. package/lib/types/common/selection.d.ts +4 -0
  22. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +7 -0
  23. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +16 -0
  24. package/lib/types/controllers/__tests__/formula-clipboard.controller.spec.d.ts +16 -0
  25. package/lib/types/controllers/__tests__/update-formula.controller.spec.d.ts +16 -0
  26. package/lib/types/controllers/config.schema.d.ts +15 -0
  27. package/lib/types/controllers/formula-alert-render.controller.d.ts +15 -0
  28. package/lib/types/controllers/formula-auto-fill.controller.d.ts +10 -0
  29. package/lib/types/controllers/formula-clipboard.controller.d.ts +25 -0
  30. package/lib/types/controllers/formula-editor-show.controller.d.ts +28 -0
  31. package/lib/types/controllers/formula-process.controller.d.ts +15 -0
  32. package/lib/types/controllers/formula-render.controller.d.ts +6 -0
  33. package/lib/types/controllers/formula-ui.controller.d.ts +19 -0
  34. package/lib/types/controllers/menu.d.ts +5 -0
  35. package/lib/types/controllers/menu.schema.d.ts +2 -0
  36. package/lib/types/controllers/prompt.controller.d.ts +170 -0
  37. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +9 -0
  38. package/lib/types/controllers/utils/__tests__/offset-formula-data.spec.d.ts +16 -0
  39. package/lib/types/controllers/utils/__tests__/ref-range-formula.spec.d.ts +16 -0
  40. package/lib/types/controllers/utils/__tests__/utils.spec.d.ts +16 -0
  41. package/lib/types/controllers/utils/offset-formula-data.d.ts +15 -0
  42. package/lib/types/controllers/utils/ref-range-formula.d.ts +71 -0
  43. package/lib/types/controllers/utils/utils.d.ts +15 -0
  44. package/lib/types/index.d.ts +25 -0
  45. package/lib/types/locale/en-US.d.ts +9983 -0
  46. package/lib/types/locale/function-list/array/en-US.d.ts +17 -0
  47. package/lib/types/locale/function-list/array/ja-JP.d.ts +17 -0
  48. package/lib/types/locale/function-list/array/ru-RU.d.ts +2 -0
  49. package/lib/types/locale/function-list/array/vi-VN.d.ts +17 -0
  50. package/lib/types/locale/function-list/array/zh-CN.d.ts +17 -0
  51. package/lib/types/locale/function-list/array/zh-TW.d.ts +17 -0
  52. package/lib/types/locale/function-list/compatibility/en-US.d.ts +762 -0
  53. package/lib/types/locale/function-list/compatibility/ja-JP.d.ts +762 -0
  54. package/lib/types/locale/function-list/compatibility/ru-RU.d.ts +2 -0
  55. package/lib/types/locale/function-list/compatibility/vi-VN.d.ts +762 -0
  56. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +762 -0
  57. package/lib/types/locale/function-list/compatibility/zh-TW.d.ts +762 -0
  58. package/lib/types/locale/function-list/cube/en-US.d.ts +144 -0
  59. package/lib/types/locale/function-list/cube/ja-JP.d.ts +144 -0
  60. package/lib/types/locale/function-list/cube/ru-RU.d.ts +144 -0
  61. package/lib/types/locale/function-list/cube/vi-VN.d.ts +144 -0
  62. package/lib/types/locale/function-list/cube/zh-CN.d.ts +144 -0
  63. package/lib/types/locale/function-list/cube/zh-TW.d.ts +144 -0
  64. package/lib/types/locale/function-list/database/en-US.d.ts +234 -0
  65. package/lib/types/locale/function-list/database/ja-JP.d.ts +234 -0
  66. package/lib/types/locale/function-list/database/ru-RU.d.ts +234 -0
  67. package/lib/types/locale/function-list/database/vi-VN.d.ts +234 -0
  68. package/lib/types/locale/function-list/database/zh-CN.d.ts +234 -0
  69. package/lib/types/locale/function-list/database/zh-TW.d.ts +234 -0
  70. package/lib/types/locale/function-list/date/en-US.d.ts +458 -0
  71. package/lib/types/locale/function-list/date/ja-JP.d.ts +458 -0
  72. package/lib/types/locale/function-list/date/ru-RU.d.ts +2 -0
  73. package/lib/types/locale/function-list/date/vi-VN.d.ts +458 -0
  74. package/lib/types/locale/function-list/date/zh-CN.d.ts +458 -0
  75. package/lib/types/locale/function-list/date/zh-TW.d.ts +458 -0
  76. package/lib/types/locale/function-list/engineering/en-US.d.ts +894 -0
  77. package/lib/types/locale/function-list/engineering/ja-JP.d.ts +894 -0
  78. package/lib/types/locale/function-list/engineering/ru-RU.d.ts +2 -0
  79. package/lib/types/locale/function-list/engineering/vi-VN.d.ts +894 -0
  80. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +894 -0
  81. package/lib/types/locale/function-list/engineering/zh-TW.d.ts +894 -0
  82. package/lib/types/locale/function-list/financial/en-US.d.ts +1608 -0
  83. package/lib/types/locale/function-list/financial/ja-JP.d.ts +1608 -0
  84. package/lib/types/locale/function-list/financial/ru-RU.d.ts +2 -0
  85. package/lib/types/locale/function-list/financial/vi-VN.d.ts +1608 -0
  86. package/lib/types/locale/function-list/financial/zh-CN.d.ts +1608 -0
  87. package/lib/types/locale/function-list/financial/zh-TW.d.ts +1608 -0
  88. package/lib/types/locale/function-list/information/en-US.d.ts +327 -0
  89. package/lib/types/locale/function-list/information/ja-JP.d.ts +327 -0
  90. package/lib/types/locale/function-list/information/ru-RU.d.ts +2 -0
  91. package/lib/types/locale/function-list/information/vi-VN.d.ts +255 -0
  92. package/lib/types/locale/function-list/information/zh-CN.d.ts +327 -0
  93. package/lib/types/locale/function-list/information/zh-TW.d.ts +327 -0
  94. package/lib/types/locale/function-list/logical/en-US.d.ts +390 -0
  95. package/lib/types/locale/function-list/logical/ja-JP.d.ts +390 -0
  96. package/lib/types/locale/function-list/logical/ru-RU.d.ts +2 -0
  97. package/lib/types/locale/function-list/logical/vi-VN.d.ts +390 -0
  98. package/lib/types/locale/function-list/logical/zh-CN.d.ts +390 -0
  99. package/lib/types/locale/function-list/logical/zh-TW.d.ts +390 -0
  100. package/lib/types/locale/function-list/lookup/en-US.d.ts +812 -0
  101. package/lib/types/locale/function-list/lookup/ja-JP.d.ts +812 -0
  102. package/lib/types/locale/function-list/lookup/ru-RU.d.ts +2 -0
  103. package/lib/types/locale/function-list/lookup/vi-VN.d.ts +722 -0
  104. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +812 -0
  105. package/lib/types/locale/function-list/lookup/zh-TW.d.ts +812 -0
  106. package/lib/types/locale/function-list/math/en-US.d.ts +1388 -0
  107. package/lib/types/locale/function-list/math/ja-JP.d.ts +1388 -0
  108. package/lib/types/locale/function-list/math/ru-RU.d.ts +2 -0
  109. package/lib/types/locale/function-list/math/vi-VN.d.ts +1298 -0
  110. package/lib/types/locale/function-list/math/zh-CN.d.ts +1388 -0
  111. package/lib/types/locale/function-list/math/zh-TW.d.ts +1388 -0
  112. package/lib/types/locale/function-list/statistical/en-US.d.ts +2160 -0
  113. package/lib/types/locale/function-list/statistical/ja-JP.d.ts +2160 -0
  114. package/lib/types/locale/function-list/statistical/ru-RU.d.ts +2 -0
  115. package/lib/types/locale/function-list/statistical/vi-VN.d.ts +1188 -0
  116. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +2160 -0
  117. package/lib/types/locale/function-list/statistical/zh-TW.d.ts +2160 -0
  118. package/lib/types/locale/function-list/text/en-US.d.ts +904 -0
  119. package/lib/types/locale/function-list/text/ja-JP.d.ts +905 -0
  120. package/lib/types/locale/function-list/text/ru-RU.d.ts +856 -0
  121. package/lib/types/locale/function-list/text/vi-VN.d.ts +784 -0
  122. package/lib/types/locale/function-list/text/zh-CN.d.ts +904 -0
  123. package/lib/types/locale/function-list/text/zh-TW.d.ts +904 -0
  124. package/lib/types/locale/function-list/univer/en-US.d.ts +17 -0
  125. package/lib/types/locale/function-list/univer/ja-JP.d.ts +17 -0
  126. package/lib/types/locale/function-list/univer/ru-RU.d.ts +17 -0
  127. package/lib/types/locale/function-list/univer/vi-VN.d.ts +17 -0
  128. package/lib/types/locale/function-list/univer/zh-CN.d.ts +17 -0
  129. package/lib/types/locale/function-list/univer/zh-TW.d.ts +17 -0
  130. package/lib/types/locale/function-list/web/en-US.d.ts +72 -0
  131. package/lib/types/locale/function-list/web/ja-JP.d.ts +72 -0
  132. package/lib/types/locale/function-list/web/ru-RU.d.ts +72 -0
  133. package/lib/types/locale/function-list/web/vi-VN.d.ts +2 -0
  134. package/lib/types/locale/function-list/web/zh-CN.d.ts +72 -0
  135. package/lib/types/locale/function-list/web/zh-TW.d.ts +72 -0
  136. package/lib/types/locale/ru-RU.d.ts +9934 -0
  137. package/lib/types/locale/vi-VN.d.ts +8657 -0
  138. package/lib/types/locale/zh-CN.d.ts +9983 -0
  139. package/lib/types/locale/zh-TW.d.ts +9983 -0
  140. package/lib/types/services/formula-common.d.ts +18 -0
  141. package/lib/types/services/prompt.service.d.ts +160 -0
  142. package/lib/types/services/render-services/ref-selections.render-service.d.ts +42 -0
  143. package/lib/types/services/utils.d.ts +8 -0
  144. package/lib/types/sheets-formula-ui.plugin.d.ts +19 -0
  145. package/lib/types/views/FormulaPromptContainer.d.ts +2 -0
  146. package/lib/types/views/more-functions/MoreFunctions.d.ts +2 -0
  147. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +22 -0
  148. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +8 -0
  149. package/lib/types/views/more-functions/input-params/InputParams.d.ts +7 -0
  150. package/lib/types/views/more-functions/interface.d.ts +16 -0
  151. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +6 -0
  152. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +2 -0
  153. package/lib/types/views/prompt/resize-scroll-observer.d.ts +18 -0
  154. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +2 -0
  155. package/lib/umd/index.js +1 -0
  156. package/package.json +113 -0
@@ -0,0 +1,458 @@
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
+ DATE: {
18
+ description: string;
19
+ abstract: string;
20
+ links: {
21
+ title: string;
22
+ url: string;
23
+ }[];
24
+ functionParameter: {
25
+ year: {
26
+ name: string;
27
+ detail: string;
28
+ };
29
+ month: {
30
+ name: string;
31
+ detail: string;
32
+ };
33
+ day: {
34
+ name: string;
35
+ detail: string;
36
+ };
37
+ };
38
+ };
39
+ DATEDIF: {
40
+ description: string;
41
+ abstract: string;
42
+ links: {
43
+ title: string;
44
+ url: string;
45
+ }[];
46
+ functionParameter: {
47
+ startDate: {
48
+ name: string;
49
+ detail: string;
50
+ };
51
+ endDate: {
52
+ name: string;
53
+ detail: string;
54
+ };
55
+ method: {
56
+ name: string;
57
+ detail: string;
58
+ };
59
+ };
60
+ };
61
+ DATEVALUE: {
62
+ description: string;
63
+ abstract: string;
64
+ links: {
65
+ title: string;
66
+ url: string;
67
+ }[];
68
+ functionParameter: {
69
+ dateText: {
70
+ name: string;
71
+ detail: string;
72
+ };
73
+ };
74
+ };
75
+ DAY: {
76
+ description: string;
77
+ abstract: string;
78
+ links: {
79
+ title: string;
80
+ url: string;
81
+ }[];
82
+ functionParameter: {
83
+ serialNumber: {
84
+ name: string;
85
+ detail: string;
86
+ };
87
+ };
88
+ };
89
+ DAYS: {
90
+ description: string;
91
+ abstract: string;
92
+ links: {
93
+ title: string;
94
+ url: string;
95
+ }[];
96
+ functionParameter: {
97
+ endDate: {
98
+ name: string;
99
+ detail: string;
100
+ };
101
+ startDate: {
102
+ name: string;
103
+ detail: string;
104
+ };
105
+ };
106
+ };
107
+ DAYS360: {
108
+ description: string;
109
+ abstract: string;
110
+ links: {
111
+ title: string;
112
+ url: string;
113
+ }[];
114
+ functionParameter: {
115
+ startDate: {
116
+ name: string;
117
+ detail: string;
118
+ };
119
+ endDate: {
120
+ name: string;
121
+ detail: string;
122
+ };
123
+ method: {
124
+ name: string;
125
+ detail: string;
126
+ };
127
+ };
128
+ };
129
+ EDATE: {
130
+ description: string;
131
+ abstract: string;
132
+ links: {
133
+ title: string;
134
+ url: string;
135
+ }[];
136
+ functionParameter: {
137
+ startDate: {
138
+ name: string;
139
+ detail: string;
140
+ };
141
+ months: {
142
+ name: string;
143
+ detail: string;
144
+ };
145
+ };
146
+ };
147
+ EOMONTH: {
148
+ description: string;
149
+ abstract: string;
150
+ links: {
151
+ title: string;
152
+ url: string;
153
+ }[];
154
+ functionParameter: {
155
+ startDate: {
156
+ name: string;
157
+ detail: string;
158
+ };
159
+ months: {
160
+ name: string;
161
+ detail: string;
162
+ };
163
+ };
164
+ };
165
+ HOUR: {
166
+ description: string;
167
+ abstract: string;
168
+ links: {
169
+ title: string;
170
+ url: string;
171
+ }[];
172
+ functionParameter: {
173
+ serialNumber: {
174
+ name: string;
175
+ detail: string;
176
+ };
177
+ };
178
+ };
179
+ ISOWEEKNUM: {
180
+ description: string;
181
+ abstract: string;
182
+ links: {
183
+ title: string;
184
+ url: string;
185
+ }[];
186
+ functionParameter: {
187
+ date: {
188
+ name: string;
189
+ detail: string;
190
+ };
191
+ };
192
+ };
193
+ MINUTE: {
194
+ description: string;
195
+ abstract: string;
196
+ links: {
197
+ title: string;
198
+ url: string;
199
+ }[];
200
+ functionParameter: {
201
+ serialNumber: {
202
+ name: string;
203
+ detail: string;
204
+ };
205
+ };
206
+ };
207
+ MONTH: {
208
+ description: string;
209
+ abstract: string;
210
+ links: {
211
+ title: string;
212
+ url: string;
213
+ }[];
214
+ functionParameter: {
215
+ serialNumber: {
216
+ name: string;
217
+ detail: string;
218
+ };
219
+ };
220
+ };
221
+ NETWORKDAYS: {
222
+ description: string;
223
+ abstract: string;
224
+ links: {
225
+ title: string;
226
+ url: string;
227
+ }[];
228
+ functionParameter: {
229
+ startDate: {
230
+ name: string;
231
+ detail: string;
232
+ };
233
+ endDate: {
234
+ name: string;
235
+ detail: string;
236
+ };
237
+ holidays: {
238
+ name: string;
239
+ detail: string;
240
+ };
241
+ };
242
+ };
243
+ NETWORKDAYS_INTL: {
244
+ description: string;
245
+ abstract: string;
246
+ links: {
247
+ title: string;
248
+ url: string;
249
+ }[];
250
+ functionParameter: {
251
+ startDate: {
252
+ name: string;
253
+ detail: string;
254
+ };
255
+ endDate: {
256
+ name: string;
257
+ detail: string;
258
+ };
259
+ weekend: {
260
+ name: string;
261
+ detail: string;
262
+ };
263
+ holidays: {
264
+ name: string;
265
+ detail: string;
266
+ };
267
+ };
268
+ };
269
+ NOW: {
270
+ description: string;
271
+ abstract: string;
272
+ links: {
273
+ title: string;
274
+ url: string;
275
+ }[];
276
+ functionParameter: {};
277
+ };
278
+ SECOND: {
279
+ description: string;
280
+ abstract: string;
281
+ links: {
282
+ title: string;
283
+ url: string;
284
+ }[];
285
+ functionParameter: {
286
+ serialNumber: {
287
+ name: string;
288
+ detail: string;
289
+ };
290
+ };
291
+ };
292
+ TIME: {
293
+ description: string;
294
+ abstract: string;
295
+ links: {
296
+ title: string;
297
+ url: string;
298
+ }[];
299
+ functionParameter: {
300
+ hour: {
301
+ name: string;
302
+ detail: string;
303
+ };
304
+ minute: {
305
+ name: string;
306
+ detail: string;
307
+ };
308
+ second: {
309
+ name: string;
310
+ detail: string;
311
+ };
312
+ };
313
+ };
314
+ TIMEVALUE: {
315
+ description: string;
316
+ abstract: string;
317
+ links: {
318
+ title: string;
319
+ url: string;
320
+ }[];
321
+ functionParameter: {
322
+ timeText: {
323
+ name: string;
324
+ detail: string;
325
+ };
326
+ };
327
+ };
328
+ TODAY: {
329
+ description: string;
330
+ abstract: string;
331
+ links: {
332
+ title: string;
333
+ url: string;
334
+ }[];
335
+ functionParameter: {};
336
+ };
337
+ WEEKDAY: {
338
+ description: string;
339
+ abstract: string;
340
+ links: {
341
+ title: string;
342
+ url: string;
343
+ }[];
344
+ functionParameter: {
345
+ serialNumber: {
346
+ name: string;
347
+ detail: string;
348
+ };
349
+ returnType: {
350
+ name: string;
351
+ detail: string;
352
+ };
353
+ };
354
+ };
355
+ WEEKNUM: {
356
+ description: string;
357
+ abstract: string;
358
+ links: {
359
+ title: string;
360
+ url: string;
361
+ }[];
362
+ functionParameter: {
363
+ serialNumber: {
364
+ name: string;
365
+ detail: string;
366
+ };
367
+ returnType: {
368
+ name: string;
369
+ detail: string;
370
+ };
371
+ };
372
+ };
373
+ WORKDAY: {
374
+ description: string;
375
+ abstract: string;
376
+ links: {
377
+ title: string;
378
+ url: string;
379
+ }[];
380
+ functionParameter: {
381
+ startDate: {
382
+ name: string;
383
+ detail: string;
384
+ };
385
+ days: {
386
+ name: string;
387
+ detail: string;
388
+ };
389
+ holidays: {
390
+ name: string;
391
+ detail: string;
392
+ };
393
+ };
394
+ };
395
+ WORKDAY_INTL: {
396
+ description: string;
397
+ abstract: string;
398
+ links: {
399
+ title: string;
400
+ url: string;
401
+ }[];
402
+ functionParameter: {
403
+ startDate: {
404
+ name: string;
405
+ detail: string;
406
+ };
407
+ days: {
408
+ name: string;
409
+ detail: string;
410
+ };
411
+ weekend: {
412
+ name: string;
413
+ detail: string;
414
+ };
415
+ holidays: {
416
+ name: string;
417
+ detail: string;
418
+ };
419
+ };
420
+ };
421
+ YEAR: {
422
+ description: string;
423
+ abstract: string;
424
+ links: {
425
+ title: string;
426
+ url: string;
427
+ }[];
428
+ functionParameter: {
429
+ serialNumber: {
430
+ name: string;
431
+ detail: string;
432
+ };
433
+ };
434
+ };
435
+ YEARFRAC: {
436
+ description: string;
437
+ abstract: string;
438
+ links: {
439
+ title: string;
440
+ url: string;
441
+ }[];
442
+ functionParameter: {
443
+ startDate: {
444
+ name: string;
445
+ detail: string;
446
+ };
447
+ endDate: {
448
+ name: string;
449
+ detail: string;
450
+ };
451
+ basis: {
452
+ name: string;
453
+ detail: string;
454
+ };
455
+ };
456
+ };
457
+ };
458
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { default as enUS } from './en-US';
2
+ export default enUS;