@univerjs/docs-ui 0.16.1 → 0.17.0
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/lib/cjs/index.js +15 -15
- package/lib/es/index.js +1815 -1810
- package/lib/index.js +1815 -1810
- package/lib/types/commands/util.d.ts +1 -1
- package/lib/types/controllers/doc-container-ui-controller.d.ts +1 -1
- package/lib/types/controllers/render-controllers/doc-contextmenu.render-controller.d.ts +2 -2
- package/lib/types/index.d.ts +3 -3
- package/lib/types/plugin.d.ts +3 -1
- package/lib/types/views/doc-container/DocContainer.d.ts +1 -1
- package/lib/umd/index.js +15 -15
- package/package.json +10 -10
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu → menu}/context-menu.d.ts +0 -0
- /package/lib/types/{controllers/menu → menu}/menu.d.ts +0 -0
- /package/lib/types/{controllers/menu → menu}/paragraph-menu.d.ts +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
2
1
|
import { DocumentDataModel, IAccessor } from '@univerjs/core';
|
|
2
|
+
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
3
3
|
/**
|
|
4
4
|
* Get the skeleton of the command's target.
|
|
5
5
|
* @param accessor The injection accessor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { IUniverDocsUIConfig } from '../config/config';
|
|
1
2
|
import { DocContainer } from '../views/doc-container/DocContainer';
|
|
2
|
-
import { IUniverDocsUIConfig } from './config.schema';
|
|
3
3
|
import { IConfigService, Injector, LocaleService } from '@univerjs/core';
|
|
4
4
|
export declare class DocContainerUIController {
|
|
5
5
|
private readonly _localeService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Disposable, ICommandService
|
|
2
|
-
import { IContextMenuService } from '@univerjs/ui';
|
|
1
|
+
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
3
2
|
import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
3
|
+
import { IContextMenuService } from '@univerjs/ui';
|
|
4
4
|
/**
|
|
5
5
|
* This controller subscribe to context menu events in sheet rendering views and invoke context menu at a correct
|
|
6
6
|
* position and with correct menu type.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import './global.css';
|
|
17
|
-
export { DocAutoFormatService } from '../../docs-ui/src/services/doc-auto-format.service';
|
|
18
17
|
export * from './basics';
|
|
19
18
|
export type { IDocObjectParam } from './basics/component-tools';
|
|
20
19
|
export { getDocObject, getDocObjectById, neoGetDocObject } from './basics/component-tools';
|
|
@@ -58,15 +57,16 @@ export { type IMoveCursorOperationParams, MoveSelectionOperation } from './comma
|
|
|
58
57
|
export { MoveCursorOperation } from './commands/operations/doc-cursor.operation';
|
|
59
58
|
export { type ISetDocZoomRatioOperationParams, SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
|
|
60
59
|
export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
|
|
61
|
-
export type { IUniverDocsUIConfig } from './
|
|
60
|
+
export type { IUniverDocsUIConfig } from './config/config';
|
|
62
61
|
export { DocUIController } from './controllers/doc-ui.controller';
|
|
63
|
-
export { menuSchema as DocsUIMenuSchema } from './controllers/menu.schema';
|
|
64
62
|
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
|
|
65
63
|
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
|
|
64
|
+
export { menuSchema as DocsUIMenuSchema } from './menu/schema';
|
|
66
65
|
export { UniverDocsUIPlugin } from './plugin';
|
|
67
66
|
export * from './services';
|
|
68
67
|
export { IDocClipboardService } from './services/clipboard/clipboard.service';
|
|
69
68
|
export { convertBodyToHtml } from './services/clipboard/udm-to-html/convertor';
|
|
69
|
+
export { DocAutoFormatService } from './services/doc-auto-format.service';
|
|
70
70
|
export { DocEventManagerService } from './services/doc-event-manager.service';
|
|
71
71
|
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
|
|
72
72
|
export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IUniverDocsUIConfig } from './
|
|
1
|
+
import { IUniverDocsUIConfig } from './config/config';
|
|
2
2
|
import { ICommandService, IConfigService, ILogService, Injector, Plugin } from '@univerjs/core';
|
|
3
3
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
4
|
export declare class UniverDocsUIPlugin extends Plugin {
|
|
@@ -9,6 +9,8 @@ export declare class UniverDocsUIPlugin extends Plugin {
|
|
|
9
9
|
private _logService;
|
|
10
10
|
private readonly _configService;
|
|
11
11
|
static pluginName: string;
|
|
12
|
+
static packageName: string;
|
|
13
|
+
static version: string;
|
|
12
14
|
constructor(_config: Partial<IUniverDocsUIConfig> | undefined, _injector: Injector, _renderManagerSrv: IRenderManagerService, _commandService: ICommandService, _logService: ILogService, _configService: IConfigService);
|
|
13
15
|
onReady(): void;
|
|
14
16
|
onRendered(): void;
|