@univerjs/sheets-formula 0.1.0-alpha.1 → 0.1.0-alpha.2

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 (194) hide show
  1. package/LICENSE.txt +178 -0
  2. package/lib/cjs/index.js +11 -4215
  3. package/lib/es/index.js +4346 -0
  4. package/lib/index.css +1 -214
  5. package/lib/types/commands/commands/formula-clipboard.command.d.ts +18 -0
  6. package/lib/types/commands/commands/insert-function.command.d.ts +15 -1
  7. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +15 -1
  8. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +15 -1
  9. package/lib/types/commands/operations/editor-formula.operation.d.ts +15 -1
  10. package/lib/types/commands/operations/help-function.operation.d.ts +15 -1
  11. package/lib/types/commands/operations/insert-function.operation.d.ts +15 -1
  12. package/lib/types/commands/operations/more-functions.operation.d.ts +15 -1
  13. package/lib/types/commands/operations/reference-absolute.operation.d.ts +15 -1
  14. package/lib/types/commands/operations/search-function.operation.d.ts +15 -1
  15. package/lib/types/common/plugin-name.d.ts +15 -1
  16. package/lib/types/common/prompt.d.ts +15 -1
  17. package/lib/types/common/selection.d.ts +15 -1
  18. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +15 -1
  19. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +15 -1
  20. package/lib/types/controllers/__tests__/formula-clipboard.controller.spec.d.ts +16 -0
  21. package/lib/types/controllers/__tests__/update-formula.controller.spec.d.ts +16 -0
  22. package/lib/types/controllers/__tests__/utils.spec.d.ts +16 -0
  23. package/lib/types/controllers/active-dirty.controller.d.ts +40 -0
  24. package/lib/types/controllers/array-formula-display.controller.d.ts +27 -0
  25. package/lib/types/controllers/formula-auto-fill.controller.d.ts +18 -4
  26. package/lib/types/controllers/formula-clipboard.controller.d.ts +41 -0
  27. package/lib/types/controllers/formula-editor-show.controller.d.ts +35 -0
  28. package/lib/types/controllers/formula-input.controller.d.ts +18 -4
  29. package/lib/types/controllers/formula-ui.controller.d.ts +15 -1
  30. package/lib/types/controllers/menu.d.ts +16 -1
  31. package/lib/types/controllers/prompt.controller.d.ts +18 -4
  32. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +15 -1
  33. package/lib/types/controllers/trigger-calculation.controller.d.ts +32 -0
  34. package/lib/types/controllers/update-formula.controller.d.ts +75 -0
  35. package/lib/types/controllers/utils.d.ts +26 -0
  36. package/lib/types/formula-ui-plugin.d.ts +16 -2
  37. package/lib/types/index.d.ts +17 -2
  38. package/lib/types/locale/en-US.d.ts +18 -1
  39. package/lib/types/locale/function-list/array/en-US.d.ts +15 -1
  40. package/lib/types/locale/function-list/array/zh-CN.d.ts +15 -1
  41. package/lib/types/locale/function-list/compatibility/en-US.d.ts +15 -1
  42. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +15 -1
  43. package/lib/types/locale/function-list/cube/en-US.d.ts +15 -1
  44. package/lib/types/locale/function-list/cube/zh-CN.d.ts +15 -1
  45. package/lib/types/locale/function-list/database/en-US.d.ts +15 -1
  46. package/lib/types/locale/function-list/database/zh-CN.d.ts +15 -1
  47. package/lib/types/locale/function-list/date/en-US.d.ts +15 -1
  48. package/lib/types/locale/function-list/date/zh-CN.d.ts +15 -1
  49. package/lib/types/locale/function-list/engineering/en-US.d.ts +15 -1
  50. package/lib/types/locale/function-list/engineering/zh-CN.d.ts +15 -1
  51. package/lib/types/locale/function-list/financial/en-US.d.ts +15 -1
  52. package/lib/types/locale/function-list/financial/zh-CN.d.ts +15 -1
  53. package/lib/types/locale/function-list/information/en-US.d.ts +15 -1
  54. package/lib/types/locale/function-list/information/zh-CN.d.ts +15 -1
  55. package/lib/types/locale/function-list/logical/en-US.d.ts +15 -1
  56. package/lib/types/locale/function-list/logical/zh-CN.d.ts +15 -1
  57. package/lib/types/locale/function-list/lookup/en-US.d.ts +15 -1
  58. package/lib/types/locale/function-list/lookup/zh-CN.d.ts +15 -1
  59. package/lib/types/locale/function-list/math/en-US.d.ts +15 -1
  60. package/lib/types/locale/function-list/math/zh-CN.d.ts +15 -1
  61. package/lib/types/locale/function-list/statistical/en-US.d.ts +15 -1
  62. package/lib/types/locale/function-list/statistical/zh-CN.d.ts +15 -1
  63. package/lib/types/locale/function-list/text/en-US.d.ts +15 -1
  64. package/lib/types/locale/function-list/text/zh-CN.d.ts +15 -1
  65. package/lib/types/locale/function-list/univer/en-US.d.ts +15 -1
  66. package/lib/types/locale/function-list/univer/zh-CN.d.ts +15 -1
  67. package/lib/types/locale/function-list/web/en-US.d.ts +15 -1
  68. package/lib/types/locale/function-list/web/zh-CN.d.ts +15 -1
  69. package/lib/types/locale/index.d.ts +15 -1
  70. package/lib/types/locale/zh-CN.d.ts +18 -1
  71. package/lib/types/services/active-dirty-manager.service.d.ts +48 -0
  72. package/lib/types/services/description.service.d.ts +21 -7
  73. package/lib/types/services/formula-input.service.d.ts +15 -4
  74. package/lib/types/services/function-list/array.d.ts +15 -1
  75. package/lib/types/services/function-list/compatibility.d.ts +15 -1
  76. package/lib/types/services/function-list/cube.d.ts +15 -1
  77. package/lib/types/services/function-list/database.d.ts +15 -1
  78. package/lib/types/services/function-list/date.d.ts +15 -1
  79. package/lib/types/services/function-list/engineering.d.ts +15 -1
  80. package/lib/types/services/function-list/financial.d.ts +15 -1
  81. package/lib/types/services/function-list/function-list.d.ts +15 -1
  82. package/lib/types/services/function-list/information.d.ts +15 -1
  83. package/lib/types/services/function-list/logical.d.ts +15 -1
  84. package/lib/types/services/function-list/lookup.d.ts +15 -1
  85. package/lib/types/services/function-list/math.d.ts +15 -1
  86. package/lib/types/services/function-list/statistical.d.ts +15 -1
  87. package/lib/types/services/function-list/text.d.ts +15 -1
  88. package/lib/types/services/function-list/univer.d.ts +15 -1
  89. package/lib/types/services/function-list/web.d.ts +15 -1
  90. package/lib/types/services/prompt.service.d.ts +15 -1
  91. package/lib/types/services/utils.d.ts +15 -1
  92. package/lib/types/views/FormulaPromptContainer.d.ts +15 -1
  93. package/lib/types/views/more-functions/MoreFunctions.d.ts +15 -1
  94. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +15 -1
  95. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +15 -1
  96. package/lib/types/views/more-functions/input-params/InputParams.d.ts +15 -1
  97. package/lib/types/views/more-functions/interface.d.ts +15 -1
  98. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +15 -1
  99. package/lib/types/views/prompt/error-function/error-function.d.ts +15 -1
  100. package/lib/types/views/prompt/help-function/HelpFunction.d.ts +15 -1
  101. package/lib/types/views/prompt/search-function/SearchFunction.d.ts +15 -1
  102. package/lib/umd/index.js +11 -0
  103. package/package.json +42 -31
  104. package/LICENSE +0 -21
  105. package/lib/cjs/locale/en-US.js +0 -223
  106. package/lib/cjs/locale/zh-CN.js +0 -223
  107. package/lib/esm/index.js +0 -4205
  108. package/lib/esm/locale/en-US.js +0 -200
  109. package/lib/esm/locale/zh-CN.js +0 -200
  110. package/lib/types/commands/commands/insert-function.command.d.ts.map +0 -1
  111. package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts.map +0 -1
  112. package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts.map +0 -1
  113. package/lib/types/commands/operations/editor-formula.operation.d.ts.map +0 -1
  114. package/lib/types/commands/operations/help-function.operation.d.ts.map +0 -1
  115. package/lib/types/commands/operations/insert-function.operation.d.ts.map +0 -1
  116. package/lib/types/commands/operations/more-functions.operation.d.ts.map +0 -1
  117. package/lib/types/commands/operations/reference-absolute.operation.d.ts.map +0 -1
  118. package/lib/types/commands/operations/search-function.operation.d.ts.map +0 -1
  119. package/lib/types/common/plugin-name.d.ts.map +0 -1
  120. package/lib/types/common/prompt.d.ts.map +0 -1
  121. package/lib/types/common/selection.d.ts.map +0 -1
  122. package/lib/types/controllers/__tests__/create-command-test-bed.d.ts.map +0 -1
  123. package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts.map +0 -1
  124. package/lib/types/controllers/formula-auto-fill.controller.d.ts.map +0 -1
  125. package/lib/types/controllers/formula-input.controller.d.ts.map +0 -1
  126. package/lib/types/controllers/formula-ui.controller.d.ts.map +0 -1
  127. package/lib/types/controllers/menu.d.ts.map +0 -1
  128. package/lib/types/controllers/prompt.controller.d.ts.map +0 -1
  129. package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts.map +0 -1
  130. package/lib/types/formula-ui-plugin.d.ts.map +0 -1
  131. package/lib/types/index.d.ts.map +0 -1
  132. package/lib/types/locale/en-US.d.ts.map +0 -1
  133. package/lib/types/locale/function-list/array/en-US.d.ts.map +0 -1
  134. package/lib/types/locale/function-list/array/zh-CN.d.ts.map +0 -1
  135. package/lib/types/locale/function-list/compatibility/en-US.d.ts.map +0 -1
  136. package/lib/types/locale/function-list/compatibility/zh-CN.d.ts.map +0 -1
  137. package/lib/types/locale/function-list/cube/en-US.d.ts.map +0 -1
  138. package/lib/types/locale/function-list/cube/zh-CN.d.ts.map +0 -1
  139. package/lib/types/locale/function-list/database/en-US.d.ts.map +0 -1
  140. package/lib/types/locale/function-list/database/zh-CN.d.ts.map +0 -1
  141. package/lib/types/locale/function-list/date/en-US.d.ts.map +0 -1
  142. package/lib/types/locale/function-list/date/zh-CN.d.ts.map +0 -1
  143. package/lib/types/locale/function-list/engineering/en-US.d.ts.map +0 -1
  144. package/lib/types/locale/function-list/engineering/zh-CN.d.ts.map +0 -1
  145. package/lib/types/locale/function-list/financial/en-US.d.ts.map +0 -1
  146. package/lib/types/locale/function-list/financial/zh-CN.d.ts.map +0 -1
  147. package/lib/types/locale/function-list/information/en-US.d.ts.map +0 -1
  148. package/lib/types/locale/function-list/information/zh-CN.d.ts.map +0 -1
  149. package/lib/types/locale/function-list/logical/en-US.d.ts.map +0 -1
  150. package/lib/types/locale/function-list/logical/zh-CN.d.ts.map +0 -1
  151. package/lib/types/locale/function-list/lookup/en-US.d.ts.map +0 -1
  152. package/lib/types/locale/function-list/lookup/zh-CN.d.ts.map +0 -1
  153. package/lib/types/locale/function-list/math/en-US.d.ts.map +0 -1
  154. package/lib/types/locale/function-list/math/zh-CN.d.ts.map +0 -1
  155. package/lib/types/locale/function-list/statistical/en-US.d.ts.map +0 -1
  156. package/lib/types/locale/function-list/statistical/zh-CN.d.ts.map +0 -1
  157. package/lib/types/locale/function-list/text/en-US.d.ts.map +0 -1
  158. package/lib/types/locale/function-list/text/zh-CN.d.ts.map +0 -1
  159. package/lib/types/locale/function-list/univer/en-US.d.ts.map +0 -1
  160. package/lib/types/locale/function-list/univer/zh-CN.d.ts.map +0 -1
  161. package/lib/types/locale/function-list/web/en-US.d.ts.map +0 -1
  162. package/lib/types/locale/function-list/web/zh-CN.d.ts.map +0 -1
  163. package/lib/types/locale/index.d.ts.map +0 -1
  164. package/lib/types/locale/zh-CN.d.ts.map +0 -1
  165. package/lib/types/services/description.service.d.ts.map +0 -1
  166. package/lib/types/services/formula-input.service.d.ts.map +0 -1
  167. package/lib/types/services/function-list/array.d.ts.map +0 -1
  168. package/lib/types/services/function-list/compatibility.d.ts.map +0 -1
  169. package/lib/types/services/function-list/cube.d.ts.map +0 -1
  170. package/lib/types/services/function-list/database.d.ts.map +0 -1
  171. package/lib/types/services/function-list/date.d.ts.map +0 -1
  172. package/lib/types/services/function-list/engineering.d.ts.map +0 -1
  173. package/lib/types/services/function-list/financial.d.ts.map +0 -1
  174. package/lib/types/services/function-list/function-list.d.ts.map +0 -1
  175. package/lib/types/services/function-list/information.d.ts.map +0 -1
  176. package/lib/types/services/function-list/logical.d.ts.map +0 -1
  177. package/lib/types/services/function-list/lookup.d.ts.map +0 -1
  178. package/lib/types/services/function-list/math.d.ts.map +0 -1
  179. package/lib/types/services/function-list/statistical.d.ts.map +0 -1
  180. package/lib/types/services/function-list/text.d.ts.map +0 -1
  181. package/lib/types/services/function-list/univer.d.ts.map +0 -1
  182. package/lib/types/services/function-list/web.d.ts.map +0 -1
  183. package/lib/types/services/prompt.service.d.ts.map +0 -1
  184. package/lib/types/services/utils.d.ts.map +0 -1
  185. package/lib/types/views/FormulaPromptContainer.d.ts.map +0 -1
  186. package/lib/types/views/more-functions/MoreFunctions.d.ts.map +0 -1
  187. package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts.map +0 -1
  188. package/lib/types/views/more-functions/function-params/FunctionParams.d.ts.map +0 -1
  189. package/lib/types/views/more-functions/input-params/InputParams.d.ts.map +0 -1
  190. package/lib/types/views/more-functions/interface.d.ts.map +0 -1
  191. package/lib/types/views/more-functions/select-function/SelectFunction.d.ts.map +0 -1
  192. package/lib/types/views/prompt/error-function/error-function.d.ts.map +0 -1
  193. package/lib/types/views/prompt/help-function/HelpFunction.d.ts.map +0 -1
  194. package/lib/types/views/prompt/search-function/SearchFunction.d.ts.map +0 -1
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,18 @@
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
+ */
1
16
  declare const _default: {
2
17
  SUM: {
3
18
  description: string;
@@ -33,4 +48,3 @@ declare const _default: {
33
48
  };
34
49
  };
35
50
  export default _default;
36
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,18 @@
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
+ */
1
16
  declare const _default: {
2
17
  SUM: {
3
18
  description: string;
@@ -33,4 +48,3 @@ declare const _default: {
33
48
  };
34
49
  };
35
50
  export default _default;
36
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,18 @@
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
+ */
1
16
  declare const _default: {
2
17
  AVERAGE: {
3
18
  description: string;
@@ -57,4 +72,3 @@ declare const _default: {
57
72
  };
58
73
  };
59
74
  export default _default;
60
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,18 @@
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
+ */
1
16
  declare const _default: {
2
17
  AVERAGE: {
3
18
  description: string;
@@ -57,4 +72,3 @@ declare const _default: {
57
72
  };
58
73
  };
59
74
  export default _default;
60
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=en-US.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  declare const _default: {};
2
17
  export default _default;
3
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  export { default as enUS } from './en-US';
2
17
  export { default as zhCN } from './zh-CN';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,18 @@
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
+ */
1
16
  declare const _default: {
2
17
  formula: {
3
18
  insert: {
@@ -130,7 +145,9 @@ declare const _default: {
130
145
  allFunctions: string;
131
146
  syntax: string;
132
147
  };
148
+ operation: {
149
+ pasteFormula: string;
150
+ };
133
151
  };
134
152
  };
135
153
  export default _default;
136
- //# sourceMappingURL=zh-CN.d.ts.map
@@ -0,0 +1,48 @@
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
+ import type { ICommandInfo, IUnitRange, Nullable } from '@univerjs/core';
17
+ import { Disposable } from '@univerjs/core';
18
+ import type { IDirtyUnitFeatureMap, IDirtyUnitSheetNameMap } from '@univerjs/engine-formula';
19
+ export interface IDirtyConversionManagerParams {
20
+ commandId: string;
21
+ getDirtyData: (command: ICommandInfo) => {
22
+ dirtyRanges?: IUnitRange[];
23
+ dirtyNameMap?: IDirtyUnitSheetNameMap;
24
+ dirtyUnitFeatureMap?: IDirtyUnitFeatureMap;
25
+ };
26
+ }
27
+ export interface IActiveDirtyManagerService {
28
+ dispose(): void;
29
+ remove(commandId: string): void;
30
+ get(commandId: string): Nullable<IDirtyConversionManagerParams>;
31
+ has(featureId: string): boolean;
32
+ register(featureId: string, dirtyConversion: IDirtyConversionManagerParams): void;
33
+ getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>;
34
+ }
35
+ /**
36
+ * Actively mark as dirty, calculate the dirty area based on the command,
37
+ * and plugins can register the ref range they affect into the formula engine.
38
+ */
39
+ export declare class ActiveDirtyManagerService extends Disposable implements IActiveDirtyManagerService {
40
+ private _dirtyConversionMap;
41
+ dispose(): void;
42
+ remove(commandId: string): void;
43
+ get(commandId: string): IDirtyConversionManagerParams | undefined;
44
+ has(commandId: string): boolean;
45
+ register(commandId: string, dirtyConversion: IDirtyConversionManagerParams): void;
46
+ getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>;
47
+ }
48
+ export declare const IActiveDirtyManagerService: import("@wendellhu/redi").IdentifierDecorator<ActiveDirtyManagerService>;
@@ -1,6 +1,21 @@
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
+ */
1
16
  import { LocaleService } from '@univerjs/core';
2
- import type { IFunctionInfo } from '@univerjs/engine-formula';
3
- import { FormulaEngineService } from '@univerjs/engine-formula';
17
+ import type { IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
18
+ import { IFunctionService } from '@univerjs/engine-formula';
4
19
  import type { IDisposable } from '@wendellhu/redi';
5
20
  export interface ISearchItem {
6
21
  name: string;
@@ -10,7 +25,7 @@ export interface IDescriptionService {
10
25
  /**
11
26
  * get all descriptions
12
27
  */
13
- getDescriptions(): Map<string, IFunctionInfo>;
28
+ getDescriptions(): Map<IFunctionNames, IFunctionInfo>;
14
29
  hasFunction(searchText: string): boolean;
15
30
  /**
16
31
  * get function info by name
@@ -33,11 +48,11 @@ export interface IDescriptionService {
33
48
  export declare const IDescriptionService: import("@wendellhu/redi").IdentifierDecorator<IDescriptionService>;
34
49
  export declare class DescriptionService implements IDescriptionService, IDisposable {
35
50
  private _description;
36
- private readonly _formulaEngineService;
51
+ private readonly _functionService;
37
52
  private readonly _localeService;
38
- constructor(_description: IFunctionInfo[], _formulaEngineService: FormulaEngineService, _localeService: LocaleService);
53
+ constructor(_description: IFunctionInfo[], _functionService: IFunctionService, _localeService: LocaleService);
39
54
  dispose(): void;
40
- getDescriptions(): Map<string, IFunctionInfo>;
55
+ getDescriptions(): Map<IFunctionNames, IFunctionInfo>;
41
56
  hasFunction(searchText: string): boolean;
42
57
  getFunctionInfo(searchText: string): IFunctionInfo | undefined;
43
58
  getSearchListByName(searchText: string): ISearchItem[];
@@ -45,4 +60,3 @@ export declare class DescriptionService implements IDescriptionService, IDisposa
45
60
  private _initialize;
46
61
  private _registerDescription;
47
62
  }
48
- //# sourceMappingURL=description.service.d.ts.map
@@ -1,5 +1,19 @@
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
+ */
1
16
  import type { ISequenceNode } from '@univerjs/engine-formula';
2
- import { FormulaEngineService } from '@univerjs/engine-formula';
3
17
  import type { IDisposable } from '@wendellhu/redi';
4
18
  import type { Observable } from 'rxjs';
5
19
  export interface ISyncToEditorParam {
@@ -33,7 +47,6 @@ export interface IFormulaInputService {
33
47
  inputFormula(formulaString: string): void;
34
48
  }
35
49
  export declare class FormulaInputService implements IFormulaInputService, IDisposable {
36
- private readonly _formulaEngineService;
37
50
  private _sequenceNodes;
38
51
  private _isSelectionMoving;
39
52
  private _isLockedOnSelectionChangeRefString;
@@ -44,7 +57,6 @@ export declare class FormulaInputService implements IFormulaInputService, IDispo
44
57
  readonly changeRef$: Observable<boolean>;
45
58
  private readonly _inputFormula$;
46
59
  readonly inputFormula$: Observable<string>;
47
- constructor(_formulaEngineService: FormulaEngineService);
48
60
  dispose(): void;
49
61
  inputFormula(formulaString: string): void;
50
62
  syncToEditor(textSelectionOffset: number): void;
@@ -92,4 +104,3 @@ export declare class FormulaInputService implements IFormulaInputService, IDispo
92
104
  isLockedSelectionInsert(): boolean;
93
105
  }
94
106
  export declare const IFormulaInputService: import("@wendellhu/redi").IdentifierDecorator<FormulaInputService>;
95
- //# sourceMappingURL=formula-input.service.d.ts.map
@@ -1,3 +1,17 @@
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
+ */
1
16
  import type { IFunctionInfo } from '@univerjs/engine-formula';
2
17
  export declare const FUNCTION_LIST_ARRAY: IFunctionInfo[];
3
- //# sourceMappingURL=array.d.ts.map