@univerjs/engine-render
Advanced tools
@@ -72,2 +72,3 @@ /** | ||
| constructor(worksheet: Worksheet, _styles: Styles, _localeService: LocaleService, _contextService: IContextService, _configService: IConfigService, _injector: Injector); | ||
| registerGetCellHeight(): void; | ||
| setScene(scene: Scene): void; | ||
@@ -74,0 +75,0 @@ _updateLayout(): void; |
@@ -16,3 +16,3 @@ /** | ||
| */ | ||
| import type { Dependency, DependencyIdentifier, IDisposable, Nullable, UnitModel } from '@univerjs/core'; | ||
| import type { Dependency, DependencyIdentifier, ICreateUnitOptions, IDisposable, Nullable, UnitModel } from '@univerjs/core'; | ||
| import type { Observable } from 'rxjs'; | ||
@@ -35,3 +35,3 @@ import type { BaseObject } from '../base-object'; | ||
| */ | ||
| createRender(unitId: string): IRender; | ||
| createRender(unitId: string, createUnitOptions?: ICreateUnitOptions): IRender; | ||
| removeRender(unitId: string): void; | ||
@@ -102,3 +102,3 @@ /** | ||
| */ | ||
| createRender(unitId: string): IRender; | ||
| createRender(unitId: string, createUnitOptions?: ICreateUnitOptions): IRender; | ||
| getAllRenderersOfType(type: UniverInstanceType): RenderUnit[]; | ||
@@ -118,3 +118,3 @@ /** | ||
| */ | ||
| protected _createRender(unitId: string, engine: Engine, isMainScene?: boolean): IRender; | ||
| protected _createRender(unitId: string, engine: Engine, isMainScene?: boolean, createUnitOptions?: ICreateUnitOptions): IRender; | ||
| addRender(unitId: string, renderUnit: IRender): void; | ||
@@ -121,0 +121,0 @@ private _addRenderUnit; |
@@ -16,3 +16,3 @@ /** | ||
| */ | ||
| import type { Dependency, DependencyIdentifier, IDisposable, Nullable, UnitModel, UniverInstanceType } from '@univerjs/core'; | ||
| import type { Dependency, DependencyIdentifier, ICreateUnitOptions, IDisposable, Nullable, UnitModel, UniverInstanceType } from '@univerjs/core'; | ||
| import type { Observable } from 'rxjs'; | ||
@@ -89,3 +89,5 @@ import type { Engine } from '../engine'; | ||
| get components(): Map<string, RenderComponentType>; | ||
| constructor(init: Pick<IRenderContext, 'engine' | 'scene' | 'isMainScene' | 'unit'>, parentInjector: Injector); | ||
| constructor(init: Pick<IRenderContext, 'engine' | 'scene' | 'isMainScene' | 'unit'> & { | ||
| createUnitOptions?: ICreateUnitOptions; | ||
| }, parentInjector: Injector); | ||
| dispose(): void; | ||
@@ -92,0 +94,0 @@ /** |
+3
-3
| { | ||
| "name": "@univerjs/engine-render", | ||
| "version": "0.21.0", | ||
| "version": "0.21.1", | ||
| "private": false, | ||
@@ -56,3 +56,3 @@ "description": "UniverSheet normal base-render", | ||
| "opentype.js": "^1.3.4", | ||
| "@univerjs/core": "0.21.0" | ||
| "@univerjs/core": "0.21.1" | ||
| }, | ||
@@ -67,3 +67,3 @@ "devDependencies": { | ||
| "vitest": "^4.1.4", | ||
| "@univerjs-infra/shared": "0.21.0" | ||
| "@univerjs-infra/shared": "0.21.1" | ||
| }, | ||
@@ -70,0 +70,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
19764576
0.01%120772
0.01%0
-100%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated