@univerjs-pro/engine-formula-rust 1.0.0-rc.0 → 1.0.1

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.
@@ -1,29 +1,11 @@
1
1
  import { Buffer } from "node:buffer";
2
- import { FormulaDataModel, IAllRuntimeData, ICalculateFormulaService, IExecutionInProgressParams, IFeatureCalculationManagerService, IFeatureDirtyRangeType, IFormulaCurrentConfigService, IFormulaDatasetConfig, IFormulaDependencyGenerator, IFormulaDependencyTreeJson, IFormulaExecuteResultMap, IFormulaRuntimeService, IFormulaStringMap, IOtherFormulaManagerService, IRuntimeUnitDataType, ISetArrayFormulaDataMutationParams, ISetFormulaCalculationResultMutation, ISuperTableService, IUnitRowData, IUniverEngineFormulaConfig } from "@univerjs/engine-formula";
3
- import { Dependency, Disposable, ICommandService, IConfigService, IUnitRange as IUnitRange$1, IWorkbookData, Injector, Nullable } from "@univerjs/core";
2
+ import { FormulaDataModel, IAllRuntimeData, ICalculateFormulaService, IDefinedNamesService, IExecutionInProgressParams, IFeatureCalculationManagerService, IFeatureDirtyRangeType, IFormulaCurrentConfigService, IFormulaDatasetConfig, IFormulaDependencyGenerator, IFormulaDependencyTreeJson, IFormulaExecuteResultMap, IFormulaRuntimeService, IFormulaStringMap, IOtherFormulaManagerService, IRuntimeUnitDataType, ISetArrayFormulaDataMutationParams, ISetFormulaCalculationResultMutation, ISuperTableService, IUnitRowData, IUniverEngineFormulaConfig } from "@univerjs/engine-formula";
3
+ import { BooleanNumber, Dependency, Disposable, FormulaType, ICellData, ICommandService, IConfigService, IUnitRange as IUnitRange$1, IWorkbookData, Injector, Nullable } from "@univerjs/core";
4
4
  import { ExternalReferenceModel, IFormulaReferenceDataService, UniverProFormulaEnginePlugin } from "@univerjs-pro/engine-formula";
5
5
  import { Subject } from "rxjs";
6
6
  import { ISheetBlock, ISnapshot } from "@univerjs/protocol";
7
7
  //#region src/binding.d.ts
