@univerjs/sheets-formula 0.1.0-alpha.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 (180) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -0
  3. package/lib/cjs/index.js +4215 -0
  4. package/lib/cjs/locale/en-US.js +223 -0
  5. package/lib/cjs/locale/zh-CN.js +223 -0
  6. package/lib/esm/index.js +4205 -0
  7. package/lib/esm/locale/en-US.js +200 -0
  8. package/lib/esm/locale/zh-CN.js +200 -0
  9. package/lib/index.css +214 -0
  10. package/lib/types/commands/commands/insert-function.command.d.ts +23 -0
  11. package/lib/types/commands/commands/insert-function.command.d.ts.map +1 -0
  12. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +16 -0
  13. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts.map +1 -0
  14. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +2 -0
  15. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts.map +1 -0
  16. package/lib/types/commands/operations/editor-formula.operation.d.ts +11 -0
  17. package/lib/types/commands/operations/editor-formula.operation.d.ts.map +1 -0
  18. package/lib/types/commands/operations/help-function.operation.d.ts +3 -0
  19. package/lib/types/commands/operations/help-function.operation.d.ts.map +1 -0
  20. package/lib/types/commands/operations/insert-function.operation.d.ts +9 -0
  21. package/lib/types/commands/operations/insert-function.operation.d.ts.map +1 -0
  22. package/lib/types/commands/operations/more-functions.operation.d.ts +3 -0
  23. package/lib/types/commands/operations/more-functions.operation.d.ts.map +1 -0
  24. package/lib/types/commands/operations/reference-absolute.operation.d.ts +3 -0
  25. package/lib/types/commands/operations/reference-absolute.operation.d.ts.map +1 -0
  26. package/lib/types/commands/operations/search-function.operation.d.ts +3 -0
  27. package/lib/types/commands/operations/search-function.operation.d.ts.map +1 -0
  28. package/lib/types/common/plugin-name.d.ts +2 -0
  29. package/lib/types/common/plugin-name.d.ts.map +1 -0
  30. package/lib/types/common/prompt.d.ts +2 -0
  31. package/lib/types/common/prompt.d.ts.map +1 -0
  32. package/lib/types/common/selection.d.ts +5 -0
  33. package/lib/types/common/selection.d.ts.map +1 -0
  34. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +11 -0
  35. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts.map +1 -0
  36. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +2 -0
  37. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts.map +1 -0
  38. package/lib/types/controllers/formula-auto-fill.controller.d.ts +12 -0
  39. package/lib/types/controllers/formula-auto-fill.controller.d.ts.map +1 -0
  40. package/lib/types/controllers/formula-input.controller.d.ts +25 -0
  41. package/lib/types/controllers/formula-input.controller.d.ts.map +1 -0
  42. package/lib/types/controllers/formula-ui.controller.d.ts +19 -0
  43. package/lib/types/controllers/formula-ui.controller.d.ts.map +1 -0
  44. package/lib/types/controllers/menu.d.ts +5 -0
  45. package/lib/types/controllers/menu.d.ts.map +1 -0
  46. package/lib/types/controllers/prompt.controller.d.ts +146 -0
  47. package/lib/types/controllers/prompt.controller.d.ts.map +1 -0
  48. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +10 -0
  49. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts.map +1 -0
  50. package/lib/types/formula-ui-plugin.d.ts +18 -0
  51. package/lib/types/formula-ui-plugin.d.ts.map +1 -0
  52. package/lib/types/index.d.ts +2 -0
  53. package/lib/types/index.d.ts.map +1 -0
  54. package/lib/types/locale/en-US.d.ts +136 -0
  55. package/lib/types/locale/en-US.d.ts.map +1 -0
  56. package/lib/types/locale/function-list/array/en-US.d.ts +3 -0
  57. package/lib/types/locale/function-list/array/en-US.d.ts.map +1 -0
  58. package/lib/types/locale/function-list/array/zh-CN.d.ts +3 -0
  59. package/lib/types/locale/function-list/array/zh-CN.d.ts.map +1 -0
  60. package/lib/types/locale/function-list/compatibility/en-US.d.ts +3 -0
  61. package/lib/types/locale/function-list/compatibility/en-US.d.ts.map +1 -0
  62. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +3 -0
  63. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts.map +1 -0
  64. package/lib/types/locale/function-list/cube/en-US.d.ts +3 -0
  65. package/lib/types/locale/function-list/cube/en-US.d.ts.map +1 -0
  66. package/lib/types/locale/function-list/cube/zh-CN.d.ts +3 -0
  67. package/lib/types/locale/function-list/cube/zh-CN.d.ts.map +1 -0
  68. package/lib/types/locale/function-list/database/en-US.d.ts +3 -0
  69. package/lib/types/locale/function-list/database/en-US.d.ts.map +1 -0
  70. package/lib/types/locale/function-list/database/zh-CN.d.ts +3 -0
  71. package/lib/types/locale/function-list/database/zh-CN.d.ts.map +1 -0
  72. package/lib/types/locale/function-list/date/en-US.d.ts +3 -0
  73. package/lib/types/locale/function-list/date/en-US.d.ts.map +1 -0
  74. package/lib/types/locale/function-list/date/zh-CN.d.ts +3 -0
  75. package/lib/types/locale/function-list/date/zh-CN.d.ts.map +1 -0
  76. package/lib/types/locale/function-list/engineering/en-US.d.ts +3 -0
  77. package/lib/types/locale/function-list/engineering/en-US.d.ts.map +1 -0
  78. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +3 -0
  79. package/lib/types/locale/function-list/engineering/zh-CN.d.ts.map +1 -0
  80. package/lib/types/locale/function-list/financial/en-US.d.ts +3 -0
  81. package/lib/types/locale/function-list/financial/en-US.d.ts.map +1 -0
  82. package/lib/types/locale/function-list/financial/zh-CN.d.ts +3 -0
  83. package/lib/types/locale/function-list/financial/zh-CN.d.ts.map +1 -0
  84. package/lib/types/locale/function-list/information/en-US.d.ts +3 -0
  85. package/lib/types/locale/function-list/information/en-US.d.ts.map +1 -0
  86. package/lib/types/locale/function-list/information/zh-CN.d.ts +3 -0
  87. package/lib/types/locale/function-list/information/zh-CN.d.ts.map +1 -0
  88. package/lib/types/locale/function-list/logical/en-US.d.ts +3 -0
  89. package/lib/types/locale/function-list/logical/en-US.d.ts.map +1 -0
  90. package/lib/types/locale/function-list/logical/zh-CN.d.ts +3 -0
  91. package/lib/types/locale/function-list/logical/zh-CN.d.ts.map +1 -0
  92. package/lib/types/locale/function-list/lookup/en-US.d.ts +3 -0
  93. package/lib/types/locale/function-list/lookup/en-US.d.ts.map +1 -0
  94. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +3 -0
  95. package/lib/types/locale/function-list/lookup/zh-CN.d.ts.map +1 -0
  96. package/lib/types/locale/function-list/math/en-US.d.ts +36 -0
  97. package/lib/types/locale/function-list/math/en-US.d.ts.map +1 -0
  98. package/lib/types/locale/function-list/math/zh-CN.d.ts +36 -0
  99. package/lib/types/locale/function-list/math/zh-CN.d.ts.map +1 -0
  100. package/lib/types/locale/function-list/statistical/en-US.d.ts +60 -0
  101. package/lib/types/locale/function-list/statistical/en-US.d.ts.map +1 -0
  102. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +60 -0
  103. package/lib/types/locale/function-list/statistical/zh-CN.d.ts.map +1 -0
  104. package/lib/types/locale/function-list/text/en-US.d.ts +3 -0
  105. package/lib/types/locale/function-list/text/en-US.d.ts.map +1 -0
  106. package/lib/types/locale/function-list/text/zh-CN.d.ts +3 -0
  107. package/lib/types/locale/function-list/text/zh-CN.d.ts.map +1 -0
  108. package/lib/types/locale/function-list/univer/en-US.d.ts +3 -0
  109. package/lib/types/locale/function-list/univer/en-US.d.ts.map +1 -0
  110. package/lib/types/locale/function-list/univer/zh-CN.d.ts +3 -0
  111. package/lib/types/locale/function-list/univer/zh-CN.d.ts.map +1 -0
  112. package/lib/types/locale/function-list/web/en-US.d.ts +3 -0
  113. package/lib/types/locale/function-list/web/en-US.d.ts.map +1 -0
  114. package/lib/types/locale/function-list/web/zh-CN.d.ts +3 -0
  115. package/lib/types/locale/function-list/web/zh-CN.d.ts.map +1 -0
  116. package/lib/types/locale/index.d.ts +3 -0
  117. package/lib/types/locale/index.d.ts.map +1 -0
  118. package/lib/types/locale/zh-CN.d.ts +136 -0
  119. package/lib/types/locale/zh-CN.d.ts.map +1 -0
  120. package/lib/types/services/description.service.d.ts +48 -0
  121. package/lib/types/services/description.service.d.ts.map +1 -0
  122. package/lib/types/services/formula-input.service.d.ts +95 -0
  123. package/lib/types/services/formula-input.service.d.ts.map +1 -0
  124. package/lib/types/services/function-list/array.d.ts +3 -0
  125. package/lib/types/services/function-list/array.d.ts.map +1 -0
  126. package/lib/types/services/function-list/compatibility.d.ts +3 -0
  127. package/lib/types/services/function-list/compatibility.d.ts.map +1 -0
  128. package/lib/types/services/function-list/cube.d.ts +3 -0
  129. package/lib/types/services/function-list/cube.d.ts.map +1 -0
  130. package/lib/types/services/function-list/database.d.ts +3 -0
  131. package/lib/types/services/function-list/database.d.ts.map +1 -0
  132. package/lib/types/services/function-list/date.d.ts +3 -0
  133. package/lib/types/services/function-list/date.d.ts.map +1 -0
  134. package/lib/types/services/function-list/engineering.d.ts +3 -0
  135. package/lib/types/services/function-list/engineering.d.ts.map +1 -0
  136. package/lib/types/services/function-list/financial.d.ts +3 -0
  137. package/lib/types/services/function-list/financial.d.ts.map +1 -0
  138. package/lib/types/services/function-list/function-list.d.ts +3 -0
  139. package/lib/types/services/function-list/function-list.d.ts.map +1 -0
  140. package/lib/types/services/function-list/information.d.ts +3 -0
  141. package/lib/types/services/function-list/information.d.ts.map +1 -0
  142. package/lib/types/services/function-list/logical.d.ts +3 -0
  143. package/lib/types/services/function-list/logical.d.ts.map +1 -0
  144. package/lib/types/services/function-list/lookup.d.ts +3 -0
  145. package/lib/types/services/function-list/lookup.d.ts.map +1 -0
  146. package/lib/types/services/function-list/math.d.ts +3 -0
  147. package/lib/types/services/function-list/math.d.ts.map +1 -0
  148. package/lib/types/services/function-list/statistical.d.ts +3 -0
  149. package/lib/types/services/function-list/statistical.d.ts.map +1 -0
  150. package/lib/types/services/function-list/text.d.ts +3 -0
  151. package/lib/types/services/function-list/text.d.ts.map +1 -0
  152. package/lib/types/services/function-list/univer.d.ts +3 -0
  153. package/lib/types/services/function-list/univer.d.ts.map +1 -0
  154. package/lib/types/services/function-list/web.d.ts +3 -0
  155. package/lib/types/services/function-list/web.d.ts.map +1 -0
  156. package/lib/types/services/prompt.service.d.ts +106 -0
  157. package/lib/types/services/prompt.service.d.ts.map +1 -0
  158. package/lib/types/services/utils.d.ts +8 -0
  159. package/lib/types/services/utils.d.ts.map +1 -0
  160. package/lib/types/views/FormulaPromptContainer.d.ts +3 -0
  161. package/lib/types/views/FormulaPromptContainer.d.ts.map +1 -0
  162. package/lib/types/views/more-functions/MoreFunctions.d.ts +3 -0
  163. package/lib/types/views/more-functions/MoreFunctions.d.ts.map +1 -0
  164. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +9 -0
  165. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts.map +1 -0
  166. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +9 -0
  167. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts.map +1 -0
  168. package/lib/types/views/more-functions/input-params/InputParams.d.ts +8 -0
  169. package/lib/types/views/more-functions/input-params/InputParams.d.ts.map +1 -0
  170. package/lib/types/views/more-functions/interface.d.ts +2 -0
  171. package/lib/types/views/more-functions/interface.d.ts.map +1 -0
  172. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +7 -0
  173. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts.map +1 -0
  174. package/lib/types/views/prompt/error-function/error-function.d.ts +3 -0
  175. package/lib/types/views/prompt/error-function/error-function.d.ts.map +1 -0
  176. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +3 -0
  177. package/lib/types/views/prompt/help-function/HelpFunction.d.ts.map +1 -0
  178. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +3 -0
  179. package/lib/types/views/prompt/search-function/SearchFunction.d.ts.map +1 -0
  180. package/package.json +68 -0
@@ -0,0 +1,223 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/locale/en-US.ts
21
+ var en_US_exports = {};
22
+ __export(en_US_exports, {
23
+ default: () => en_US_default16
24
+ });
25
+ module.exports = __toCommonJS(en_US_exports);
26
+
27
+ // src/locale/function-list/array/en-US.ts
28
+ var en_US_default = {};
29
+
30
+ // src/locale/function-list/compatibility/en-US.ts
31
+ var en_US_default2 = {};
32
+
33
+ // src/locale/function-list/cube/en-US.ts
34
+ var en_US_default3 = {};
35
+
36
+ // src/locale/function-list/database/en-US.ts
37
+ var en_US_default4 = {};
38
+
39
+ // src/locale/function-list/date/en-US.ts
40
+ var en_US_default5 = {};
41
+
42
+ // src/locale/function-list/engineering/en-US.ts
43
+ var en_US_default6 = {};
44
+
45
+ // src/locale/function-list/financial/en-US.ts
46
+ var en_US_default7 = {};
47
+
48
+ // src/locale/function-list/information/en-US.ts
49
+ var en_US_default8 = {};
50
+
51
+ // src/locale/function-list/logical/en-US.ts
52
+ var en_US_default9 = {};
53
+
54
+ // src/locale/function-list/lookup/en-US.ts
55
+ var en_US_default10 = {};
56
+
57
+ // src/locale/function-list/math/en-US.ts
58
+ var en_US_default11 = {
59
+ SUM: {
60
+ description: "You can add individual values, cell references or ranges or a mix of all three.",
61
+ abstract: "Adds its arguments",
62
+ functionParameter: {
63
+ number1: {
64
+ name: "number1",
65
+ detail: "The first number you want to add. The number can be like 4, a cell reference like B6, or a cell range like B2:B8."
66
+ },
67
+ number2: {
68
+ name: "number2",
69
+ detail: "This is the second number you want to add. You can specify up to 255 numbers in this way."
70
+ }
71
+ }
72
+ },
73
+ SUMIF: {
74
+ description: "Sum the values in a range that meet criteria that you specify.",
75
+ abstract: "Adds the cells specified by a given criteria",
76
+ functionParameter: {
77
+ range: {
78
+ name: "range",
79
+ detail: "The range of cells that you want evaluated by criteria."
80
+ },
81
+ criteria: {
82
+ name: "criteria",
83
+ detail: "The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. Wildcard characters can be included - a question mark (?) to match any single character, an asterisk (*) to match any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character."
84
+ },
85
+ sum_range: {
86
+ name: "sum_range",
87
+ detail: "The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied)."
88
+ }
89
+ }
90
+ }
91
+ };
92
+
93
+ // src/locale/function-list/statistical/en-US.ts
94
+ var en_US_default12 = {
95
+ AVERAGE: {
96
+ description: "Returns the average (arithmetic mean) of the arguments.",
97
+ abstract: "Returns the average of its arguments",
98
+ functionParameter: {
99
+ number1: {
100
+ name: "number1",
101
+ detail: "The first number, cell reference, or range for which you want the average."
102
+ },
103
+ number2: {
104
+ name: "number2",
105
+ detail: "Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255."
106
+ }
107
+ }
108
+ },
109
+ COUNT: {
110
+ description: "Counts the number of cells that contain numbers, and counts numbers within the list of arguments.",
111
+ abstract: "Counts how many numbers are in the list of arguments",
112
+ functionParameter: {
113
+ value1: {
114
+ name: "value1",
115
+ detail: "The first item, cell reference, or range within which you want to count numbers."
116
+ },
117
+ value2: {
118
+ name: "value2",
119
+ detail: "Up to 255 additional items, cell references, or ranges within which you want to count numbers."
120
+ }
121
+ }
122
+ },
123
+ MAX: {
124
+ description: "Returns the largest value in a set of values.",
125
+ abstract: "Returns the maximum value in a list of arguments",
126
+ functionParameter: {
127
+ number1: {
128
+ name: "number1",
129
+ detail: "The first number, cell reference, or range to calculate the maximum value from."
130
+ },
131
+ number2: {
132
+ name: "number2",
133
+ detail: "Additional numbers, cell references or ranges to calculate the maximum value from, up to a maximum of 255."
134
+ }
135
+ }
136
+ },
137
+ MIN: {
138
+ description: "Returns the smallest number in a set of values.",
139
+ abstract: "Returns the minimum value in a list of arguments",
140
+ functionParameter: {
141
+ number1: {
142
+ name: "number1",
143
+ detail: "The first number, cell reference, or range to calculate the minimum value from."
144
+ },
145
+ number2: {
146
+ name: "number2",
147
+ detail: "Additional numbers, cell references or ranges to calculate the minimum value from, up to a maximum of 255."
148
+ }
149
+ }
150
+ }
151
+ };
152
+
153
+ // src/locale/function-list/text/en-US.ts
154
+ var en_US_default13 = {};
155
+
156
+ // src/locale/function-list/univer/en-US.ts
157
+ var en_US_default14 = {};
158
+
159
+ // src/locale/function-list/web/en-US.ts
160
+ var en_US_default15 = {};
161
+
162
+ // src/locale/en-US.ts
163
+ var en_US_default16 = {
164
+ formula: {
165
+ insert: {
166
+ tooltip: "Functions",
167
+ sum: "SUM",
168
+ average: "AVERAGE",
169
+ count: "COUNT",
170
+ max: "MAX",
171
+ min: "MIN",
172
+ more: "More Functions..."
173
+ },
174
+ functionList: {
175
+ ...en_US_default7,
176
+ ...en_US_default5,
177
+ ...en_US_default11,
178
+ ...en_US_default12,
179
+ ...en_US_default10,
180
+ ...en_US_default4,
181
+ ...en_US_default13,
182
+ ...en_US_default9,
183
+ ...en_US_default8,
184
+ ...en_US_default6,
185
+ ...en_US_default3,
186
+ ...en_US_default2,
187
+ ...en_US_default15,
188
+ ...en_US_default,
189
+ ...en_US_default14
190
+ },
191
+ prompt: {
192
+ helpExample: "EXAMPLE",
193
+ helpAbstract: "ABOUT",
194
+ required: "Required.",
195
+ optional: "Optional."
196
+ },
197
+ functionType: {
198
+ financial: "Financial",
199
+ date: "Date & Time",
200
+ math: "Math & Trig",
201
+ statistical: "Statistical",
202
+ lookup: "Lookup & Reference",
203
+ database: "Database",
204
+ text: "Text",
205
+ logical: "Logical",
206
+ information: "Information",
207
+ engineering: "Engineering",
208
+ cube: "Cube",
209
+ compatibility: "Compatibility",
210
+ web: "Web",
211
+ array: "Array",
212
+ univer: "Univer"
213
+ },
214
+ moreFunctions: {
215
+ confirm: "Confirm",
216
+ prev: "Previous",
217
+ next: "Next",
218
+ searchFunctionPlaceholder: "Search function",
219
+ allFunctions: "All Functions",
220
+ syntax: "SYNTAX"
221
+ }
222
+ }
223
+ };
@@ -0,0 +1,223 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/locale/zh-CN.ts
21
+ var zh_CN_exports = {};
22
+ __export(zh_CN_exports, {
23
+ default: () => zh_CN_default16
24
+ });
25
+ module.exports = __toCommonJS(zh_CN_exports);
26
+
27
+ // src/locale/function-list/array/zh-CN.ts
28
+ var zh_CN_default = {};
29
+
30
+ // src/locale/function-list/compatibility/zh-CN.ts
31
+ var zh_CN_default2 = {};
32
+
33
+ // src/locale/function-list/cube/zh-CN.ts
34
+ var zh_CN_default3 = {};
35
+
36
+ // src/locale/function-list/database/zh-CN.ts
37
+ var zh_CN_default4 = {};
38
+
39
+ // src/locale/function-list/date/zh-CN.ts
40
+ var zh_CN_default5 = {};
41
+
42
+ // src/locale/function-list/engineering/zh-CN.ts
43
+ var zh_CN_default6 = {};
44
+
45
+ // src/locale/function-list/financial/zh-CN.ts
46
+ var zh_CN_default7 = {};
47
+
48
+ // src/locale/function-list/information/zh-CN.ts
49
+ var zh_CN_default8 = {};
50
+
51
+ // src/locale/function-list/logical/zh-CN.ts
52
+ var zh_CN_default9 = {};
53
+
54
+ // src/locale/function-list/lookup/zh-CN.ts
55
+ var zh_CN_default10 = {};
56
+
57
+ // src/locale/function-list/math/zh-CN.ts
58
+ var zh_CN_default11 = {
59
+ SUM: {
60
+ description: "\u5C06\u5355\u4E2A\u503C\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u662F\u533A\u57DF\u76F8\u52A0\uFF0C\u6216\u8005\u5C06\u4E09\u8005\u7684\u7EC4\u5408\u76F8\u52A0\u3002",
61
+ abstract: "\u6C42\u53C2\u6570\u7684\u548C",
62
+ functionParameter: {
63
+ number1: {
64
+ name: "\u6570\u503C1",
65
+ detail: "\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3002 \u8BE5\u6570\u5B57\u53EF\u4EE5\u662F 4 \u4E4B\u7C7B\u7684\u6570\u5B57\uFF0CB6 \u4E4B\u7C7B\u7684\u5355\u5143\u683C\u5F15\u7528\u6216 B2:B8 \u4E4B\u7C7B\u7684\u5355\u5143\u683C\u8303\u56F4\u3002"
66
+ },
67
+ number2: {
68
+ name: "\u6570\u503C2",
69
+ detail: "\u8FD9\u662F\u8981\u76F8\u52A0\u7684\u7B2C\u4E8C\u4E2A\u6570\u5B57\u3002 \u53EF\u4EE5\u6309\u7167\u8FD9\u79CD\u65B9\u5F0F\u6700\u591A\u6307\u5B9A 255 \u4E2A\u6570\u5B57\u3002"
70
+ }
71
+ }
72
+ },
73
+ SUMIF: {
74
+ description: "\u5BF9\u8303\u56F4\u4E2D\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u503C\u6C42\u548C\u3002",
75
+ abstract: "\u6309\u7ED9\u5B9A\u6761\u4EF6\u5BF9\u6307\u5B9A\u5355\u5143\u683C\u6C42\u548C",
76
+ functionParameter: {
77
+ range: {
78
+ name: "\u8303\u56F4",
79
+ detail: "\u8981\u6839\u636E\u6761\u4EF6\u8FDB\u884C\u68C0\u6D4B\u7684\u8303\u56F4\u3002"
80
+ },
81
+ criteria: {
82
+ name: "\u6761\u4EF6",
83
+ detail: "\u4EE5\u6570\u5B57\u3001\u8868\u8FBE\u5F0F\u3001\u5355\u5143\u683C\u5F15\u7528\u3001\u6587\u672C\u6216\u51FD\u6570\u7684\u5F62\u5F0F\u6765\u5B9A\u4E49\u5C06\u6DFB\u52A0\u54EA\u4E9B\u5355\u5143\u683C\u3002\u53EF\u5305\u62EC\u7684\u901A\u914D\u7B26\u5B57\u7B26 - \u95EE\u53F7\uFF08\uFF1F\uFF09\u4EE5\u5339\u914D\u4EFB\u610F\u5355\u4E2A\u5B57\u7B26\uFF0C\u661F\u53F7\uFF08*\uFF09\u4EE5\u5339\u914D\u4EFB\u610F\u5B57\u7B26\u5E8F\u5217\u3002 \u5982\u679C\u8981\u67E5\u627E\u5B9E\u9645\u7684\u95EE\u53F7\u6216\u661F\u53F7\uFF0C\u8BF7\u5728\u8BE5\u5B57\u7B26\u524D\u952E\u5165\u6CE2\u5F62\u7B26\uFF08~\uFF09\u3002"
84
+ },
85
+ sum_range: {
86
+ name: "\u6C42\u548C\u8303\u56F4",
87
+ detail: "\u8981\u6DFB\u52A0\u7684\u5B9E\u9645\u5355\u5143\u683C\uFF0C\u5982\u679C\u8981\u6DFB\u52A0\u5728\u8303\u56F4\u53C2\u6570\u6307\u5B9A\u4EE5\u5916\u7684\u5176\u4ED6\u5355\u5143\u683C\u3002 \u5982\u679C\u7701\u7565sum_range\u53C2\u6570\uFF0CExcel\u5C31\u4F1A\u6DFB\u52A0\u8303\u56F4\u53C2\u6570\u4E2D\u6307\u5B9A\u7684\u5355\u5143\u683C\uFF08\u4E0E\u5E94\u7528\u6807\u51C6\u7684\u5355\u5143\u683C\u76F8\u540C\uFF09\u3002"
88
+ }
89
+ }
90
+ }
91
+ };
92
+
93
+ // src/locale/function-list/statistical/zh-CN.ts
94
+ var zh_CN_default12 = {
95
+ AVERAGE: {
96
+ description: "\u8FD4\u56DE\u53C2\u6570\u7684\u5E73\u5747\u503C\uFF08\u7B97\u672F\u5E73\u5747\u503C\uFF09\u3002",
97
+ abstract: "\u8FD4\u56DE\u53C2\u6570\u5E73\u5747\u503C",
98
+ functionParameter: {
99
+ number1: {
100
+ name: "\u6570\u503C1",
101
+ detail: "\u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\u3002"
102
+ },
103
+ number2: {
104
+ name: "\u6570\u503C2",
105
+ detail: "\u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u5176\u4ED6\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u3002"
106
+ }
107
+ }
108
+ },
109
+ COUNT: {
110
+ description: "\u8BA1\u7B97\u5305\u542B\u6570\u5B57\u7684\u5355\u5143\u683C\u4E2A\u6570\u4EE5\u53CA\u53C2\u6570\u5217\u8868\u4E2D\u6570\u5B57\u7684\u4E2A\u6570\u3002",
111
+ abstract: "\u8BA1\u7B97\u53C2\u6570\u5217\u8868\u4E2D\u6570\u5B57\u7684\u4E2A\u6570",
112
+ functionParameter: {
113
+ value1: {
114
+ name: "\u503C1",
115
+ detail: "\u8981\u8BA1\u7B97\u5176\u4E2D\u6570\u5B57\u7684\u4E2A\u6570\u7684\u7B2C\u4E00\u9879\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u533A\u57DF\u3002"
116
+ },
117
+ value2: {
118
+ name: "\u503C2",
119
+ detail: "\u8981\u8BA1\u7B97\u5176\u4E2D\u6570\u5B57\u7684\u4E2A\u6570\u7684\u5176\u4ED6\u9879\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u533A\u57DF\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u3002"
120
+ }
121
+ }
122
+ },
123
+ MAX: {
124
+ description: "\u8FD4\u56DE\u4E00\u7EC4\u503C\u4E2D\u7684\u6700\u5927\u503C\u3002",
125
+ abstract: "\u8FD4\u56DE\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5927\u503C",
126
+ functionParameter: {
127
+ number1: {
128
+ name: "\u6570\u503C1",
129
+ detail: "\u8981\u8BA1\u7B97\u6700\u5927\u503C\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\u3002"
130
+ },
131
+ number2: {
132
+ name: "\u6570\u503C2",
133
+ detail: "\u8981\u8BA1\u7B97\u6700\u5927\u503C\u7684\u5176\u4ED6\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u3002"
134
+ }
135
+ }
136
+ },
137
+ MIN: {
138
+ description: "\u8FD4\u56DE\u4E00\u7EC4\u503C\u4E2D\u7684\u6700\u5C0F\u503C\u3002",
139
+ abstract: "\u8FD4\u56DE\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5C0F\u503C",
140
+ functionParameter: {
141
+ number1: {
142
+ name: "\u6570\u503C1",
143
+ detail: "\u8981\u8BA1\u7B97\u6700\u5C0F\u503C\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\u3002"
144
+ },
145
+ number2: {
146
+ name: "\u6570\u503C2",
147
+ detail: "\u8981\u8BA1\u7B97\u6700\u5C0F\u503C\u7684\u5176\u4ED6\u6570\u5B57\u3001\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u5143\u683C\u533A\u57DF\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u3002"
148
+ }
149
+ }
150
+ }
151
+ };
152
+
153
+ // src/locale/function-list/text/zh-CN.ts
154
+ var zh_CN_default13 = {};
155
+
156
+ // src/locale/function-list/univer/zh-CN.ts
157
+ var zh_CN_default14 = {};
158
+
159
+ // src/locale/function-list/web/zh-CN.ts
160
+ var zh_CN_default15 = {};
161
+
162
+ // src/locale/zh-CN.ts
163
+ var zh_CN_default16 = {
164
+ formula: {
165
+ insert: {
166
+ tooltip: "\u51FD\u6570",
167
+ sum: "\u6C42\u548C",
168
+ average: "\u5E73\u5747\u503C",
169
+ count: "\u8BA1\u6570",
170
+ max: "\u6700\u5927\u503C",
171
+ min: "\u6700\u5C0F\u503C",
172
+ more: "\u66F4\u591A\u51FD\u6570..."
173
+ },
174
+ functionList: {
175
+ ...zh_CN_default7,
176
+ ...zh_CN_default5,
177
+ ...zh_CN_default11,
178
+ ...zh_CN_default12,
179
+ ...zh_CN_default10,
180
+ ...zh_CN_default4,
181
+ ...zh_CN_default13,
182
+ ...zh_CN_default9,
183
+ ...zh_CN_default8,
184
+ ...zh_CN_default6,
185
+ ...zh_CN_default3,
186
+ ...zh_CN_default2,
187
+ ...zh_CN_default15,
188
+ ...zh_CN_default,
189
+ ...zh_CN_default14
190
+ },
191
+ prompt: {
192
+ helpExample: "\u793A\u4F8B",
193
+ helpAbstract: "\u7B80\u4ECB",
194
+ required: "\u5FC5\u9700\u3002",
195
+ optional: "\u53EF\u9009\u3002"
196
+ },
197
+ functionType: {
198
+ financial: "\u8D22\u52A1",
199
+ date: "\u65E5\u671F\u4E0E\u65F6\u95F4",
200
+ math: "\u6570\u5B66\u4E0E\u4E09\u89D2\u51FD\u6570",
201
+ statistical: "\u7EDF\u8BA1",
202
+ lookup: "\u67E5\u627E\u4E0E\u5F15\u7528",
203
+ database: "\u6570\u636E\u5E93",
204
+ text: "\u6587\u672C",
205
+ logical: "\u903B\u8F91",
206
+ information: "\u4FE1\u606F",
207
+ engineering: "\u5DE5\u7A0B",
208
+ cube: "\u591A\u7EF4\u6570\u636E\u96C6",
209
+ compatibility: "\u517C\u5BB9\u6027",
210
+ web: "Web",
211
+ array: "\u6570\u7EC4",
212
+ univer: "Univer"
213
+ },
214
+ moreFunctions: {
215
+ confirm: "\u5E94\u7528",
216
+ prev: "\u4E0A\u4E00\u6B65",
217
+ next: "\u4E0B\u4E00\u6B65",
218
+ searchFunctionPlaceholder: "\u641C\u7D22\u51FD\u6570",
219
+ allFunctions: "\u5168\u90E8\u51FD\u6570",
220
+ syntax: "\u8BED\u6CD5"
221
+ }
222
+ }
223
+ };