@univerjs/docs 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 +2 -5928
- package/lib/es/index.js +2885 -0
- package/lib/types/basics/component-tools.d.ts +15 -1
- package/lib/types/basics/demo-data.d.ts +15 -1
- package/lib/types/basics/docs-view-key.d.ts +15 -1
- package/lib/types/basics/retain-delete-params.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/clipboard.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/core-editing.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/inline-format.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/__tests__/replace-content.command.spec.d.ts +15 -1
- package/lib/types/commands/commands/clipboard.command.d.ts +15 -1
- package/lib/types/commands/commands/clipboard.inner.command.d.ts +15 -1
- package/lib/types/commands/commands/core-editing.command.d.ts +16 -1
- package/lib/types/commands/commands/ime-input.command.d.ts +15 -1
- package/lib/types/commands/commands/inline-format.command.d.ts +15 -1
- package/lib/types/commands/commands/insert-floating-object.command.d.ts +15 -1
- package/lib/types/commands/commands/remove-floating-object.command.d.ts +15 -1
- package/lib/types/commands/commands/replace-content.command.d.ts +15 -1
- package/lib/types/commands/commands/set-doc-zoom-ratio.command.d.ts +15 -1
- package/lib/types/commands/commands/set-floating-object-transform.command.d.ts +15 -1
- package/lib/types/commands/mutations/core-editing.mutation.d.ts +15 -1
- package/lib/types/commands/mutations/insert-floating-object.mutation.d.ts +15 -1
- package/lib/types/commands/mutations/remove-floating-object.mutation.d.ts +15 -1
- package/lib/types/commands/mutations/set-floating-object.mutation.d.ts +15 -1
- package/lib/types/commands/operations/cursor.operation.d.ts +15 -1
- package/lib/types/commands/operations/select-all.operation.d.ts +15 -1
- package/lib/types/commands/operations/set-doc-zoom-ratio.operation.d.ts +15 -1
- package/lib/types/commands/operations/text-selection.operation.d.ts +15 -1
- package/lib/types/controllers/clipboard.controller.d.ts +15 -1
- package/lib/types/controllers/delete.controller.d.ts +15 -1
- package/lib/types/controllers/doc-render.controller.d.ts +16 -3
- package/lib/types/controllers/floating-object.controller.d.ts +15 -1
- package/lib/types/controllers/ime-input.controller.d.ts +15 -1
- package/lib/types/controllers/inline-format.controller.d.ts +15 -1
- package/lib/types/controllers/line-break-input.controller.d.ts +15 -1
- package/lib/types/controllers/move-cursor.controller.d.ts +15 -1
- package/lib/types/controllers/normal-input.controller.d.ts +15 -1
- package/lib/types/controllers/page-render.controller.d.ts +15 -1
- package/lib/types/controllers/text-selection.controller.d.ts +15 -1
- package/lib/types/controllers/zoom.controller.d.ts +15 -1
- package/lib/types/doc-plugin.d.ts +18 -4
- package/lib/types/index.d.ts +16 -2
- package/lib/types/services/clipboard/__test__/html-and-udm-convert.spec.d.ts +15 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts +15 -1
- package/lib/types/services/clipboard/copy-content-cache.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/converter.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/parse-node-style.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/parse-to-dom.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-lark.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-word.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/type.d.ts +15 -1
- package/lib/types/services/clipboard/html-to-udm/utils.d.ts +15 -1
- package/lib/types/services/clipboard/udm-to-html/convertor.d.ts +15 -1
- package/lib/types/services/doc-skeleton-manager.service.d.ts +15 -1
- package/lib/types/services/doc-view-model-manager.service.d.ts +15 -1
- package/lib/types/services/ime-input-manager.service.d.ts +15 -1
- package/lib/types/services/text-selection-manager.service.d.ts +15 -1
- package/lib/types/shortcuts/core-editing.shortcut.d.ts +15 -1
- package/lib/types/shortcuts/cursor.shortcut.d.ts +15 -1
- package/lib/types/views/doc-canvas-view.d.ts +15 -1
- package/lib/umd/index.js +2 -0
- package/package.json +28 -25
- package/LICENSE +0 -21
- package/lib/cjs/locale/en-US.js +0 -26
- package/lib/cjs/locale/zh-CN.js +0 -26
- package/lib/esm/index.js +0 -5845
- package/lib/esm/locale/en-US.js +0 -5
- package/lib/esm/locale/zh-CN.js +0 -5
- package/lib/types/basics/component-tools.d.ts.map +0 -1
- package/lib/types/basics/demo-data.d.ts.map +0 -1
- package/lib/types/basics/docs-view-key.d.ts.map +0 -1
- package/lib/types/basics/retain-delete-params.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/clipboard.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/core-editing.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/inline-format.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/__tests__/replace-content.command.spec.d.ts.map +0 -1
- package/lib/types/commands/commands/clipboard.command.d.ts.map +0 -1
- package/lib/types/commands/commands/clipboard.inner.command.d.ts.map +0 -1
- package/lib/types/commands/commands/core-editing.command.d.ts.map +0 -1
- package/lib/types/commands/commands/ime-input.command.d.ts.map +0 -1
- package/lib/types/commands/commands/inline-format.command.d.ts.map +0 -1
- package/lib/types/commands/commands/insert-floating-object.command.d.ts.map +0 -1
- package/lib/types/commands/commands/remove-floating-object.command.d.ts.map +0 -1
- package/lib/types/commands/commands/replace-content.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-doc-zoom-ratio.command.d.ts.map +0 -1
- package/lib/types/commands/commands/set-floating-object-transform.command.d.ts.map +0 -1
- package/lib/types/commands/mutations/core-editing.mutation.d.ts.map +0 -1
- package/lib/types/commands/mutations/insert-floating-object.mutation.d.ts.map +0 -1
- package/lib/types/commands/mutations/remove-floating-object.mutation.d.ts.map +0 -1
- package/lib/types/commands/mutations/set-floating-object.mutation.d.ts.map +0 -1
- package/lib/types/commands/operations/cursor.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/select-all.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/set-doc-zoom-ratio.operation.d.ts.map +0 -1
- package/lib/types/commands/operations/text-selection.operation.d.ts.map +0 -1
- package/lib/types/controllers/clipboard.controller.d.ts.map +0 -1
- package/lib/types/controllers/delete.controller.d.ts.map +0 -1
- package/lib/types/controllers/doc-render.controller.d.ts.map +0 -1
- package/lib/types/controllers/floating-object.controller.d.ts.map +0 -1
- package/lib/types/controllers/ime-input.controller.d.ts.map +0 -1
- package/lib/types/controllers/inline-format.controller.d.ts.map +0 -1
- package/lib/types/controllers/line-break-input.controller.d.ts.map +0 -1
- package/lib/types/controllers/move-cursor.controller.d.ts.map +0 -1
- package/lib/types/controllers/normal-input.controller.d.ts.map +0 -1
- package/lib/types/controllers/page-render.controller.d.ts.map +0 -1
- package/lib/types/controllers/text-selection.controller.d.ts.map +0 -1
- package/lib/types/controllers/zoom.controller.d.ts.map +0 -1
- package/lib/types/doc-plugin.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/en-US.d.ts.map +0 -1
- package/lib/types/locale/index.d.ts +0 -3
- package/lib/types/locale/index.d.ts.map +0 -1
- package/lib/types/locale/zh-CN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts.map +0 -1
- package/lib/types/services/clipboard/__test__/html-and-udm-convert.spec.d.ts.map +0 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts.map +0 -1
- package/lib/types/services/clipboard/copy-content-cache.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/converter.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/parse-node-style.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/parse-to-dom.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-lark.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-word.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/type.d.ts.map +0 -1
- package/lib/types/services/clipboard/html-to-udm/utils.d.ts.map +0 -1
- package/lib/types/services/clipboard/udm-to-html/convertor.d.ts.map +0 -1
- package/lib/types/services/doc-skeleton-manager.service.d.ts.map +0 -1
- package/lib/types/services/doc-view-model-manager.service.d.ts.map +0 -1
- package/lib/types/services/ime-input-manager.service.d.ts.map +0 -1
- package/lib/types/services/text-selection-manager.service.d.ts.map +0 -1
- package/lib/types/shortcuts/core-editing.shortcut.d.ts.map +0 -1
- package/lib/types/shortcuts/cursor.shortcut.d.ts.map +0 -1
- package/lib/types/views/doc-canvas-view.d.ts.map +0 -1
|
@@ -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
|
import type { IUniverInstanceService, Nullable } from '@univerjs/core';
|
|
2
17
|
import type { Documents, Engine, IRenderManagerService, Scene } from '@univerjs/engine-render';
|
|
3
18
|
export interface IDocObjectParam {
|
|
@@ -7,4 +22,3 @@ export interface IDocObjectParam {
|
|
|
7
22
|
}
|
|
8
23
|
export declare function getDocObject(univerInstanceService: IUniverInstanceService, renderManagerService: IRenderManagerService): Nullable<IDocObjectParam>;
|
|
9
24
|
export declare function getDocObjectById(unitId: string, renderManagerService: IRenderManagerService): Nullable<IDocObjectParam>;
|
|
10
|
-
//# sourceMappingURL=component-tools.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 { IDocumentData } from '@univerjs/core';
|
|
2
17
|
export declare const DOCS_DEMO_DATA: IDocumentData;
|
|
3
|
-
//# sourceMappingURL=demo-data.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
|
export declare enum DOCS_VIEW_KEY {
|
|
2
17
|
MAIN = "__Document_Render_Main__"
|
|
3
18
|
}
|
|
@@ -11,4 +26,3 @@ export declare const DOCS_COMPONENT_MAIN_LAYER_INDEX = 0;
|
|
|
11
26
|
export declare const DOCS_COMPONENT_HEADER_LAYER_INDEX = 2;
|
|
12
27
|
export declare const DOCS_COMPONENT_DEFAULT_Z_INDEX = 10;
|
|
13
28
|
export declare const NORMAL_TEXT_SELECTION_PLUGIN_NAME = "normalTextSelectionPluginName";
|
|
14
|
-
//# sourceMappingURL=docs-view-key.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 { IDeleteMutationParams, IRetainMutationParams, ITextRange } from '@univerjs/core';
|
|
2
17
|
export declare function getRetainAndDeleteFromReplace(range: ITextRange, segmentId?: string, memoryCursor?: number): Array<IRetainMutationParams | IDeleteMutationParams>;
|
|
3
|
-
//# sourceMappingURL=retain-delete-params.d.ts.map
|
|
@@ -1,2 +1,16 @@
|
|
|
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 {};
|
|
2
|
-
//# sourceMappingURL=clipboard.command.spec.d.ts.map
|
|
@@ -1,2 +1,16 @@
|
|
|
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 {};
|
|
2
|
-
//# sourceMappingURL=core-editing.command.spec.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
|
import type { IDocumentData } from '@univerjs/core';
|
|
2
17
|
import { Univer } from '@univerjs/core';
|
|
3
18
|
import type { Dependency } from '@wendellhu/redi';
|
|
@@ -13,4 +28,3 @@ export declare function createCommandTestBed(workbookConfig?: IDocumentData, dep
|
|
|
13
28
|
};
|
|
14
29
|
doc: import("@univerjs/core").DocumentDataModel;
|
|
15
30
|
};
|
|
16
|
-
//# sourceMappingURL=create-command-test-bed.d.ts.map
|
|
@@ -1,2 +1,16 @@
|
|
|
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 {};
|
|
2
|
-
//# sourceMappingURL=inline-format.command.spec.d.ts.map
|
|
@@ -1,2 +1,16 @@
|
|
|
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 {};
|
|
2
|
-
//# sourceMappingURL=replace-content.command.spec.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 { IMultiCommand } from '@univerjs/core';
|
|
2
17
|
export declare const DocCopyCommand: IMultiCommand;
|
|
3
18
|
export declare const DocCutCommand: IMultiCommand;
|
|
4
19
|
export declare const DocPasteCommand: IMultiCommand;
|
|
5
|
-
//# sourceMappingURL=clipboard.command.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
|
import type { ICommand, IDocumentBody } from '@univerjs/core';
|
|
2
17
|
import type { ITextRangeWithStyle } from '@univerjs/engine-render';
|
|
3
18
|
export interface IInnerPasteCommandParams {
|
|
@@ -11,4 +26,3 @@ export interface IInnerCutCommandParams {
|
|
|
11
26
|
textRanges: ITextRangeWithStyle[];
|
|
12
27
|
}
|
|
13
28
|
export declare const CutContentCommand: ICommand<IInnerCutCommandParams>;
|
|
14
|
-
//# sourceMappingURL=clipboard.inner.command.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
|
import type { ICommand, IDocumentBody, IDocumentData, ITextRange, UpdateDocsAttributeType } from '@univerjs/core';
|
|
2
17
|
import type { ITextRangeWithStyle } from '@univerjs/engine-render';
|
|
3
18
|
export declare const DeleteLeftCommand: ICommand;
|
|
@@ -23,6 +38,7 @@ export interface IDeleteCommandParams {
|
|
|
23
38
|
range: ITextRange;
|
|
24
39
|
direction: DeleteDirection;
|
|
25
40
|
textRanges: ITextRangeWithStyle[];
|
|
41
|
+
len?: number;
|
|
26
42
|
segmentId?: string;
|
|
27
43
|
}
|
|
28
44
|
/**
|
|
@@ -46,4 +62,3 @@ export interface ICoverCommandParams {
|
|
|
46
62
|
snapshot?: IDocumentData;
|
|
47
63
|
clearUndoRedoStack?: boolean;
|
|
48
64
|
}
|
|
49
|
-
//# sourceMappingURL=core-editing.command.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
|
import type { ICommand, ITextRange } from '@univerjs/core';
|
|
2
17
|
import type { ITextRangeWithStyle } from '@univerjs/engine-render';
|
|
3
18
|
export interface IIMEInputCommandParams {
|
|
@@ -10,4 +25,3 @@ export interface IIMEInputCommandParams {
|
|
|
10
25
|
segmentId?: string;
|
|
11
26
|
}
|
|
12
27
|
export declare const IMEInputCommand: ICommand<IIMEInputCommandParams>;
|
|
13
|
-
//# sourceMappingURL=ime-input.command.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
|
import type { ICommand } from '@univerjs/core';
|
|
2
17
|
export interface ISetInlineFormatCommandParams {
|
|
3
18
|
segmentId: string;
|
|
@@ -12,4 +27,3 @@ export declare const SetInlineFormatFontSizeCommand: ICommand;
|
|
|
12
27
|
export declare const SetInlineFormatFontFamilyCommand: ICommand;
|
|
13
28
|
export declare const SetInlineFormatTextColorCommand: ICommand;
|
|
14
29
|
export declare const SetInlineFormatCommand: ICommand<ISetInlineFormatCommandParams>;
|
|
15
|
-
//# sourceMappingURL=inline-format.command.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 { ICommand } from '@univerjs/core';
|
|
2
17
|
export declare const InsertDrawingCommand: ICommand;
|
|
3
|
-
//# sourceMappingURL=insert-floating-object.command.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 { ICommand } from '@univerjs/core';
|
|
2
17
|
export declare const RemoveDrawingCommand: ICommand;
|
|
3
|
-
//# sourceMappingURL=remove-floating-object.command.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
|
import type { ICommand, IDocumentBody } from '@univerjs/core';
|
|
2
17
|
import type { ITextRangeWithStyle } from '@univerjs/engine-render';
|
|
3
18
|
interface IReplaceContentCommandParams {
|
|
@@ -14,4 +29,3 @@ interface ICoverContentCommandParams {
|
|
|
14
29
|
}
|
|
15
30
|
export declare const CoverContentCommand: ICommand<ICoverContentCommandParams>;
|
|
16
31
|
export {};
|
|
17
|
-
//# sourceMappingURL=replace-content.command.d.ts.map
|
|
@@ -1,7 +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 type { ICommand } from '@univerjs/core';
|
|
2
17
|
export interface ISetDocZoomRatioCommandParams {
|
|
3
18
|
zoomRatio?: number;
|
|
4
19
|
documentId?: string;
|
|
5
20
|
}
|
|
6
21
|
export declare const SetDocZoomRatioCommand: ICommand;
|
|
7
|
-
//# sourceMappingURL=set-doc-zoom-ratio.command.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
|
import type { ICommand, ISize, ObjectPositionH, ObjectPositionV } from '@univerjs/core';
|
|
2
17
|
export interface ISetDrawingSizeCommandParams {
|
|
3
18
|
documentId: string;
|
|
@@ -12,4 +27,3 @@ export interface ISetDrawingPositionCommandParams {
|
|
|
12
27
|
positionV: ObjectPositionV;
|
|
13
28
|
}
|
|
14
29
|
export declare const SetDrawingPositionCommand: ICommand;
|
|
15
|
-
//# sourceMappingURL=set-floating-object-transform.command.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
|
import { type DocMutationParams, type IMutation } from '@univerjs/core';
|
|
2
17
|
export interface IRichTextEditingMutationParams {
|
|
3
18
|
unitId: string;
|
|
@@ -8,4 +23,3 @@ export interface IRichTextEditingMutationParams {
|
|
|
8
23
|
* send to undo redo service (will be used by the triggering command).
|
|
9
24
|
*/
|
|
10
25
|
export declare const RichTextEditingMutation: IMutation<IRichTextEditingMutationParams, IRichTextEditingMutationParams>;
|
|
11
|
-
//# sourceMappingURL=core-editing.mutation.d.ts.map
|
|
@@ -1,7 +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 type { IDrawing, IMutation } from '@univerjs/core';
|
|
2
17
|
import type { ISeachDrawingMutation } from './set-floating-object.mutation';
|
|
3
18
|
export interface IInsertDrawingMutation extends ISeachDrawingMutation {
|
|
4
19
|
drawing: IDrawing;
|
|
5
20
|
}
|
|
6
21
|
export declare const InsertDrawingMutation: IMutation<IInsertDrawingMutation>;
|
|
7
|
-
//# sourceMappingURL=insert-floating-object.mutation.d.ts.map
|
|
@@ -1,4 +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
|
import type { IMutation } from '@univerjs/core';
|
|
2
17
|
import type { ISeachDrawingMutation } from './set-floating-object.mutation';
|
|
3
18
|
export declare const RemoveDrawingMutation: IMutation<ISeachDrawingMutation>;
|
|
4
|
-
//# sourceMappingURL=remove-floating-object.mutation.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
|
import type { BooleanNumber, IMutation, ISize, ObjectPositionH, ObjectPositionV, PositionedObjectLayoutType, WrapTextType } from '@univerjs/core';
|
|
2
17
|
import type { IAccessor } from '@wendellhu/redi';
|
|
3
18
|
export interface ISeachDrawingMutation {
|
|
@@ -29,4 +44,3 @@ export interface IDrawingInfoMutation extends ISeachDrawingMutation {
|
|
|
29
44
|
description?: string;
|
|
30
45
|
}
|
|
31
46
|
export declare const SetDrawingInfoMutation: IMutation<IDrawingInfoMutation>;
|
|
32
|
-
//# sourceMappingURL=set-floating-object.mutation.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
|
import type { Direction, IOperation } from '@univerjs/core';
|
|
2
17
|
export interface IMoveCursorOperationParams {
|
|
3
18
|
direction: Direction;
|
|
@@ -10,4 +25,3 @@ export declare const MoveCursorOperation: IOperation<IMoveCursorOperationParams>
|
|
|
10
25
|
* The operation to move selection in the current document.
|
|
11
26
|
*/
|
|
12
27
|
export declare const MoveSelectionOperation: IOperation<IMoveCursorOperationParams>;
|
|
13
|
-
//# sourceMappingURL=cursor.operation.d.ts.map
|
|
@@ -1,6 +1,20 @@
|
|
|
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 { ICommand } from '@univerjs/core';
|
|
2
17
|
interface ISelectAllOperationParams {
|
|
3
18
|
}
|
|
4
19
|
export declare const SelectAllOperation: ICommand<ISelectAllOperationParams>;
|
|
5
20
|
export {};
|
|
6
|
-
//# sourceMappingURL=select-all.operation.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
|
import type { IOperation } from '@univerjs/core';
|
|
2
17
|
import type { IAccessor } from '@wendellhu/redi';
|
|
3
18
|
export interface ISetDocZoomRatioOperationParams {
|
|
@@ -6,4 +21,3 @@ export interface ISetDocZoomRatioOperationParams {
|
|
|
6
21
|
}
|
|
7
22
|
export declare const SetDocZoomRatioUndoMutationFactory: (accessor: IAccessor, params: ISetDocZoomRatioOperationParams) => ISetDocZoomRatioOperationParams;
|
|
8
23
|
export declare const SetDocZoomRatioOperation: IOperation<ISetDocZoomRatioOperationParams>;
|
|
9
|
-
//# sourceMappingURL=set-doc-zoom-ratio.operation.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
|
import type { IOperation } from '@univerjs/core';
|
|
2
17
|
import type { TextRange } from '@univerjs/engine-render';
|
|
3
18
|
export interface ISetTextSelectionsOperationParams {
|
|
@@ -6,4 +21,3 @@ export interface ISetTextSelectionsOperationParams {
|
|
|
6
21
|
ranges: TextRange[];
|
|
7
22
|
}
|
|
8
23
|
export declare const SetTextSelectionsOperation: IOperation<ISetTextSelectionsOperationParams>;
|
|
9
|
-
//# sourceMappingURL=text-selection.operation.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
|
import { Disposable, ICommandService, IContextService, ILogService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { IDocClipboardService } from '../services/clipboard/clipboard.service';
|
|
@@ -16,4 +31,3 @@ export declare class DocClipboardController extends Disposable {
|
|
|
16
31
|
private _handleCopy;
|
|
17
32
|
private _handleCut;
|
|
18
33
|
}
|
|
19
|
-
//# sourceMappingURL=clipboard.controller.d.ts.map
|