@univerjs/sheets-ui
Version:
Spreadsheet UI layer for Univer Sheets.
31 lines (30 loc) • 1.36 kB
TypeScript
/**
* Copyright 2023-present DreamNum Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { ThemeService } from '@univerjs/core';
import type { Scene, SpreadsheetSkeleton } from '@univerjs/engine-render';
import type { ISelectionStyle } from '@univerjs/sheets';
export declare const RANGE_MOVE_PERMISSION_CHECK: import("@univerjs/core").IInterceptor<boolean, null>;
export declare const RANGE_FILL_PERMISSION_CHECK: import("@univerjs/core").IInterceptor<boolean, {
x: number;
y: number;
skeleton: SpreadsheetSkeleton;
scene: Scene;
}>;
export declare enum SELECTION_SHAPE_DEPTH {
FORMULA_EDITOR_SHOW = 100,// see packages/sheets-formula/src/controllers/formula-editor-show.controller.ts
MARK_SELECTION = 10000
}
export declare function genNormalSelectionStyle(themeService: ThemeService): ISelectionStyle;