@univerjs/sheets-drawing-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 +2 -2
- package/lib/es/index.js +1108 -1099
- package/lib/index.js +1108 -1099
- package/lib/types/controllers/sheet-drawing-update.controller.d.ts +1 -1
- package/lib/types/index.d.ts +3 -3
- package/lib/types/plugin.d.ts +3 -1
- package/lib/umd/index.js +2 -2
- package/package.json +14 -14
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers → menu}/drawing-popup-menu.controller.d.ts +0 -0
- /package/lib/types/{views/menu → menu}/image.menu.d.ts +0 -0
- /package/lib/types/{views/menu → menu}/save-images.menu.d.ts +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
|
@@ -43,7 +43,7 @@ export declare class SheetDrawingUpdateController extends Disposable implements
|
|
|
43
43
|
private _getUnitInfo;
|
|
44
44
|
private _getImagePosition;
|
|
45
45
|
private _updateOrderListener;
|
|
46
|
-
private
|
|
46
|
+
private _updateDrawingListener;
|
|
47
47
|
private _getSheetTransformByParam;
|
|
48
48
|
private _groupDrawingListener;
|
|
49
49
|
private _focusDrawingListener;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import './global.css';
|
|
17
|
-
export { drawingPositionToTransform,
|
|
17
|
+
export { drawingPositionToTransform, transformToAxisAlignPosition, transformToDrawingPosition } from './basics/transform-position';
|
|
18
18
|
export { DeleteDrawingsCommand } from './commands/commands/delete-drawings.command';
|
|
19
19
|
export { GroupSheetDrawingCommand } from './commands/commands/group-sheet-drawing.command';
|
|
20
20
|
export { type IInsertImageCommandParams, InsertFloatImageCommand } from './commands/commands/insert-image.command';
|
|
@@ -29,10 +29,10 @@ export { UngroupSheetDrawingCommand } from './commands/commands/ungroup-sheet-dr
|
|
|
29
29
|
export { ClearSheetDrawingTransformerOperation } from './commands/operations/clear-drawing-transformer.operation';
|
|
30
30
|
export { EditSheetDrawingOperation } from './commands/operations/edit-sheet-drawing.operation';
|
|
31
31
|
export { SidebarSheetDrawingOperation } from './commands/operations/open-drawing-panel.operation';
|
|
32
|
-
export type { IUniverSheetsDrawingUIConfig } from './
|
|
32
|
+
export type { IUniverSheetsDrawingUIConfig } from './config/config';
|
|
33
33
|
export { SheetDrawingUpdateController } from './controllers/sheet-drawing-update.controller';
|
|
34
|
+
export { SHEETS_IMAGE_MENU_ID } from './menu/image.menu';
|
|
34
35
|
export { UniverSheetsDrawingUIPlugin } from './plugin';
|
|
35
36
|
export { BatchSaveImagesService, FileNamePart, type IBatchSaveImagesConfig, IBatchSaveImagesService, type ICellImageInfo } from './services/batch-save-images.service';
|
|
36
37
|
export { calcSheetFloatDomPosition, type ICanvasFloatDom, type ICanvasFloatDomInfo, type IDOMAnchor, SHEET_FLOAT_DOM_PREFIX, SheetCanvasFloatDomManagerService } from './services/canvas-float-dom-manager.service';
|
|
37
|
-
export { SHEETS_IMAGE_MENU_ID } from './views/menu/image.menu';
|
|
38
38
|
export { SheetDrawingAnchor } from './views/sheet-image-panel/SheetDrawingAnchor';
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IUniverSheetsDrawingUIConfig } from './
|
|
1
|
+
import { IUniverSheetsDrawingUIConfig } from './config/config';
|
|
2
2
|
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
3
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
4
|
export declare class UniverSheetsDrawingUIPlugin extends Plugin {
|
|
@@ -8,6 +8,8 @@ export declare class UniverSheetsDrawingUIPlugin extends Plugin {
|
|
|
8
8
|
private readonly _configService;
|
|
9
9
|
static type: UniverInstanceType;
|
|
10
10
|
static pluginName: string;
|
|
11
|
+
static packageName: string;
|
|
12
|
+
static version: string;
|
|
11
13
|
constructor(_config: Partial<IUniverSheetsDrawingUIConfig> | undefined, _injector: Injector, _renderManagerService: IRenderManagerService, _configService: IConfigService);
|
|
12
14
|
onStarting(): void;
|
|
13
15
|
onReady(): void;
|