@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.
- package/LICENSE.txt +178 -0
- package/lib/cjs/index.js +11 -4215
- package/lib/es/index.js +4346 -0
- package/lib/index.css +1 -214
- package/lib/types/commands/commands/formula-clipboard.command.d.ts +18 -0
- package/lib/types/commands/commands/insert-function.command.d.ts +15 -1
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +15 -1
- package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts +15 -1
- package/lib/types/commands/operations/editor-formula.operation.d.ts +15 -1
- package/lib/types/commands/operations/help-function.operation.d.ts +15 -1
- package/lib/types/commands/operations/insert-function.operation.d.ts +15 -1
- package/lib/types/commands/operations/more-functions.operation.d.ts +15 -1
- package/lib/types/commands/operations/reference-absolute.operation.d.ts +15 -1
- package/lib/types/commands/operations/search-function.operation.d.ts +15 -1
- package/lib/types/common/plugin-name.d.ts +15 -1
- package/lib/types/common/prompt.d.ts +15 -1
- package/lib/types/common/selection.d.ts +15 -1
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +15 -1
- package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts +15 -1
- package/lib/types/controllers/__tests__/formula-clipboard.controller.spec.d.ts +16 -0
- package/lib/types/controllers/__tests__/update-formula.controller.spec.d.ts +16 -0
- package/lib/types/controllers/__tests__/utils.spec.d.ts +16 -0
- package/lib/types/controllers/active-dirty.controller.d.ts +40 -0
- package/lib/types/controllers/array-formula-display.controller.d.ts +27 -0
- package/lib/types/controllers/formula-auto-fill.controller.d.ts +18 -4
- package/lib/types/controllers/formula-clipboard.controller.d.ts +41 -0
- package/lib/types/controllers/formula-editor-show.controller.d.ts +35 -0
- package/lib/types/controllers/formula-input.controller.d.ts +18 -4
- package/lib/types/controllers/formula-ui.controller.d.ts +15 -1
- package/lib/types/controllers/menu.d.ts +16 -1
- package/lib/types/controllers/prompt.controller.d.ts +18 -4
- package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +15 -1
- package/lib/types/controllers/trigger-calculation.controller.d.ts +32 -0
- package/lib/types/controllers/update-formula.controller.d.ts +75 -0
- package/lib/types/controllers/utils.d.ts +26 -0
- package/lib/types/formula-ui-plugin.d.ts +16 -2
- package/lib/types/index.d.ts +17 -2
- package/lib/types/locale/en-US.d.ts +18 -1
- package/lib/types/locale/function-list/array/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/array/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/compatibility/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/compatibility/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/cube/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/cube/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/database/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/database/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/date/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/date/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/engineering/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/financial/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/financial/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/information/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/information/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/logical/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/logical/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/lookup/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/lookup/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/math/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/math/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/statistical/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/statistical/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/text/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/text/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/univer/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/univer/zh-CN.d.ts +15 -1
- package/lib/types/locale/function-list/web/en-US.d.ts +15 -1
- package/lib/types/locale/function-list/web/zh-CN.d.ts +15 -1
- package/lib/types/locale/index.d.ts +15 -1
- package/lib/types/locale/zh-CN.d.ts +18 -1
- package/lib/types/services/active-dirty-manager.service.d.ts +48 -0
- package/lib/types/services/description.service.d.ts +21 -7
- package/lib/types/services/formula-input.service.d.ts +15 -4
- package/lib/types/services/function-list/array.d.ts +15 -1
- package/lib/types/services/function-list/compatibility.d.ts +15 -1
- package/lib/types/services/function-list/cube.d.ts +15 -1
- package/lib/types/services/function-list/database.d.ts +15 -1
- package/lib/types/services/function-list/date.d.ts +15 -1
- package/lib/types/services/function-list/engineering.d.ts +15 -1
- package/lib/types/services/function-list/financial.d.ts +15 -1
- package/lib/types/services/function-list/function-list.d.ts +15 -1
- package/lib/types/services/function-list/information.d.ts +15 -1
- package/lib/types/services/function-list/logical.d.ts +15 -1
- package/lib/types/services/function-list/lookup.d.ts +15 -1
- package/lib/types/services/function-list/math.d.ts +15 -1
- package/lib/types/services/function-list/statistical.d.ts +15 -1
- package/lib/types/services/function-list/text.d.ts +15 -1
- package/lib/types/services/function-list/univer.d.ts +15 -1
- package/lib/types/services/function-list/web.d.ts +15 -1
- package/lib/types/services/prompt.service.d.ts +15 -1
- package/lib/types/services/utils.d.ts +15 -1
- package/lib/types/views/FormulaPromptContainer.d.ts +15 -1
- package/lib/types/views/more-functions/MoreFunctions.d.ts +15 -1
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +15 -1
- package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +15 -1
- package/lib/types/views/more-functions/input-params/InputParams.d.ts +15 -1
- package/lib/types/views/more-functions/interface.d.ts +15 -1
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +15 -1
- package/lib/types/views/prompt/error-function/error-function.d.ts +15 -1
- package/lib/types/views/prompt/help-function/HelpFunction.d.ts +15 -1
- package/lib/types/views/prompt/search-function/SearchFunction.d.ts +15 -1
- package/lib/umd/index.js +11 -0
- package/package.json +42 -31
- package/LICENSE +0 -21
- package/lib/cjs/locale/en-US.js +0 -223
- package/lib/cjs/locale/zh-CN.js +0 -223
- package/lib/esm/index.js +0 -4205
- package/lib/esm/locale/en-US.js +0 -200
- package/lib/esm/locale/zh-CN.js +0 -200
- package/lib/types/commands/commands/insert-function.command.d.ts.map +0 -1
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts.map +0 -1
- package/lib/types/commands/operations/__tests__/insert-function.operation.spec.d.ts.map +0 -1
- package/lib/types/commands/operations/editor-formula.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/help-function.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/insert-function.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/more-functions.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/reference-absolute.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/search-function.operation.d.ts.map +0 -1
- package/lib/types/common/plugin-name.d.ts.map +0 -1
- package/lib/types/common/prompt.d.ts.map +0 -1
- package/lib/types/common/selection.d.ts.map +0 -1
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts.map +0 -1
- package/lib/types/controllers/__tests__/formula-auto-fill.controller.spec.d.ts.map +0 -1
- package/lib/types/controllers/formula-auto-fill.controller.d.ts.map +0 -1
- package/lib/types/controllers/formula-input.controller.d.ts.map +0 -1
- package/lib/types/controllers/formula-ui.controller.d.ts.map +0 -1
- package/lib/types/controllers/menu.d.ts.map +0 -1
- package/lib/types/controllers/prompt.controller.d.ts.map +0 -1
- package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts.map +0 -1
- package/lib/types/formula-ui-plugin.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/locale/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/array/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/array/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/compatibility/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/compatibility/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/cube/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/cube/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/database/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/database/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/date/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/date/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/engineering/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/engineering/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/financial/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/financial/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/information/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/information/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/logical/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/logical/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/lookup/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/lookup/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/math/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/math/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/statistical/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/statistical/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/text/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/text/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/univer/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/univer/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/function-list/web/en-US.d.ts.map +0 -1
- package/lib/types/locale/function-list/web/zh-CN.d.ts.map +0 -1
- package/lib/types/locale/index.d.ts.map +0 -1
- package/lib/types/locale/zh-CN.d.ts.map +0 -1
- package/lib/types/services/description.service.d.ts.map +0 -1
- package/lib/types/services/formula-input.service.d.ts.map +0 -1
- package/lib/types/services/function-list/array.d.ts.map +0 -1
- package/lib/types/services/function-list/compatibility.d.ts.map +0 -1
- package/lib/types/services/function-list/cube.d.ts.map +0 -1
- package/lib/types/services/function-list/database.d.ts.map +0 -1
- package/lib/types/services/function-list/date.d.ts.map +0 -1
- package/lib/types/services/function-list/engineering.d.ts.map +0 -1
- package/lib/types/services/function-list/financial.d.ts.map +0 -1
- package/lib/types/services/function-list/function-list.d.ts.map +0 -1
- package/lib/types/services/function-list/information.d.ts.map +0 -1
- package/lib/types/services/function-list/logical.d.ts.map +0 -1
- package/lib/types/services/function-list/lookup.d.ts.map +0 -1
- package/lib/types/services/function-list/math.d.ts.map +0 -1
- package/lib/types/services/function-list/statistical.d.ts.map +0 -1
- package/lib/types/services/function-list/text.d.ts.map +0 -1
- package/lib/types/services/function-list/univer.d.ts.map +0 -1
- package/lib/types/services/function-list/web.d.ts.map +0 -1
- package/lib/types/services/prompt.service.d.ts.map +0 -1
- package/lib/types/services/utils.d.ts.map +0 -1
- package/lib/types/views/FormulaPromptContainer.d.ts.map +0 -1
- package/lib/types/views/more-functions/MoreFunctions.d.ts.map +0 -1
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts.map +0 -1
- package/lib/types/views/more-functions/function-params/FunctionParams.d.ts.map +0 -1
- package/lib/types/views/more-functions/input-params/InputParams.d.ts.map +0 -1
- package/lib/types/views/more-functions/interface.d.ts.map +0 -1
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts.map +0 -1
- package/lib/types/views/prompt/error-function/error-function.d.ts.map +0 -1
- package/lib/types/views/prompt/help-function/HelpFunction.d.ts.map +0 -1
- 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 {
|
|
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<
|
|
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
|
|
51
|
+
private readonly _functionService;
|
|
37
52
|
private readonly _localeService;
|
|
38
|
-
constructor(_description: IFunctionInfo[],
|
|
53
|
+
constructor(_description: IFunctionInfo[], _functionService: IFunctionService, _localeService: LocaleService);
|
|
39
54
|
dispose(): void;
|
|
40
|
-
getDescriptions(): Map<
|
|
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
|