8
- interface INativeBinding {
9
- formulaEngineExecute(inputJson: string): string;
10
- formulaLexerTreeBuild(formula: string, transformSuffix?: boolean): string;
11
- formulaSequenceNodesBuild(formula: string): string;
12
- formulaCheckIfAddBracket(formula: string): number;
13
- rustNumfmtFormat(inputJson: string): string;
14
- rustNumfmtFormatBatch(inputJson: string): string;
15
- rustNumfmtParse(inputJson: string): string;
16
- rustNumfmtParseBatch(inputJson: string): string;
17
- rustNumfmtParseMatrixBatch(inputJson: string): string;
18
- rustNumfmtParseValue(inputJson: string): string;
19
- rustNumfmtAnalyzeFormat(inputJson: string): string;
20
- rustNumfmtAnalyzeBatch(inputJson: string): string;
21
- rustNumfmtFormatInfo(inputJson: string): string;
22
- rustNumfmtFormatDateInfo(inputJson: string): string;
23
- rustNumfmtFormatColor(inputJson: string): string;
24
- rustNumfmtDateToSerial(inputJson: string): string;
25
- rustNumfmtDateFromSerial(inputJson: string): string;
26
- rustNumfmtValidate(inputJson: string): string;
8
+ interface INativeFormulaEngine {
27
9
  rustEngineLoadSnapshot(snapshotJson: string): string;
28
10
  rustEngineLoadSnapshotBinary(snapshotBytes: Buffer): string;
29
11
  rustEngineLoadSingleSheetColumnarSnapshot(unitId: string, workbookName: string | undefined | null, sheetId: string, sheetName: string | undefined | null, rowCount: number, columnCount: number, rows: Buffer, cols: Buffer, valueTags: Buffer, numbers: Buffer, valueStringOffsets: Buffer, valueStringBytes: Buffer, formulaOffsets: Buffer, formulaBytes: Buffer): string;
@@ -45,6 +27,28 @@ interface INativeBinding {
45
27
  rustEngineClearFormulaDirty(): string;
46
28
  rustEngineExecuteDirtyFormulas(maxIteration?: number, includeCalculatedNodes?: boolean, includeRuntimeData?: boolean, includeResultBatches?: boolean): string;
47
29
  rustEngineGetFormulaNumberResultsColumnar(unitId: string, sheetId: string, startColumn?: number, endColumn?: number): Buffer;
30
+ dispose(): void;
31
+ }
32
+ interface INativeBinding extends Omit<INativeFormulaEngine, 'dispose'> {
33
+ formulaEngineExecute(inputJson: string): string;
34
+ formulaLexerTreeBuild(formula: string, transformSuffix?: boolean): string;
35
+ formulaSequenceNodesBuild(formula: string): string;
36
+ formulaCheckIfAddBracket(formula: string): number;
37
+ rustNumfmtFormat(inputJson: string): string;
38
+ rustNumfmtFormatBatch(inputJson: string): string;
39
+ rustNumfmtParse(inputJson: string): string;
40
+ rustNumfmtParseBatch(inputJson: string): string;
41
+ rustNumfmtParseMatrixBatch(inputJson: string): string;
42
+ rustNumfmtParseValue(inputJson: string): string;
43
+ rustNumfmtAnalyzeFormat(inputJson: string): string;
44
+ rustNumfmtAnalyzeBatch(inputJson: string): string;
45
+ rustNumfmtFormatInfo(inputJson: string): string;
46
+ rustNumfmtFormatDateInfo(inputJson: string): string;
47
+ rustNumfmtFormatColor(inputJson: string): string;
48
+ rustNumfmtDateToSerial(inputJson: string): string;
49
+ rustNumfmtDateFromSerial(inputJson: string): string;
50
+ rustNumfmtValidate(inputJson: string): string;
51
+ RustFormulaEngine: new () => INativeFormulaEngine;
48
52
  rustMaterializeWorkbookSnapshot(workbookJson: Buffer, unitId: string, rev: number, dirtyInputJson?: string): Promise<INativeMaterializedWorkbook>;
49
53
  }
50
54
  interface INativeMaterializedBlock {
@@ -85,6 +89,14 @@ declare function markRustFormulaDirtyOnRust(inputJson: string): string;
85
89
  declare function clearRustFormulaDependenciesOnRust(inputJson: string): string;
86
90
  declare function clearRustFormulaDirtyOnRust(): string;
87
91
  declare function materializeWorkbookSnapshotOnRust(workbookJson: Buffer, unitId: string, rev: number, dirtyInputJson?: string): Promise<INativeMaterializedWorkbook>;
92
+ /** Owns one native store. Loading and disposal never touch another session. */
93
+ declare class RustFormulaEngineSession {
94
+ private _engine;
95
+ private _disposed;
96
+ initialize(): Promise<void>;
97
+ get binding(): INativeFormulaEngine;
98
+ dispose(): void;
99
+ }
88
100
  //#endregion
89
101
  //#region src/types.d.ts
90
102
  /**
@@ -100,8 +112,10 @@ interface IFormulaExecutionInput {
100
112
  unitData: Record<string, Record<string, ISheetData>>;
101
113
  dirtyRanges: IUnitRange[];
102
114
  definedNames: Record<string, IDefinedName>;
115
+ queryFormulas?: Record<string, Record<string, Record<number, Record<number, string[]>>>>;
103
116
  }
104
117
  interface ISheetData {
118
+ name?: string;
105
119
  cellData: Record<number, Record<number, ICellValue>>;
106
120
  rowCount: number;
107
121
  columnCount: number;
@@ -111,11 +125,14 @@ interface ICellValue {
111
125
  t?: number;
112
126
  p?: unknown;
113
127
  f?: string;
128
+ ft?: FormulaType;
129
+ fd?: BooleanNumber;
114
130
  si?: string;
115
131
  ref?: string;
116
132
  dynamicArrayRef?: string;
117
133
  xf?: string;
118
134
  s?: unknown;
135
+ numberFormat?: string;
119
136
  displayPrecision?: number;
120
137
  }
121
138
  interface IUnitRange {
@@ -130,11 +147,17 @@ interface IRange {
130
147
  endColumn: number;
131
148
  }
132
149
  interface IDefinedName {
150
+ unitId?: string;
151
+ localSheetId?: string;
133
152
  name: string;
134
153
  formula?: string;
135
154
  range?: IRange;
136
155
  }
137
156
  interface IFormulaExecutionOutput {
157
+ queryResults?: Record<string, Record<string, Record<number, Record<number, Array<{
158
+ formula: string;
159
+ value: unknown;
160
+ }>>>>>;
138
161
  runtimeData: Record<string, Record<string, Record<number, Record<number, unknown>>>>;
139
162
  arrayFormulaRange: Record<string, Record<string, Record<number, Record<number, IRange>>>>;
140
163
  cycleDependencies: ICycleDependencyInfo[];
@@ -159,6 +182,7 @@ interface IRustEngineSnapshot {
159
182
  interface IRustWorkbookSnapshot {
160
183
  unitId: string;
161
184
  name?: string;
185
+ dateSystem?: 'date1900' | 'date1904';
162
186
  sheets: IRustSheetSnapshot[];
163
187
  calculation?: IRustWorkbookCalculationSnapshot;
164
188
  resources?: Record<string, IRustResourceSnapshot>;
@@ -513,6 +537,9 @@ interface IRustProjectionWorkbookInput {
513
537
  snapshot: IWorkbookData;
514
538
  unitId?: string;
515
539
  definedNames?: Record<string, IRustDefinedNameSnapshot>;
540
+ styleResolver?: {
541
+ getStyleByCell(cell: ICellData): unknown;
542
+ };
516
543
  }
517
544
  interface IFormulaCalculationError {
518
545
  code: string;
@@ -554,6 +581,8 @@ declare function createProjectionWorkbookUpsertMutation(input: IRustProjectionWo
554
581
  declare function rustExecutionOutputToFormulaCalculationPatch(output: IRustFormulaDependencyExecutionOutput): IFormulaCalculationPatch;
555
582
  declare function createFormulaProjectionDesyncSignal(reason: string, error: unknown, mutationId?: string): IFormulaProjectionDesyncSignal;
556
583
  declare class RustFormulaProjectionService {
584
+ readonly engine: RustFormulaEngineSession;
585
+ dispose(): void;
557
586
  private _nativeLoaded;
558
587
  load(workbooks: readonly IRustProjectionWorkbookInput[]): Promise<IRustFormulaProjectionLoadResult>;
559
588
  applyMutation(mutation: IRustEngineMutation): Promise<IRustFormulaProjectionMutationResult>;
@@ -575,6 +604,10 @@ declare class RustFormulaProjectionService {
575
604
  }
576
605
  //#endregion
577
606
  //#region src/controllers/rust-engine-sync.controller.d.ts
607
+ interface IRustEngineSyncState {
608
+ snapshotEpoch: number;
609
+ dependencyInvalidationEpoch: number;
610
+ }
578
611
  /**
579
612
  * Keeps Rust's in-memory formula workbook projection aligned with Univer.
580
613
  *
@@ -584,6 +617,11 @@ declare class RustFormulaProjectionService {
584
617
  */
585
618
  declare class RustEngineSyncController extends Disposable {
586
619
  private readonly _commandService;
620
+ readonly engine: RustFormulaEngineSession;
621
+ private readonly _syncState;
622
+ getSyncState(): IRustEngineSyncState;
623
+ private _markSnapshotLoaded;
624
+ private _markDependenciesInvalidated;
587
625
  private _nativeReady;
588
626
  private _snapshotLoaded;
589
627
  private _projectionLoadPromise;
@@ -612,7 +650,11 @@ declare class RustEngineSyncController extends Disposable {
612
650
  private _queueOrSyncMutation;
613
651
  private _flushPendingMutations;
614
652
  private _syncMutation;
615
- private _markProjectionDesynced;
653
+ /**
654
+ * Marks the native projection as out of sync so the next mutation reloads it.
655
+ * Also used by the projection controller when a background projection load fails.
656
+ */
657
+ markProjectionDesynced(): void;
616
658
  private _shouldSyncMutation;
617
659
  private _serializeMutation;
618
660
  }
@@ -820,6 +862,7 @@ declare class RustCalculateFormulaService extends Disposable implements IRustCal
820
862
  private readonly _formulaReferenceDataService;
821
863
  private readonly _excelExternalReferenceModel;
822
864
  private readonly _superTableService;
865
+ private readonly _definedNamesService;
823
866
  protected readonly _executionInProgressListener$: Subject<IExecutionInProgressParams>;
824
867
  readonly executionInProgressListener$: import("rxjs").Observable<IExecutionInProgressParams>;
825
868
  protected readonly _executionCompleteListener$: Subject<IAllRuntimeData>;
@@ -834,7 +877,7 @@ declare class RustCalculateFormulaService extends Disposable implements IRustCal
834
877
  private _externalRequestGeneration;
835
878
  private readonly _externalInflight;
836
879
  private readonly _externalCompleted;
837
- constructor(_configService: IConfigService, _currentConfigService: IFormulaCurrentConfigService, _runtimeService: IFormulaRuntimeService, _formulaDependencyGenerator: IFormulaDependencyGenerator, _featureCalculationManagerService: IFeatureCalculationManagerService, _otherFormulaManagerService: IOtherFormulaManagerService, _commandService: ICommandService, _rustEngineSyncController: RustEngineSyncController, _formulaDataModel: FormulaDataModel, _formulaReferenceDataService: IFormulaReferenceDataService, _excelExternalReferenceModel: ExternalReferenceModel, _superTableService: ISuperTableService);
880
+ constructor(_configService: IConfigService, _currentConfigService: IFormulaCurrentConfigService, _runtimeService: IFormulaRuntimeService, _formulaDependencyGenerator: IFormulaDependencyGenerator, _featureCalculationManagerService: IFeatureCalculationManagerService, _otherFormulaManagerService: IOtherFormulaManagerService, _commandService: ICommandService, _rustEngineSyncController: RustEngineSyncController, _formulaDataModel: FormulaDataModel, _formulaReferenceDataService: IFormulaReferenceDataService, _excelExternalReferenceModel: ExternalReferenceModel, _superTableService: ISuperTableService, _definedNamesService: IDefinedNamesService);
838
881
  dispose(): void;
839
882
  stopFormulaExecution(): void;
840
883
  setRuntimeFeatureCellData(featureId: string, featureData: IRuntimeUnitDataType): void;
@@ -862,6 +905,7 @@ declare class RustCalculateFormulaService extends Disposable implements IRustCal
862
905
  private _serializeCellData;
863
906
  private _applyRustOutput;
864
907
  private _applyRustDependencyOutput;
908
+ private _mergeRuntimeUnitData;
865
909
  calculate(formulaString: string): Promise<{} | null>;
866
910
  executeFormulas(formulas: IFormulaStringMap, rowData?: IUnitRowData): Promise<IFormulaExecuteResultMap>;
867
911
  getAllDependencyJson(_rowData?: IUnitRowData): Promise<IFormulaDependencyTreeJson[]>;
@@ -888,7 +932,7 @@ declare class RustCalculateFormulaService extends Disposable implements IRustCal
888
932
  dependents: IFormulaDependencyTreeJson[];
889
933
  inRanges: IFormulaDependencyTreeJson[];
890
934
  }>;
891
- private _formulaStringMapToFormulaData;
935
+ private _formulaStringMapToQueryData;
892
936
  private _formulaExecutionOutputToResultMap;
893
937
  private _getRustDependencyGraph;
894
938
  private _getRustInspectGraph;
@@ -923,4 +967,4 @@ interface IMaterializationCalculationStats {
923
967
  }
924
968
  declare function materializeWorkbookSnapshot(workbook: IWorkbookData, unitID: string, rev: number, dirtyInput?: IRustFormulaDependencyDirtyInput): Promise<IMaterializedWorkbookSnapshot>;
925
969
  //#endregion
926
- export { type IAnalyzeNumberFormatBatchInput, type IAnalyzeNumberFormatBatchOutput, ICellValue, ICycleDependencyInfo, IDefinedName, IExecutionError, type IFormatNumberBatchInput, type IFormatNumberBatchOutput, type IFormulaCalculationError, type IFormulaCalculationPatch, IFormulaEngineConfig, IFormulaExecutionInput, IFormulaExecutionOutput, type IFormulaProjectionDesyncSignal, type IMaterializationCalculationStats, type IMaterializedWorkbookSnapshot, type INumberFormatAnalysis, type INumberFormatDiagnostic, type INumberFormatOptions, type IObjectArrayPrimitiveType, type IObjectMatrixPrimitiveType, type IParseNumberFormatBatchInput, type IParseNumberFormatBatchOutput, type IParseNumberFormatMatrixBatchInput, type IParseNumberFormatMatrixBatchOutput, type IParseNumberFormatMatrixCell, type IParsedNumberFormatMatrixValue, type IParsedNumberFormatValue, IRange, IRustCalculateFormulaService, IRustDefinedNameSnapshot, IRustDependencyCalculationPlanItem, IRustDependencyCalculationTree, IRustDependencyCell, IRustDependencyDirtyResult, IRustDependencyGraph, IRustDependencyNode, IRustDependencyRange, IRustEngineModelStats, IRustEngineMutation, IRustEngineSnapshot, IRustExternalFeatureCalculation, IRustExternalLinkSnapshot, IRustExternalOtherFormula, IRustExternalSheetSnapshot, IRustFormulaDataItem, IRustFormulaDependencyClearInput, IRustFormulaDependencyDirtyInput, IRustFormulaDependencyDirtyOutput, IRustFormulaDependencyExecutionOutput, IRustFormulaDependencyInspectGraph, IRustFormulaDependencyInspectNode, IRustFormulaDependencyNodeOutput, IRustFormulaDependencySyncInput, IRustFormulaDependencySyncOutput, type IRustFormulaProjectionLoadResult, type IRustFormulaProjectionMutationResult, IRustFormulaStoreState, type IRustProjectionWorkbookInput, IRustResourceSnapshot, IRustSheetSnapshot, IRustSheetState, IRustTableSnapshot, IRustVisibilityData, IRustWorkbookCalculationSnapshot, IRustWorkbookSnapshot, ISheetData, IUnitRange, type IUniverRustFormulaEngineConfig, type NumberFormatDateSystem, RUST_FORMULA_RELEVANT_MUTATIONS, RUST_INCREMENTAL_DEPENDENCY_MUTATIONS, RUST_UPSERT_PROJECTION_WORKBOOK_MUTATION_ID, RUST_UPSERT_REFERENCE_DATA_MUTATION_ID, RustCalculateFormulaService, RustEngineSyncController, RustFormulaProjectionService, UniverRustFormulaEnginePlugin, analyzeNumberFormatBatch, applyMutationOnRust, buildLexerTreeOnRust, buildRustDependencyGraphOnRust, buildSequenceNodesOnRust, checkIfAddBracketOnRust, clearRustFormulaDependenciesOnRust, clearRustFormulaDirtyOnRust, createFormulaProjectionDesyncSignal, createProjectionWorkbookUpsertMutation, disposeAllWorkbooksOnRust, disposeWorkbookOnRust, executeOnRust, formatNumberBatch, getNativeBindingSource, getRustCellOnRust, getRustDirtyDependenciesOnRust, getRustFormulaDataOnRust, getRustModelStats, getRustSheetStateOnRust, isRustFormulaRelevantMutation, isRustIncrementalDependencyMutation, loadNativeBinding, loadSnapshotOnRust, markRustFormulaDirtyOnRust, materializeWorkbookSnapshot, materializeWorkbookSnapshotOnRust, parseNumberFormatBatch, parseNumberFormatMatrixBatch, rustExecutionOutputToFormulaCalculationPatch, serializeRuntimeWorkbookSnapshot, serializeRuntimeWorkbookSnapshots, syncRustFormulaDependenciesOnRust };
970
+ export { type IAnalyzeNumberFormatBatchInput, type IAnalyzeNumberFormatBatchOutput, ICellValue, ICycleDependencyInfo, IDefinedName, IExecutionError, type IFormatNumberBatchInput, type IFormatNumberBatchOutput, type IFormulaCalculationError, type IFormulaCalculationPatch, IFormulaEngineConfig, IFormulaExecutionInput, IFormulaExecutionOutput, type IFormulaProjectionDesyncSignal, type IMaterializationCalculationStats, type IMaterializedWorkbookSnapshot, type INativeFormulaEngine, type INumberFormatAnalysis, type INumberFormatDiagnostic, type INumberFormatOptions, type IObjectArrayPrimitiveType, type IObjectMatrixPrimitiveType, type IParseNumberFormatBatchInput, type IParseNumberFormatBatchOutput, type IParseNumberFormatMatrixBatchInput, type IParseNumberFormatMatrixBatchOutput, type IParseNumberFormatMatrixCell, type IParsedNumberFormatMatrixValue, type IParsedNumberFormatValue, IRange, IRustCalculateFormulaService, IRustDefinedNameSnapshot, IRustDependencyCalculationPlanItem, IRustDependencyCalculationTree, IRustDependencyCell, IRustDependencyDirtyResult, IRustDependencyGraph, IRustDependencyNode, IRustDependencyRange, IRustEngineModelStats, IRustEngineMutation, IRustEngineSnapshot, IRustExternalFeatureCalculation, IRustExternalLinkSnapshot, IRustExternalOtherFormula, IRustExternalSheetSnapshot, IRustFormulaDataItem, IRustFormulaDependencyClearInput, IRustFormulaDependencyDirtyInput, IRustFormulaDependencyDirtyOutput, IRustFormulaDependencyExecutionOutput, IRustFormulaDependencyInspectGraph, IRustFormulaDependencyInspectNode, IRustFormulaDependencyNodeOutput, IRustFormulaDependencySyncInput, IRustFormulaDependencySyncOutput, type IRustFormulaProjectionLoadResult, type IRustFormulaProjectionMutationResult, IRustFormulaStoreState, type IRustProjectionWorkbookInput, IRustResourceSnapshot, IRustSheetSnapshot, IRustSheetState, IRustTableSnapshot, IRustVisibilityData, IRustWorkbookCalculationSnapshot, IRustWorkbookSnapshot, ISheetData, IUnitRange, type IUniverRustFormulaEngineConfig, type NumberFormatDateSystem, RUST_FORMULA_RELEVANT_MUTATIONS, RUST_INCREMENTAL_DEPENDENCY_MUTATIONS, RUST_UPSERT_PROJECTION_WORKBOOK_MUTATION_ID, RUST_UPSERT_REFERENCE_DATA_MUTATION_ID, RustCalculateFormulaService, RustEngineSyncController, RustFormulaEngineSession, RustFormulaProjectionService, UniverRustFormulaEnginePlugin, analyzeNumberFormatBatch, applyMutationOnRust, buildLexerTreeOnRust, buildRustDependencyGraphOnRust, buildSequenceNodesOnRust, checkIfAddBracketOnRust, clearRustFormulaDependenciesOnRust, clearRustFormulaDirtyOnRust, createFormulaProjectionDesyncSignal, createProjectionWorkbookUpsertMutation, disposeAllWorkbooksOnRust, disposeWorkbookOnRust, executeOnRust, formatNumberBatch, getNativeBindingSource, getRustCellOnRust, getRustDirtyDependenciesOnRust, getRustFormulaDataOnRust, getRustModelStats, getRustSheetStateOnRust, isRustFormulaRelevantMutation, isRustIncrementalDependencyMutation, loadNativeBinding, loadSnapshotOnRust, markRustFormulaDirtyOnRust, materializeWorkbookSnapshot, materializeWorkbookSnapshotOnRust, parseNumberFormatBatch, parseNumberFormatMatrixBatch, rustExecutionOutputToFormulaCalculationPatch, serializeRuntimeWorkbookSnapshot, serializeRuntimeWorkbookSnapshots, syncRustFormulaDependenciesOnRust };
package/package.json CHANGED
@@ -1,49 +1,38 @@
1
1
  {
2
- "author": "DreamNum Co., Ltd. <developer@univer.ai>",
3
- "dependencies": {
4
- "@univerjs-pro/engine-formula": "1.0.0-rc.0",
5
- "@univerjs-pro/engine-formula-rust-binding": "1.0.0-insiders.20260910-22fe9c7",
6
- "@univerjs/core": "1.0.0-rc.0",
7
- "@univerjs/engine-formula": "1.0.0-rc.0",
8
- "@univerjs/protocol": "1.0.0-rc.0"
9
- },
10
- "description": "Rust-backed formula engine plugin for Univer",
11
- "files": [
12
- "lib"
13
- ],
14
- "name": "@univerjs-pro/engine-formula-rust",
15
- "peerDependencies": {
16
- "rxjs": ">=7.0.0"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/dream-num/univer-rs"
21
- },
22
- "type": "module",
23
- "version": "1.0.0-rc.0",
24
- "main": "./lib/cjs/index.cjs",
25
- "module": "./lib/es/index.js",
26
- "types": "./lib/types/index.d.ts",
27
- "exports": {
28
- ".": {
29
- "types": "./lib/types/index.d.ts",
30
- "import": "./lib/es/index.js",
31
- "require": "./lib/cjs/index.cjs",
32
- "default": "./lib/es/index.js"
33
- }
34
- },
35
- "publishConfig": {
36
- "main": "./lib/cjs/index.cjs",
37
- "module": "./lib/es/index.js",
38
- "types": "./lib/types/index.d.ts",
39
- "exports": {
40
- ".": {
41
- "types": "./lib/types/index.d.ts",
42
- "import": "./lib/es/index.js",
43
- "require": "./lib/cjs/index.cjs",
44
- "default": "./lib/es/index.js"
45
- }
46
- },
47
- "access": "public"
2
+ "author": "DreamNum Co., Ltd. <developer@univer.ai>",
3
+ "dependencies": {
4
+ "@univerjs-pro/engine-formula": "1.0.1",
5
+ "@univerjs-pro/engine-formula-rust-binding": "1.0.1",
6
+ "@univerjs/core": "1.0.1",
7
+ "@univerjs/engine-formula": "1.0.1",
8
+ "@univerjs/protocol": "1.0.1"
9
+ },
10
+ "description": "Rust-backed formula engine plugin for Univer",
11
+ "files": [
12
+ "lib"
13
+ ],
14
+ "name": "@univerjs-pro/engine-formula-rust",
15
+ "peerDependencies": {
16
+ "rxjs": ">=7.0.0"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/dream-num/univer-rs"
21
+ },
22
+ "type": "module",
23
+ "version": "1.0.1",
24
+ "main": "./lib/cjs/index.cjs",
25
+ "module": "./lib/es/index.js",
26
+ "types": "./lib/types/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "types": "./lib/types/index.d.ts",
30
+ "import": "./lib/es/index.js",
31
+ "require": "./lib/cjs/index.cjs",
32
+ "default": "./lib/es/index.js"
48
33
  }
49
- }
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ }
38
+ }