@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 { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -13,4 +28,3 @@ export declare class DeleteController extends Disposable {
|
|
|
13
28
|
private _handleDeleteRight;
|
|
14
29
|
private _getTextRangesWhenDelete;
|
|
15
30
|
}
|
|
16
|
-
//# sourceMappingURL=delete.controller.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 { Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
-
import type { DocumentSkeleton, IRender } from '@univerjs/engine-render';
|
|
3
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
5
19
|
export declare class DocRenderController extends Disposable {
|
|
@@ -8,7 +22,6 @@ export declare class DocRenderController extends Disposable {
|
|
|
8
22
|
private readonly _commandService;
|
|
9
23
|
constructor(_docSkeletonManagerService: DocSkeletonManagerService, _renderManagerService: IRenderManagerService, _commandService: ICommandService);
|
|
10
24
|
private _initialRenderRefresh;
|
|
11
|
-
|
|
25
|
+
private _recalculateSizeBySkeleton;
|
|
12
26
|
private _commandExecutedListener;
|
|
13
27
|
}
|
|
14
|
-
//# sourceMappingURL=doc-render.controller.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, IFloatingObjectManagerService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -16,4 +31,3 @@ export declare class FloatingObjectController extends Disposable {
|
|
|
16
31
|
private _commandExecutedListener;
|
|
17
32
|
private _refreshFloatingObject;
|
|
18
33
|
}
|
|
19
|
-
//# sourceMappingURL=floating-object.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -26,4 +41,3 @@ export declare class IMEInputController extends Disposable {
|
|
|
26
41
|
private _resetIME;
|
|
27
42
|
private _getDocObject;
|
|
28
43
|
}
|
|
29
|
-
//# sourceMappingURL=ime-input.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { TextSelectionManagerService } from '../services/text-selection-manager.service';
|
|
@@ -15,4 +30,3 @@ export declare class InlineFormatController extends Disposable {
|
|
|
15
30
|
private _commandExecutedListener;
|
|
16
31
|
private _handleInlineFormat;
|
|
17
32
|
}
|
|
18
|
-
//# sourceMappingURL=inline-format.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -17,4 +32,3 @@ export declare class LineBreakInputController extends Disposable {
|
|
|
17
32
|
private _handleBreakLine;
|
|
18
33
|
private _getDocObject;
|
|
19
34
|
}
|
|
20
|
-
//# sourceMappingURL=line-break-input.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -22,4 +37,3 @@ export declare class MoveCursorController extends Disposable {
|
|
|
22
37
|
private _getNextOrPrevLine;
|
|
23
38
|
private _getDocObject;
|
|
24
39
|
}
|
|
25
|
-
//# sourceMappingURL=move-cursor.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -17,4 +32,3 @@ export declare class NormalInputController extends Disposable {
|
|
|
17
32
|
private _commandExecutedListener;
|
|
18
33
|
private _getDocObject;
|
|
19
34
|
}
|
|
20
|
-
//# sourceMappingURL=normal-input.controller.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 } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
export declare class PageRenderController extends Disposable {
|
|
@@ -7,4 +22,3 @@ export declare class PageRenderController extends Disposable {
|
|
|
7
22
|
private _initialRenderRefresh;
|
|
8
23
|
private _commandExecutedListener;
|
|
9
24
|
}
|
|
10
|
-
//# sourceMappingURL=page-render.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -25,4 +40,3 @@ export declare class TextSelectionController extends Disposable {
|
|
|
25
40
|
private _commandExecutedListener;
|
|
26
41
|
private _skeletonListener;
|
|
27
42
|
}
|
|
28
|
-
//# sourceMappingURL=text-selection.controller.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, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { DocSkeletonManagerService } from '../services/doc-skeleton-manager.service';
|
|
@@ -19,4 +34,3 @@ export declare class ZoomController extends Disposable {
|
|
|
19
34
|
private _calculatePagePosition;
|
|
20
35
|
private _getDocObject;
|
|
21
36
|
}
|
|
22
|
-
//# sourceMappingURL=zoom.controller.d.ts.map
|
|
@@ -1,19 +1,33 @@
|
|
|
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 { IConfigService, IUniverInstanceService, LocaleService, Plugin, PluginType } from '@univerjs/core';
|
|
2
17
|
import { Injector } from '@wendellhu/redi';
|
|
3
|
-
export interface
|
|
18
|
+
export interface IUniverDocsConfig {
|
|
4
19
|
hasScroll?: boolean;
|
|
5
20
|
}
|
|
6
|
-
export declare class
|
|
21
|
+
export declare class UniverDocsPlugin extends Plugin {
|
|
7
22
|
_injector: Injector;
|
|
8
23
|
private readonly _localeService;
|
|
9
24
|
private readonly _configService;
|
|
10
25
|
private readonly _currentUniverService;
|
|
11
26
|
static type: PluginType;
|
|
12
27
|
private _config;
|
|
13
|
-
constructor(config: Partial<
|
|
28
|
+
constructor(config: Partial<IUniverDocsConfig> | undefined, _injector: Injector, _localeService: LocaleService, _configService: IConfigService, _currentUniverService: IUniverInstanceService);
|
|
14
29
|
initialize(): void;
|
|
15
30
|
private _initializeCommands;
|
|
16
31
|
onReady(): void;
|
|
17
32
|
private _initializeDependencies;
|
|
18
33
|
}
|
|
19
|
-
//# sourceMappingURL=doc-plugin.d.ts.map
|
package/lib/types/index.d.ts
CHANGED
|
@@ -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 { getDocObject } from './basics/component-tools';
|
|
2
17
|
export * from './basics/docs-view-key';
|
|
3
18
|
export { DocCopyCommand, DocCutCommand, DocPasteCommand } from './commands/commands/clipboard.command';
|
|
@@ -8,8 +23,7 @@ export { CoverContentCommand, ReplaceContentCommand } from './commands/commands/
|
|
|
8
23
|
export { type IRichTextEditingMutationParams, RichTextEditingMutation, } from './commands/mutations/core-editing.mutation';
|
|
9
24
|
export { MoveCursorOperation, MoveSelectionOperation } from './commands/operations/cursor.operation';
|
|
10
25
|
export { type ISetTextSelectionsOperationParams, SetTextSelectionsOperation, } from './commands/operations/text-selection.operation';
|
|
11
|
-
export {
|
|
26
|
+
export { type IUniverDocsConfig, UniverDocsPlugin } from './doc-plugin';
|
|
12
27
|
export { DocSkeletonManagerService } from './services/doc-skeleton-manager.service';
|
|
13
28
|
export { DocViewModelManagerService } from './services/doc-view-model-manager.service';
|
|
14
29
|
export { TextSelectionManagerService } from './services/text-selection-manager.service';
|
|
15
|
-
//# sourceMappingURL=index.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=html-and-udm-convert.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 { IDocumentBody } from '@univerjs/core';
|
|
2
17
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
3
18
|
import { IClipboardInterfaceService } from '@univerjs/ui';
|
|
@@ -25,4 +40,3 @@ export declare class DocClipboardService extends Disposable implements IDocClipb
|
|
|
25
40
|
setClipboardData(documentBodyList: IDocumentBody[]): Promise<void>;
|
|
26
41
|
addClipboardHook(hook: IDocClipboardHook): IDisposable;
|
|
27
42
|
}
|
|
28
|
-
//# sourceMappingURL=clipboard.service.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 { IDocumentBody } from '@univerjs/core';
|
|
2
17
|
export declare function genId(): string;
|
|
3
18
|
export declare function extractId(html: string): string | null;
|
|
@@ -8,4 +23,3 @@ export declare class CopyContentCache {
|
|
|
8
23
|
clear(): void;
|
|
9
24
|
}
|
|
10
25
|
export declare const copyContentCache: CopyContentCache;
|
|
11
|
-
//# sourceMappingURL=copy-content-cache.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 { IDocumentBody } from '@univerjs/core';
|
|
2
17
|
import type { IPastePlugin } from './paste-plugins/type';
|
|
3
18
|
/**
|
|
@@ -13,4 +28,3 @@ export declare class HtmlToUDMService {
|
|
|
13
28
|
convert(html: string): IDocumentBody;
|
|
14
29
|
private process;
|
|
15
30
|
}
|
|
16
|
-
//# sourceMappingURL=converter.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 { ITextStyle } from '@univerjs/core';
|
|
2
17
|
export declare function extractNodeStyle(node: HTMLElement): ITextStyle;
|
|
3
|
-
//# sourceMappingURL=parse-node-style.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 default function parseToDom(rawHtml: string): Element | null;
|
|
2
|
-
//# sourceMappingURL=parse-to-dom.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 { IPastePlugin } from './type';
|
|
2
17
|
declare const wordPastePlugin: IPastePlugin;
|
|
3
18
|
export default wordPastePlugin;
|
|
4
|
-
//# sourceMappingURL=plugin-lark.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 { IPastePlugin } from './type';
|
|
2
17
|
declare const wordPastePlugin: IPastePlugin;
|
|
3
18
|
export default wordPastePlugin;
|
|
4
|
-
//# sourceMappingURL=plugin-word.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 { IDocumentBody, ITextStyle } from '@univerjs/core';
|
|
2
17
|
export interface IStyleRule {
|
|
3
18
|
filter: string | string[] | ((node: HTMLElement) => boolean);
|
|
@@ -13,4 +28,3 @@ export interface IPastePlugin {
|
|
|
13
28
|
stylesRules: IStyleRule[];
|
|
14
29
|
afterProcessRules: IAfterProcessRule[];
|
|
15
30
|
}
|
|
16
|
-
//# sourceMappingURL=type.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 { IParagraphStyle, Nullable } from '@univerjs/core';
|
|
2
17
|
export declare function getParagraphStyle(el: HTMLElement): Nullable<IParagraphStyle>;
|
|
3
18
|
export declare function ptToPixel(pt: number): number;
|
|
4
|
-
//# sourceMappingURL=utils.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 { IDocumentBody } from '@univerjs/core';
|
|
2
17
|
export declare class UDMToHtmlService {
|
|
3
18
|
convert(bodyList: IDocumentBody[]): string;
|
|
4
19
|
}
|
|
5
|
-
//# sourceMappingURL=convertor.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 { Nullable } from '@univerjs/core';
|
|
2
17
|
import { LocaleService } from '@univerjs/core';
|
|
3
18
|
import { DocumentSkeleton } from '@univerjs/engine-render';
|
|
@@ -33,4 +48,3 @@ export declare class DocSkeletonManagerService implements IDisposable {
|
|
|
33
48
|
getSkeletonByUnitId(unitId: string): Nullable<IDocSkeletonManagerParam>;
|
|
34
49
|
private _buildSkeleton;
|
|
35
50
|
}
|
|
36
|
-
//# sourceMappingURL=doc-skeleton-manager.service.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 { Nullable } from '@univerjs/core';
|
|
2
17
|
import { IUniverInstanceService } from '@univerjs/core';
|
|
3
18
|
import { DocumentViewModel } from '@univerjs/engine-render';
|
|
@@ -22,4 +37,3 @@ export declare class DocViewModelManagerService implements IDisposable {
|
|
|
22
37
|
setCurrent(unitId: string): void;
|
|
23
38
|
private _buildDocViewModel;
|
|
24
39
|
}
|
|
25
|
-
//# sourceMappingURL=doc-view-model-manager.service.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 { Nullable } from '@univerjs/core';
|
|
2
17
|
import type { ITextRangeWithStyle } from '@univerjs/engine-render';
|
|
3
18
|
import type { IDisposable } from '@wendellhu/redi';
|
|
@@ -16,4 +31,3 @@ export declare class IMEInputManagerService implements IDisposable {
|
|
|
16
31
|
} | null;
|
|
17
32
|
dispose(): void;
|
|
18
33
|
}
|
|
19
|
-
//# sourceMappingURL=ime-input-manager.service.d.ts.map
|