New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@univerjs/sheets

Package Overview
Dependencies
Maintainers
5
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@univerjs/sheets - npm Package Compare versions

Comparing version 0.3.0-alpha.1 to 0.3.0-nightly.202410101606

2

lib/types/commands/commands/set-border-command.d.ts

@@ -1,2 +0,2 @@

import { BorderType, BorderStyleTypes, ICommand } from '@univerjs/core';
import { BorderStyleTypes, ICommand, BorderType } from '@univerjs/core';
import { IBorderInfo } from '../../services/border-style-manager.service';

@@ -3,0 +3,0 @@ export interface ISetBorderBasicCommandParams {

@@ -1,2 +0,2 @@

import { IPermissionService, IRange } from '@univerjs/core';
import { IRange, IPermissionService } from '@univerjs/core';
import { UnitAction } from '@univerjs/protocol';

@@ -3,0 +3,0 @@ import { RangeProtectionRuleModel } from './range-protection-rule.model';

@@ -11,2 +11,4 @@ import { IRange, Disposable, IPermissionService, IUniverInstanceService } from '@univerjs/core';

private readonly _cellInfoCache;
private readonly _rowInfoCache;
private readonly _colInfoCache;
constructor(_ruleModel: RangeProtectionRuleModel, _permissionService: IPermissionService, _univerInstanceService: IUniverInstanceService);

@@ -18,5 +20,9 @@ private _initCache;

private _ensureCellInfoMap;
private _ensureRowColInfoMap;
private _addCellRuleCache;
private _deleteCellRuleCache;
reBuildCache(unitId: string, subUnitId: string): void;
getRowPermissionInfo(unitId: string, subUnitId: string, row: number, types: UnitAction[]): boolean;
getColPermissionInfo(unitId: string, subUnitId: string, col: number, types: UnitAction[]): boolean;
private _initUpdateRowColInfoCache;
getCellInfo(unitId: string, subUnitId: string, row: number, col: number): (Partial<Record<UnitAction, boolean>> & {

@@ -23,0 +29,0 @@ ruleId?: string;

@@ -13,2 +13,3 @@ import { ICellData, IRange, Nullable, ObjectMatrix } from '@univerjs/core';

}
export declare const INumfmtService: import('@wendellhu/redi').IdentifierDecorator<INumfmtService>;
export interface INumfmtService {

@@ -22,2 +23,1 @@ getValue(unitId: string, subUnitId: string, row: number, col: number, model?: ObjectMatrix<INumfmtItem>): Nullable<INumfmtItemWithCache>;

}
export declare const INumfmtService: import('@wendellhu/redi').IdentifierDecorator<INumfmtService>;

@@ -10,2 +10,3 @@ import { IMutationInfo, Disposable, DisposableCollection, ICommandService, IUniverInstanceService } from '@univerjs/core';

import { RefRangeService } from '../../../services/ref-range/ref-range.service';
import { SheetInterceptorService } from '../../sheet-interceptor/sheet-interceptor.service';
export declare class RangeProtectionRefRangeService extends Disposable {

@@ -18,4 +19,6 @@ private _selectionProtectionRuleModel;

private readonly _rangeProtectionCache;
private readonly _sheetInterceptorService;
private readonly _rangeProtectionRuleModel;
disposableCollection: DisposableCollection;
constructor(_selectionProtectionRuleModel: RangeProtectionRuleModel, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _refRangeService: RefRangeService, _selectionProtectionRenderModel: RangeProtectionRenderModel, _rangeProtectionCache: RangeProtectionCache);
constructor(_selectionProtectionRuleModel: RangeProtectionRuleModel, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService, _refRangeService: RefRangeService, _selectionProtectionRenderModel: RangeProtectionRenderModel, _rangeProtectionCache: RangeProtectionCache, _sheetInterceptorService: SheetInterceptorService, _rangeProtectionRuleModel: RangeProtectionRuleModel);
private _onRefRangeChange;

@@ -44,2 +47,3 @@ refRangeHandle(config: EffectRefRangeParams, unitId: string, subUnitId: string): {

private _initReBuildCache;
private _initRemoveSheet;
}
import { Injector, IPermissionService, IResourceManagerService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
import { RangeProtectionRuleModel } from '../../../model/range-protection-rule.model';
import { WorksheetProtectionPointModel } from './worksheet-permission-point.model';
import { WorksheetProtectionRuleModel } from './worksheet-permission-rule.model';
import { WorksheetProtectionPointModel } from './worksheet-permission-point.model';
export declare const RULE_MODEL_PLUGIN_NAME = "SHEET_WORKSHEET_PROTECTION_PLUGIN";

@@ -6,0 +6,0 @@ export declare const POINT_MODEL_PLUGIN_NAME = "SHEET_WORKSHEET_PROTECTION_POINT_PLUGIN";

import { IDisposable, IMutationInfo, IRange, Nullable, Disposable, ICommandService, InterceptorManager, IUniverInstanceService } from '@univerjs/core';
import { EffectRefRangeParams } from './type';
import { SheetsSelectionsService } from '../selections/selection-manager.service';
import { SheetInterceptorService } from '../sheet-interceptor/sheet-interceptor.service';
import { EffectRefRangeParams } from './type';
type RefRangCallback = (params: EffectRefRangeParams) => {

@@ -6,0 +6,0 @@ redos: IMutationInfo[];

@@ -1,2 +0,2 @@

import { Disposable, InterceptorEffectEnum, IUniverInstanceService, ICommandInfo, IDisposable, IInterceptor, IRange, IUndoRedoCommandInfosByInterceptor, Nullable } from '@univerjs/core';
import { ICommandInfo, IDisposable, IInterceptor, IRange, IUndoRedoCommandInfosByInterceptor, Nullable, Disposable, InterceptorEffectEnum, IUniverInstanceService } from '@univerjs/core';
export interface IBeforeCommandInterceptor {

@@ -3,0 +3,0 @@ priority?: number;

@@ -12,3 +12,5 @@ import { IUniverSheetsConfig } from './controllers/config.schema';

private _initDependencies;
onStarting(_injector?: Injector): void;
onStarting(): void;
onRendered(): void;
onReady(): void;
}
{
"name": "@univerjs/sheets",
"version": "0.3.0-alpha.1",
"version": "0.3.0-nightly.202410101606",
"private": false,

@@ -51,14 +51,14 @@ "description": "UniverSheet normal base-sheets",

"rxjs": ">=7.0.0",
"@univerjs/core": "0.3.0-alpha.1",
"@univerjs/engine-formula": "0.3.0-alpha.1",
"@univerjs/rpc": "0.3.0-alpha.1",
"@univerjs/engine-numfmt": "0.3.0-alpha.1",
"@univerjs/sheets": "0.3.0-alpha.1"
"@univerjs/core": "0.3.0-nightly.202410101606",
"@univerjs/engine-formula": "0.3.0-nightly.202410101606",
"@univerjs/sheets": "0.3.0-nightly.202410101606",
"@univerjs/rpc": "0.3.0-nightly.202410101606",
"@univerjs/engine-numfmt": "0.3.0-nightly.202410101606"
},
"dependencies": {
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/core": "0.3.0-alpha.1",
"@univerjs/engine-numfmt": "0.3.0-alpha.1",
"@univerjs/rpc": "0.3.0-alpha.1",
"@univerjs/engine-formula": "0.3.0-alpha.1"
"@univerjs/core": "0.3.0-nightly.202410101606",
"@univerjs/engine-numfmt": "0.3.0-nightly.202410101606",
"@univerjs/engine-formula": "0.3.0-nightly.202410101606",
"@univerjs/rpc": "0.3.0-nightly.202410101606"
},

@@ -70,3 +70,3 @@ "devDependencies": {

"vitest": "^2.1.1",
"@univerjs-infra/shared": "0.3.0-alpha.1"
"@univerjs-infra/shared": "0.3.0"
},

@@ -92,5 +92,4 @@ "univerSpace": {

"lint:types": "tsc --noEmit",
"build": "tsc && vite build",
"sync:cnpm": "cnpm sync"
"build": "tsc && vite build"
}
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc