Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(facade): facade-namespace & global addEvent #4346

Merged
merged 21 commits into from
Jan 2, 2025
11 changes: 11 additions & 0 deletions packages/core/src/facade/f-univer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ import { ICommandService } from '../services/command/command.service';
import { IUniverInstanceService } from '../services/instance/instance.service';
import { LifecycleService } from '../services/lifecycle/lifecycle.service';
import { RedoCommand, UndoCommand } from '../services/undoredo/undoredo.service';
import { DataValidationErrorStyle } from '../types/enum/data-validation-error-style';
import { DataValidationOperator } from '../types/enum/data-validation-operator';
import { DataValidationRenderMode } from '../types/enum/data-validation-render-mode';
import { DataValidationStatus } from '../types/enum/data-validation-status';
import { DataValidationType } from '../types/enum/data-validation-type';
import { Univer } from '../univer';
import { FBase } from './f-base';
import { FBlob } from './f-blob';
Expand Down Expand Up @@ -162,4 +167,10 @@ export class FUniver extends FBase {
newBlob(): FBlob {
return this._injector.createInstance(FBlob);
}

DataValidationType = DataValidationType;
DataValidationErrorStyle = DataValidationErrorStyle;
DataValidationRenderMode = DataValidationRenderMode;
DataValidationOperator = DataValidationOperator;
DataValidationStatus = DataValidationStatus;
}
Loading