🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@univerjs/engine-render

Package Overview
Dependencies
Maintainers
5
Versions
650
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@univerjs/engine-render - npm Package Compare versions

Comparing version
0.21.0
to
0.21.1
+1
-0
lib/types/components/sheets/sheet.render-skeleton.d.ts

@@ -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;

+4
-4

@@ -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 @@ /**

{
"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